Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions guides/use-frontend-design-skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) <!-- renovate: source-ref=main -->
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) <!-- renovate: source-ref=main -->
Expand Down