Table of Contents
ToggleGoogle Modern Web Guidance: Free Skills That Keep AI-Built Websites Up to Date
Modern Web Guidance is a free set of instructions that teaches AI coding agents to build websites with current browser features instead of outdated code. Google’s Chrome team created it, and Microsoft Edge, Mozilla Firefox, and MDN Web Docs now help maintain it. Version 1.0 was released on November 10, 2026, after an early preview at Google I/O in May. If your team builds or edits websites with tools such as Claude Code, GitHub Copilot, Cursor, Codex, or Google’s Antigravity, it’s worth knowing what this does and where its limits are.
| Detail | What to know |
| What it is | A set of skills (packaged guides) that AI coding agents read while writing code |
| Who maintains it | Google Chrome, Microsoft Edge, Mozilla, and independent web experts |
| Cost | Free |
| Size | More than 200 guides covering hundreds of common tasks |
| Main focus | Accessibility, performance, security, HTML, CSS, and forms |
| Install command | npx modern-web-guidance@latest install |
| Works with | Claude Code, GitHub Copilot, Cursor, Codex, Antigravity, WebStorm, and other agents |
Why AI Coding Tools Write Outdated Code
AI models learn from huge archives of existing code. Most of that code is years old. In the Chrome team’s words, ten years of legacy code far outweighs the last twelve months. So when you ask an AI agent to build a pop-up window, a dropdown menu, or an animated panel, it often reaches for the patterns it has seen most, which are usually the older ones.
The result is code that works but is heavier and harder to maintain than it needs to be. A common example is a custom dropdown built from scratch with JavaScript. Browsers can now style the standard dropdown directly with a few lines of CSS. When the Chrome team tested AI agents on custom dropdown tasks, unguided agents scored 44%, and their homemade versions dropped labels, keyboard navigation, and form submission. With the guidance installed, the score rose to 92%.
The same pattern shows up across many tasks. Features that once needed a JavaScript library, such as tooltips, focus traps, and opening and closing animations, now work natively in the browser. Older approaches can also hurt users in quieter ways. Content hidden with a common CSS trick, for example, can’t be found with the browser’s find-in-page search, while the modern approach keeps it searchable.
Agencies that build sites with AI have dealt with this by writing their own rules for the agent to follow. That works, but someone has to keep those rules current as browsers change. Modern Web Guidance moves that job to the browser makers themselves.
How Modern Web Guidance Works
The guidance comes as a skill. In AI coding tools, a skill is a package of instructions that an agent can look up when a task calls for it. The agent doesn’t read all 200 guides every time. When you ask it to build a modal window, for example, it finds the guide on modal windows and follows that advice.
Each guide includes browser support information based on Baseline, a system that tells developers how widely a web feature works across major browsers. Baseline has three levels. “Limited availability” means not all major browsers support the feature yet. “Newly available” means it works in all major browsers. “Widely available” means it has worked across them for at least 30 months. You can tell the agent which level your project should target, and it will add fallbacks for older browsers where needed.
The guides cover four main areas:
- Building new interface elements, such as tabs, accordions, menus, and dashboard cards.
- Updating old code, for example replacing a custom modal script with the browser’s built-in dialog element.
- Security, including passkey logins and a basic Content Security Policy.
- Performance, including faster page loads and fixes for slow interactions.
At the end of a response, the agent lists which guides it applied, which browser features it used, and which rules shaped its choices. That makes it easier for a developer to review the work.
Version 1.0 also added a legacy scan. It reviews a project’s HTML, CSS, JavaScript, and package.json files, flags code that can be safely updated, and walks the agent through the changes. The scan uses static analysis, which means it reads code patterns without running the site, so it only catches a limited set of issues for now.
How to Install It
Installation takes one command. In your project folder, run npx modern-web-guidance@latest install. This works with most popular coding agents. If you installed an earlier preview, npx modern-web-guidance@latest update brings it up to date.
Several tools also offer it through their own plugin marketplaces. In Claude Code, you add it with claude plugin marketplace add GoogleChrome/modern-web-guidance, then claude plugin install modern-web-guidance@googlechrome. GitHub Copilot CLI uses the same two commands with a slash in front. Antigravity CLI uses agy plugin install followed by the project’s GitHub address.
Once it’s installed, you don’t need to change how you write prompts. The agent decides when a guide is relevant. To start a full review of an older project, you can type /modern-web-guidance Modernize the code in this directory in your agent.
You can also browse the guides without an agent. The command npx modern-web-guidance@latest list shows every guide, and the search command finds guides by topic, for example “animate a dialog modal backdrop.” Google suggests using this as a learning tool, since the guides explain why a modern approach is better and not just how to write it.
What the Test Results Show
Google runs a public dashboard that tests coding agents from Anthropic, OpenAI, and Google every night on the same tasks, with and without the guidance. The prompts don’t mention the guidance, so each agent has to decide on its own when to use a guide. A real browser then checks the finished pages.
In runs completed on November 8, 2026, guided agents passed 88% of the automated checks, compared with 56% without the guidance. Across nearly 1,000 test runs, Google reports that frontier models pass about 60% of its modern web checks on their own and roughly 80% to 90% with the guidance.
Outside companies have published early results too. MetaMask, the crypto wallet company, runs the guidance as an automated reviewer on code changes to its browser extension. In its first five weeks, the bot flagged 102 issues across 57 pull requests, meaning proposed code changes. Developers fully fixed 43 of them, and 16 were declined or turned out to be false alarms.
Limitations to Keep in Mind
The guidance improves AI-written code, but it doesn’t replace a skilled developer reviewing the work. There are a few caveats worth knowing.
Most published results come from Google’s own tests or from companies working with Google. The accessibility checks on the dashboard are limited and, according to the dashboard itself, are not a full WCAG audit. WCAG is the international standard for web accessibility. An accessibility consultant who tested the May preview reported that the output didn’t fully meet WCAG and that an animation failed in Firefox. Those tests used the preview, not version 1.0, but they’re a reminder to test accessibility properly.
In most recent test suites, guided runs were slower and used more tokens, which are the units AI tools use to measure and bill usage. On paid plans, that can mean slightly higher costs. The legacy scan also covers only a limited set of patterns for now, though Google plans to expand it.
Governance is shared, but not across every browser maker. The project has six owner seats: two for Chrome, one each for Edge and Mozilla, and two for independent web experts, one of which is still open. Apple, which makes Safari, doesn’t hold a seat.
Why It Matters for Business Websites and SEO
Two of the areas the guidance focuses on, performance and accessibility, directly affect how a website performs in search and for visitors. Largest Contentful Paint (LCP) measures how quickly the main content of a page appears. Interaction to Next Paint (INP) measures how quickly a page responds when someone clicks or taps. Both are part of Core Web Vitals, the measurements Google uses to judge page experience. Google tests code generated with the guidance on pages measured for LCP, INP, and accessibility.
For a business, the practical benefit is cleaner code with fewer heavy scripts, which usually means faster pages and fewer problems for visitors using keyboards or screen readers. It also lowers the cost of building custom websites with AI, since teams no longer need to write and maintain their own rule sets for modern web standards.
If your team already uses an AI coding agent, installing the guidance is a low-effort step. Run the install command, set your browser support target in the project’s AGENTS.md or CLAUDE.md file, and ask the agent to review an existing page before you make changes. Keep testing the results in more than one browser and with real accessibility tools, since the guidance raises the floor but doesn’t guarantee a perfect result.


