Google’s Modern Web Guidance gives coding agents current instructions for building with the web platform. Its stable 1.0 release, announced November 10, packages expert-written guides, browser compatibility data and a workflow for modernizing existing code.
The problem is familiar: ask an agent for a modal and receive a small framework for managing focus, keyboard events and overlays. The browser already supplies much of that behavior through <dialog>. Similar opportunities exist in form validation, tooltips, responsive layouts and animations.
Modern Web Guidance puts relevant documentation into the agent’s context while it works. It covers more than 200 tasks across HTML, CSS, JavaScript, accessibility, performance and security. The project lists Chrome, Edge, Firefox and MDN as stewards. This is task-specific guidance, not model fine-tuning.
Less plumbing, more browser
The project’s CLI can search for a guide, retrieve its instructions and scan a codebase for older patterns. A guide combines an implementation approach with browser-support information and fallbacks. The modernization workflow pairs syntax checks with an agent’s review of the surrounding code.
That division matters. A scan can locate a pattern; deciding whether to replace it requires knowing why it exists. A tested component, an older device or a framework constraint can justify keeping an implementation.
In the launch discussion on Hacker News, Chrome’s Paul Irish framed the benefit as maintainability:
“So I’ll take a 1-line CSS solution over 60 lines of ResizeObserver/setTimeout business.”
Smaller implementations leave less behavior to understand, review and repair. Irish also emphasized keyboard navigation and avoiding layout shifts, where the quality of the experience matters more than how modern the source looks.
Irish also clarifies that the scanner favors detectable patterns and avoids false positives: “This means it only overlaps with 20% of all the skill’s docs.” The 1.0 skill instructions document that limited coverage too. A scan with few findings leaves most of the guidance untested.
Read the benchmark narrowly
Google reports large improvements on its modern-web checks. AgentsPulse’s analysis describes a November 8 snapshot in which Codex passed 54% of checks unguided and 82% with guidance.
Those checks target gaps the guides were written to address. The project prunes advice models already follow, concentrating the test set on weaknesses. Some checks also require a particular API or CSS technique, so a working alternative can fail.
The numbers support a narrower claim: focused guidance helps agents follow those tested web practices. They cannot establish an equivalent improvement in overall application quality. AgentsPulse’s article analyzes Google’s results and exercises the CLI; it is not an independent rerun of the benchmark.
The community objection is equally concrete. In the same HN thread, sublinear writes:
“The ‘modern web primitives’ are also not even necessarily the ‘best practice’.”
The comment stresses testing across browsers and devices. Compatibility tables help make a choice, but a polished interface still needs keyboard, touch, screen-reader and layout checks on its intended platforms.
philipwalton replies that guides provide support tables for APIs outside Baseline Widely Available: “In most of these cases a cross-browser fallback is also documented.” The 1.0 instructions require those fallbacks by default, while allowing a project’s explicit browser policy to override them.
bakkoting objects to leaving that filtering to the model: “Having a prose description is not a substitute for automation”. Their concern is the repeated reasoning cost of loading advice that a fixed browser policy could exclude. Put browser targets in project instructions, then check both the primary implementation and its fallback.
Start with a bounded audit
Google’s recommended installer enables automatic updates:
npx modern-web-guidance@latest install
A practical first request keeps the scope small:
Use Modern Web Guidance to review this project’s dialogs, forms and image loading. Preserve existing tested components and browser targets. List findings and proposed changes before editing code.
Explicit invocation matters. Google’s note inc. case study reports better adherence when prompts named the guidance. It also describes the need to establish precedence for the company’s own components.
Review one change at a time. Confirm that the agent consulted the relevant guide, then test the resulting behavior in a real browser. Treat reduced JavaScript, clearer code and preserved accessibility as outcomes to demonstrate.
There is one current installation trap: Chrome warned on November 17 that Claude Code’s official marketplace copy was still pre-1.0. Follow the current first-party instructions. The repository also documents an anonymous-telemetry opt-out through DISABLE_TELEMETRY=1.
Modern Web Guidance looks useful as a technical companion to a project’s design system and tests. Its best promise is modest: help an agent notice what the browser already does, then make the resulting code earn its place.