diff --git a/guides/use-frontend-design-skills.md b/guides/use-frontend-design-skills.md index 78a21d7..839cddd 100644 --- a/guides/use-frontend-design-skills.md +++ b/guides/use-frontend-design-skills.md @@ -41,6 +41,19 @@ code with actual line breaks, and structured settings in a suitable readable rep Preserve intentional escapes and scalar types. Do not globally replace backslash sequences or present a serialized object as the finished interface. +## Check web platform support + +When choosing or changing an HTML, CSS or browser JavaScript feature, read the +[pinned Modern Web Guidance skill](https://github.com/GoogleChrome/modern-web-guidance/blob/9eb7c2884b645e85d6da1731fcaa96f5146f01a6/skills/modern-web-guidance/SKILL.md) +and find the relevant pattern in the [published guide catalog](https://developer.chrome.com/docs/modern-web-guidance/guides). +This lookup works in a browser with no agent plugin or CLI setup. For example, when adding a +copy button, use the guide to check how to report a denied clipboard write. + +Use [Baseline](https://web.dev/baseline) to check the features the pattern uses against the +project's browser support requirements. Keep the affected task usable where a newer feature +needs a fallback. Verify the behavior and any fallback in the relevant browsers using the +[frontend testing standard](../conventions/frontend-testing.md). + ## Critique and adapt Use [Impeccable](https://github.com/pbakaus/impeccable/blob/d0a9235405a0e7878f6dc674679806d580fd5d8e/.agents/skills/impeccable/SKILL.md)