Official Chrome Guidance Repository: Helping AI Coding Agents Say Goodbye to Outdated Web Code

A modern web guidance repository maintained by four browser teams has earned 27K stars, teaching AI agents to write modern code.
The "Modern Web Guidance" repository, jointly maintained by the Chrome, Edge, Firefox, and MDN teams, has earned 27,728 stars. It's neither a model nor an application, but a collection of guidelines specifically correcting AI coding agents that write outdated web code. Agent training data is filled with old code, leading them to habitually choose heavyweight JavaScript solutions when browsers already have more elegant built-in answers. With a single `npx modernwebguidance install` command, you can configure skills for mainstream agents like Claude Code, Codex, Copilot, Gemini, and Cursor, and agents retrieve relevant guidelines on demand to avoid context bloat. The guidelines cover 269 web features including dialogs, the popover API, anchor positioning, container queries, and view transitions. The project's own evaluation shows agent task pass rates jumping from about 51% to 85%-97%, but since the data is self-assessed, it should be viewed rationally. The repository requires Node 22, collects anonymous usage data but not raw prompts, and provides a legacy code scanning command.
Why Does a Single Guidance Folder Get 27,000 Stars?
With AI coding agents everywhere today, a "Modern Web Guidance" repository jointly maintained by the Chrome, Edge, Firefox, and MDN teams has racked up 27,728 stars. It's neither a model nor an application—rather, it's a collection of guidelines specifically designed to teach coding agents not to write outdated web code.
According to analysis from a YouTube channel, coding agents' training data is filled with old code, causing them to habitually reach for heavyweight JavaScript solutions when browsers already have more elegant built-in answers. This repository was born precisely to fix that mismatch.

Installation & Integration: One Command for Mainstream Agents
Usage is extremely simple: run npx modernwebguidance install to configure the corresponding skills for agents like Claude Code, Codex, Copilot, Gemini, and Cursor. Afterward, agents search for and pull only relevant guidelines based on the task at hand, avoiding the context bloat that comes with loading everything at once.
This on-demand retrieval design lets agents stay lightweight while precisely acquiring modern web development best practices.
Guideline Coverage: 269 Modern Web Features
The guidelines in the repository cover features such as dialogs, the popover API, anchor positioning, container queries, and view transitions—269 web capabilities in total. These are exactly the capabilities natively supported by modern browsers that agents often overlook.
Container queries are a CSS capability that allows elements to adjust their styles based on the size of their parent container rather than the viewport. In the past, responsive design could only rely on media queries, so components couldn't adapt across different layouts; container queries make components truly modular—the same component placed in a sidebar or main content area can automatically render different layouts.
View transitions are a browser-native API for animating page or component state changes. Through document.startViewTransition() or the CSS view-transition-name declaration, you can achieve smooth cross-state transitions without introducing an animation library. It's especially suited for route changes in single-page apps and list add/remove animations.
Anchor positioning is a new CSS feature that allows one element to be positioned relative to another "anchor" element, enabling tooltips, dropdown menus, and other floating layers to follow without JavaScript coordinate calculations. These features are gradually becoming available in modern browsers, but AI agents often continue recommending jQuery or heavyweight library solutions due to stale training data.
Evaluation Data: There's Improvement, but View It Rationally
The evaluation results published by the project show that on the public dashboard, unguided frontier models achieve a task pass rate of about 51%, while performance improves significantly after using the guidelines. In the November 20 snapshot, the pass rates of three agents jumped from the 40s and 50s range to between 85% and 97%.

It's worth noting that these evaluations were initiated by the project itself and should be treated as a claim rather than an independently verified conclusion. The channel also specifically pointed out: "Those evaluations are the project's own, so treat those numbers as a claim."

Task pass rate in such evaluations typically refers to the proportion of agent-generated code that fully meets task requirements under automated testing or human review. A public dashboard refers to a page where the project publicly displays each evaluation run's results, model versions, and task sets, making it easy for the community to track changes. It's important to distinguish that if such benchmark tests are designed by the project itself with its own task sets and scoring criteria, there may be selection bias—that is, tasks may lean toward features covered by the guidelines—so caution is needed when comparing horizontally with other independent benchmarks such as SWE-bench.
Project Background & Usage Notes
The repository was created on March 23, version 1.0.2 was released on November 23, and it has received 1,199 forks. The code uses the Apache 2 license, and the guideline content uses the CC BY 4.0 license.
For legacy projects, the repository also provides a legacy code scanning command that checks for outdated patterns in code, with agents and developers reviewing together. Before use, note that it requires a Node 22 environment and collects anonymous usage data (installation, agent name, and search queries), but not raw prompts.

The same model, the same task—the only thing changed is a guidance folder. This may reveal a low-cost path to improving AI coding quality.
One-line Summary
A modern web guidance repository maintained by four browser teams has earned 27,000 stars, teaching AI agents to write modern code.
Paragraph Summary
The "Modern Web Guidance" repository, jointly maintained by the Chrome, Edge, Firefox, and MDN teams, has earned 27,728 stars. It's neither a model nor an application, but a collection of guidelines specifically correcting AI coding agents that write outdated web code. Agent training data is filled with old code, leading them to habitually choose heavyweight JavaScript solutions when browsers already have more elegant built-in answers. With a single npx modernwebguidance install command, you can configure skills for mainstream agents like Claude Code, Codex, Copilot, Gemini, and Cursor, and agents retrieve relevant guidelines on demand to avoid context bloat. The guidelines cover 269 web features including dialogs, the popover API, anchor positioning, container queries, and view transitions. The project's own evaluation shows agent task pass rates jumping from about 51% to 85%-97%, but since the data is self-assessed, it should be viewed rationally. The repository requires Node 22, collects anonymous usage data but not raw prompts, and provides a legacy code scanning command.
Related articles

5 Skills You Must Learn Before 2027: AI and Automation Top the List
A YouTube creator lists 5 skills worth learning before 2027: AI & automation, sales negotiation, content creation, digital marketing, and Vibe Coding. This article breaks down the list's reasonableness, each skill's ROI timeline, and how to combine them into a complete chain from production to monetization.

Grok Build Update: Key Changes After Cursor's Rebranding
Grok Build update explained: Cursor rebrands on Nov 30, collaboration tools require @Build tagging from Dec 7. New standalone agent window is 3x faster, supports /import clod for settings and share-link deployment. Migration notes and OpenAI access risks.

CodeGraph: Building a Local Code Knowledge Graph for AI Coding Agents to Drastically Cut Token Usage
CodeGraph builds a local code knowledge graph for AI coding agents, cutting tool calls by 88% and saving 62% tokens and 44% cost. Supports Claude Code, Cursor, with a Rust kernel and 20+ languages.