Modern Web Guidance 1.0 Teaches AI Coding Agents the Modern Web

Share

AI coding agents are fast, but they often write web code from the past. Ask one for a pop-up menu or a smooth page animation and it may reach for a pile of JavaScript when the browser now does the job in a few lines of HTML or CSS. Chrome’s answer is Modern Web Guidance, and version 1.0 arrived on November 10, as announced on the Chrome for Developers blog. This release also turns it into a shared project, with Firefox and Edge joining Chrome.

Key Takeaways: Modern Web Guidance 1.0
What it is: a free, open-source set of skills that feeds your AI coding agent expert guides on modern HTML, CSS and JavaScript, plus browser support data.
What is new in 1.0: 203 guides covering 250 web features, a scanner that finds outdated code in existing projects, and expert review of every guide.
Who is behind it: Chrome built it, and the project is now stewarded by the Chrome, Microsoft Edge, Mozilla Firefox and MDN teams.
Does it help: Google’s tests show agents without it pass about 50% of checks, and around 90% with it.
Where it works: one npx command, or plugin installs for Antigravity, Claude Code, Copilot CLI and other agents.

1. The problem: AI agents learned from old code

Old habits: AI models learn from huge amounts of existing code, and much of the web’s code was written years ago. As the project’s GitHub page puts it, agents often default to older patterns and generate bloated JavaScript for tasks that now have native browser solutions.

It still works, but: Chrome’s Philip Walton says frontier models can usually produce something that works, yet a web expert can almost always find ways to make it faster, more accessible or more secure.

The numbers: in a follow-up post on November 11, Chrome says coding agents without the guidance pass only about 50% of the checks in its test suite, compared to around 90% when Modern Web Guidance is used. Common misses include keyboard focus, reduced-motion support, form validation and strict security settings.

2. What Modern Web Guidance actually is

A set of agent skills: it is a package of skills and a small command-line tool. When your agent needs to build something, like a dialog, a tooltip or a login flow, it searches the guides and pulls the right one into its context. The search runs fully offline.

Built on Baseline: each guide has browser support data built in, so the agent can match its advice to the browsers your project needs to support.

Useful for humans too: Chrome says many developers read the guides themselves to learn new web features. You can also try the tool without installing anything, using the search command from the GitHub page.

3. What is new in version 1.0

Out of preview: Chrome showed an early preview at Google I/O in May. Version 1.0 is the stable release, with 203 use-case guides covering 250 web platform features.

Modernization scanner: a new workflow scans your existing HTML, CSS, JavaScript and package.json for outdated patterns, then guides the agent through safe upgrades. For now it only covers about 20% of the guides, the ones where old code can be spotted reliably.

Expert review: every guide is now signed off by a tech lead for its area, and guides for user-facing features got a dedicated accessibility review.

Public test results: a new eval dashboard shows how much each agent and guide improves with the guidance switched on.

4. Edge, Firefox and MDN are on board

A cross-browser project: with 1.0, the project is now stewarded by the Google Chrome, Microsoft Edge, Mozilla Firefox and MDN teams, alongside the wider web community. Chrome says Firefox and Edge are joining to support the project, improve cross-browser compatibility and contribute.

Why that matters: advice backed by several browser makers is more likely to work everywhere, not just in Chrome. We could not find separate announcement posts from Microsoft or Mozilla yet, so this comes from Chrome’s post and the project’s GitHub page.

5. Watch: what is Modern Web Guidance?

Chrome for Developers posted a short overview on November 10. It explains why agents reach for heavy JavaScript libraries instead of built-in browser features, and how the guidance adapts its advice to your Baseline browser target.

“What is Modern Web Guidance?” from the Chrome for Developers YouTube channel (6:52). Watch on YouTube

6. How to install it in your AI coding agent

Before you start: the npx commands need Node.js 22 or newer (per the package’s npm listing). Run them from your project folder. The plugin commands run inside each agent instead. Every command below is copied from Chrome’s official install page unless the card says otherwise.

Google’s agent

Google Antigravity

Antigravity is Google’s own coding agent, and it is the one we would start with. Install the plugin from the Antigravity CLI:

agy plugin install https://github.com/GoogleChrome/modern-web-guidance
Recommended

Any agent: the official installer

Chrome’s recommended route. It runs an interactive wizard that walks you through the install:

npx modern-web-guidance@latest install
Plugin

Claude Code

Install it from the official Claude Code plugins:

claude plugin install modern-web-guidance@claude-plugins-official
Plugin

GitHub Copilot CLI

Two steps inside Copilot CLI: add the marketplace, then install the plugin:

# 1. Add the marketplace:
/plugin marketplace add GoogleChrome/modern-web-guidance
# 2. Install the plugin
/plugin install modern-web-guidance@googlechrome
Skills

Vercel Agent Skills (npx skills)

Adds it to your project with Vercel’s Agent Skills tool:

npx skills add GoogleChrome/modern-web-guidance
From the GitHub page

GitHub CLI

Listed as an alternative install method on the project’s GitHub page:

gh skill install GoogleChrome/modern-web-guidance
Update

Already on a preview version?

If you installed an early preview, this command from Chrome’s blog post updates you to 1.0:

npx modern-web-guidance@latest update

Other agents: Chrome’s blog says you can also install it from the plugin marketplaces of Codex, Cursor, WebStorm, Kimi Code and Grok Build. Chrome does not list a command for those, so search for Modern Web Guidance in the agent’s plugin marketplace.

Try it on old code: once it is installed, you can ask your agent to run the modernization workflow on a folder, using the prompt from Chrome’s post:

/modern-web-guidance Modernize the code in this directory
Logos of coding agents that offer Modern Web Guidance: Codex, Cursor, Kimi, Google Antigravity, Grok, WebStorm and GitHub Copilot
Modern Web Guidance is in the plugin marketplaces of many popular coding agents. Image: Google

What it means on a Chromebook or Googlebook

Use the Linux terminal: the npx installer is a Node.js tool, so on a Chromebook you would run it in the Linux development environment after installing Node.js 22 or newer.

Antigravity users: if you already use Antigravity, the plugin route is the simplest. Google recently gave Antigravity a plugin marketplace, and Modern Web Guidance is a good first plugin to add.

Our take

This is a genuinely useful release for anyone building websites with AI. It is free, it works with the agent you already use, and it tackles a real problem: AI agents writing code that works but ignores what browsers can now do. Having Edge, Firefox and MDN involved makes it feel less like a Chrome project and more like a shared effort for the whole web. If you build sites with an AI agent, install it. Even if you only use Antigravity’s new Knowledge Work mode for everyday tasks, it is worth knowing Google is putting this much effort into making agent-written code better.


Discover more from Chrome Geek

Subscribe to get the latest posts sent to your email.

Sophie is a Chicago-based editor for Chrome Geek covering Chromebooks, Gemini, and the Google ecosystem. When she is offline, you can usually find her watching Blackhawks hockey or grabbing iced coffee in the city.