Bright developer workspace with a laptop showing a modern website and browser devtools panel in daylight

Modern Web Guidance 1.0: Keep Your Coding Agent Up to Date With the Latest Web Best Practices

Modern Web Guidance is a set of skills that embed web platform expertise, best practices and browser compatibility data directly into coding agents, so the code an AI assistant writes follows the latest web standards instead of patterns from years ago. Version 1.0, released on 10 November 2026, ships 203 guides covering 250 web features.

Bright developer workspace with a laptop showing a modern website and browser devtools panel in daylight
Modern Web Guidance brings current web platform knowledge into your coding agent.

Key facts

  • Version: 1.0, released 10 November 2026
  • Contents: 203 guides covering 250 web features — 140 CSS & Layout, 74 JavaScript & APIs, 36 HTML & DOM
  • Six core disciplines: User Experience, CSS Layout, Performance, Forms & UI, Accessibility, Built-in AI
  • Stewards: Google Chrome, Microsoft Edge, Mozilla Firefox and MDN teams, alongside the web development community
  • Licence: Apache-2.0 (guide content CC-BY 4.0)
  • Momentum: gained 4,147 stars on 14 November 2026

Why Do Coding Agents Write Outdated Code?

Coding agents write outdated code because the large language models behind them were trained on vast amounts of legacy code. When a model has seen a JavaScript workaround a thousand times and the modern native replacement only a handful of times, it reaches for the workaround first. That is a property of training data, not a bug in any one tool, and it affects every AI coding assistant on the market.

The result is familiar to anyone who has reviewed agent-written code. A modal dialog arrives with a hand-rolled JavaScript implementation instead of the native <dialog> element. A tooltip is built from positioned divs and scroll listeners instead of anchor positioning. It works, but it is heavier, harder to maintain and often less accessible than the modern equivalent.

Even when a model knows a newer API exists, knowing is not the same as knowing how to use it well. The Modern Web Guidance project puts it plainly: models often lack the density of real-world, modern implementation patterns required for production-ready code. A passing mention in training data does not teach the edge cases, the fallbacks or the accessibility details that make a feature safe to ship.

This is the gap version 1.0 is built to close. Rather than retraining a model, it feeds targeted, expert-curated guidance into the agent’s context window at the moment it is needed. The agent still writes the code, but it writes it with current knowledge in front of it — the difference between an assistant working from memory and one working from an up-to-date handbook, as we explain in our other PantheonUK technology guides. That matters because web development has changed faster in the last few years than in the previous decade, and an agent whose knowledge stops at its training cutoff will keep solving 2026 problems with 2021 techniques.

What Is Inside Modern Web Guidance 1.0?

Modern Web Guidance 1.0 contains 203 guides covering 250 web features, organised so an agent can find exactly the guidance it needs. The largest group is CSS & Layout, with 140 features, followed by JavaScript & APIs with 74, and HTML & DOM with 36. The guides are token-efficient: the project runs evaluations and prunes content that models already know, so the agent’s context is spent on knowledge it actually lacks.

Close-up of a monitor showing modern CSS layout code beside a live website preview
Modern CSS layout features replace the JavaScript workarounds agents used to reach for.

The guides fall into six core disciplines:

  • User Experience — smooth visual states such as view transitions, entry and exit animations, parallax scroll and CSS scrollbar-color.
  • CSS Layout — container queries, subgrid, modern colour spaces like oklch, text-wrap tuning and line-height trimming.
  • Performance — instant preloading, Interaction to Next Paint (INP) diagnostics and scheduling tasks with scheduler.yield.
  • Forms & UI — anchor positioning for tooltips, the Popover API, dialogs, :user-invalid validation and auto-sizing fields.
  • Accessibility — screen reader and keyboard operability, plus content navigation and discoverability.
  • Built-in AI — local client-side models offering native translation, summarisation and language detection APIs.

Beyond the six disciplines, the collection reaches into privacy, progressive web apps, security and WebAssembly, so the guidance covers the whole surface of a modern web project rather than just its styling. Every guide also carries browser compatibility data, so the agent can tell when a feature is safe to use as-is and when it needs a sensible, lightweight fallback instead of a heavy polyfill. Modern Web Guidance does not push agents to use the newest feature at any cost — it steers them toward the modern solution where it fits, and a responsible fallback where it does not.

How Do You Install Modern Web Guidance?

Install it with one command — the interactive wizard:

npx modern-web-guidance@latest install

Two alternatives are available: npx skills add GoogleChrome/modern-web-guidance for the Skills CLI, and gh skill install GoogleChrome/modern-web-guidance for GitHub CLI users.

The project is also available in the plugin marketplaces for Antigravity, Claude Code, Copilot CLI, Codex, Cursor, WebStorm, Kimi Code and Grok Build. That breadth matters, because developers do not all use the same agent — whether yours is terminal-based or editor-integrated, the same web platform skills should be available to it.

