modern-web-guidance (GoogleChrome/modern-web-guidance)

best-practices
Searching Database…

What is this?A set of skills that give your coding agent current web platform best practices and browser compatibility data, so it stops writing legacy patterns and uses modern browser APIs instead.
Is it a library I import, or a tool I install?Neither exactly. It is a skill plus a CLI that pushes expert-curated guidelines into your agent's context window, so the agent reads them while writing code.
How do I get it running?Run the install command from the Quickstart. It starts an interactive wizard that installs the guidance for you; other installation methods are described separately in the README.
Does it cover every web feature, or only a curated set?Only a curated set of about 250 features across CSS, HTML, JavaScript APIs, forms, performance and accessibility. Content that models already know is pruned out to keep token use low.
Is it tied to one browser vendor?No. It is stewarded jointly by the Chrome, Edge, Firefox and MDN teams together with the web development community, so the guidance is meant to be browser-neutral.
What problem does it fix for coding agents?Agents often default to older patterns because their training data is full of legacy code, which leads to bloated JavaScript where native web APIs already exist.
Which areas does the guidance cover?CSS layout, HTML and DOM, JavaScript APIs, forms and UI, performance, accessibility, and built-in AI APIs such as the Translator, Summarizer, Language Detector and LanguageModel APIs.
Can I check how well the guidance works?Yes, there is an Eval Dashboard, and the authors use evals to decide which content to keep or prune.
Size
2.7 MB
Stars
29.2K
Age
8mo
Commits · 90 Days