Once installed, the skill CLI offers three commands: search, retrieve and legacy-scan. The search command finds guides relevant to a task, such as animating a dialog modal backdrop. The retrieve command fetches a single guide by its ID, such as animate-to-from-top-layer. And legacy-scan scans a codebase for legacy patterns that could be modernised, which makes it a useful first step on an existing project.

That scan is where many teams will feel the value first. Running npx modern-web-guidance@latest legacy-scan . over a project surfaces the places where old patterns are still doing jobs the platform now handles natively. It turns a vague worry — “is our codebase behind the times?” — into a concrete list. The same spirit of inspecting what is really there drives other hands-on tooling we have covered, from Rea, the tool that reverse-engineers anything to Apkstart, which runs Android apps on Windows. Re-running the install command later picks up the latest guides, keeping the agent’s knowledge current as the platform moves on.

Does It Actually Improve Code?

The evidence so far comes from the project’s own testing, and it looks encouraging. In the project’s own preview-era nightly evaluation runs, up to 8 November 2026, guided agents passed 88% of automated checks, compared with 56% for unguided agents. Those are the project’s own eval results, not independent findings — but a 32-point gap is large enough to take seriously.

The evals matter because they test the exact thing the project claims to fix. They do not measure whether an agent can write code that runs; they measure whether it writes code that follows current best practice. An unguided agent passing only 56% of checks shows the scale of the outdated-code problem. A guided agent at 88% is not perfect either — a useful reminder that guidance improves an agent but does not replace a developer’s judgement.

Web developer reviewing a responsive website on a laptop and a phone together
Guided agents build sites that work across screen sizes from the start.

The momentum around the project tells a similar story. Modern Web Guidance gained 4,147 stars on 14 November 2026 alone. Star counts are a noisy signal, but the spike shows the outdated-code problem is widely felt, not a niche complaint.

Independent evaluation would strengthen the case: third-party benchmarks and before-and-after comparisons on production codebases. Until then, install it, run legacy-scan on a real project, and judge the output yourself. The tool is free, the install takes minutes, and the quality of the suggestions is visible in the first scan.

Who Is Behind Modern Web Guidance, and Where Does the Source Live?

Modern Web Guidance is unusual because of who builds it. It is stewarded by the Google Chrome, Microsoft Edge, Mozilla Firefox and MDN teams, alongside the web development community. Browser teams are normally competitors; here they collaborate on one shared definition of good practice, which gives the guides a credibility that a single vendor’s advice would lack.

The project is split across two repositories. The published guides live in GoogleChrome/modern-web-guidance, the repository most users will install from. The code for authoring, calibrating and evaluating the guides lives in the source repository. That separation keeps the install package lean, while keeping the process open for anyone who wants to check how a guide was written or an eval scored.

Both repositories are public, and both carry the Apache-2.0 licence. If you spot a guide that is wrong, out of date or missing a fallback, the contribution path is open. For a project whose entire value depends on being current, that openness is the mechanism that keeps it current.

Team of web developers discussing a website design on a large wall screen in a modern office
The project is stewarded by the Chrome, Edge, Firefox and MDN teams.

Frequently Asked Questions

What is Modern Web Guidance?

Modern Web Guidance is a set of skills that embed web platform expertise, best practices and browser compatibility data directly into coding agents. Version 1.0, released on 10 November 2026, contains 203 guides covering 250 web features, so an AI coding agent writes code using current standards instead of legacy patterns.

How do I install Modern Web Guidance?

Run npx modern-web-guidance@latest install and follow the interactive wizard. Alternatives are npx skills add GoogleChrome/modern-web-guidance and gh skill install GoogleChrome/modern-web-guidance, and the project is also available in the plugin marketplaces for Antigravity, Claude Code, Copilot CLI, Codex, Cursor, WebStorm, Kimi Code and Grok Build.

Which coding agents does Modern Web Guidance work with?

It works with the agents in its plugin marketplace listings (Antigravity, Claude Code, Copilot CLI, Codex, Cursor, WebStorm, Kimi Code and Grok Build), plus any agent set up through the install wizard. The guides are agent-neutral, so the same web platform skills apply whichever tool you use.

What does the legacy-scan command do?

The legacy-scan command scans a codebase for legacy patterns that could be modernised — for example, JavaScript workarounds for features the web platform now provides natively. Run it with npx modern-web-guidance@latest legacy-scan . to get a concrete list of places where your code could use modern web features instead.

Is Modern Web Guidance free to use?

Yes. The code is licensed under Apache-2.0 and the guide content under CC-BY 4.0, so it is free to install, use and adapt. It is stewarded by the Chrome, Edge, Firefox and MDN teams, and both the guides and the source tooling are public on GitHub.

Conclusion

Modern Web Guidance 1.0 tackles a real and widely felt problem: coding agents that write yesterday’s code because their training data is full of it. With 203 guides covering 250 web features, an install that takes one command, and the project’s own evals showing guided agents passing 88% of checks against 56% unguided, it is one of the most practical AI coding upgrades available. Install it, run a legacy scan, and judge for yourself.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *