Last week’s pick from Week 47, 2026. Stats and links are as of 2026-11-16. See this week’s repo →

Repo of the Week · Week 47, 2026

Modern Web Guidance: stop your coding agent writing old web code

A free add-on from the browser makers that teaches your AI coding agent today's web features, so it stops writing heavy old-style code.

What’s a repo?A repo is a project’s code folder on GitHub, free to download. GoogleChrome/modern-web-guidance on GitHub

⭐ 18.4k starsFree · Apache-2.0Claude Code, Codex, Copilot CLI and more

Free agent skills from the Chrome, Edge, Firefox and MDN teams. Your coding agent looks up a short, tested guide before it writes HTML, CSS or JavaScript, so it uses what browsers support today.

Stars
18.4k
Forks
702
npm / week
220.9k
Latest
v1.0.0

JavaScript · Created Mar 23, 2026 · Last push Nov 10, 2026 · ~76 contributors

💡

What it is

AI coding agents learned the web from years of old code, so they often build things the long way, with extra JavaScript the browser no longer needs. This add-on gives the agent a short, tested guide for the task before it writes code. Chrome's own tests say agents pass about half of their checks without it and about 90% with it.

🧑‍💻

Who it’s for

Anyone who builds websites or web apps with a coding agent (Claude Code, Codex, Copilot CLI, Antigravity, Grok Build and others), from beginners to front-end teams that want accessible, fast pages without reviewing every line by hand.

🧰

What you need

Node.js 22 or newer and a coding agent that supports skills or plugins. One command installs it in your project. It is free, and its search runs offline.

Why it’s trending

Created Mar 23, 2026, it now has 18,426 stars and 702 forks (GitHub API, Nov 16, 2026). On X, 1,127 original posts mentioned Modern Web Guidance in the past 7 days, not counting Google Chrome and its staff; the 56 we read came from 55 different people. Here’s what people are sharing:

  • Official

    Chrome for Developers: 48 hours after the 1.0 launch, Modern Web Guidance is the No. 1 trending repo on GitHub. 3,750 likes, 272 reposts.

    @ChromiumDev · Nov 12, 2026 ↗
  • Official

    An X article, 'Modern Web Guidance: Everything You Need to Know', announcing that 1.0 is stable. 2,909 likes, 289 reposts and 3,610 bookmarks.

    @ChromiumDev · Nov 13, 2026 ↗
  • Reaction

    Calls it a step toward getting browser makers and web developers to steer AI coding agents to modern techniques, and notes the No. 1 trending spot (in Arabic). 277 likes, 28 reposts.

    @EngMoElgaraihy · Nov 13, 2026 ↗
  • Reaction

    Points to MetaMask running it as a review bot on every pull request: about 480 PRs in 5 weeks led to 43 fixes. 49 likes.

    @RRweb3 · Nov 14, 2026 ↗
  • Caution

    Ran legacy-scan on an old jQuery-style app and got 1 of 20 legacy patterns flagged. Also saw every search the agent ran queued for Google's logging endpoint (telemetry is on by default). 15 likes, 15 replies.

    @theomlondhe · Nov 11, 2026 ↗
  • Caution

    Warns that a week of npm downloads is not the number of developers: repeat downloads, CI runs and npx all count.

    @xingyuwang · Nov 14, 2026 ↗
  • Reaction

    Likes that the scanner dropped rules such as rewriting working sibling selectors into :has(): a scan that churns working CSS gets uninstalled.

    @RusticStack · Nov 13, 2026 ↗
  • Concern

    Can teams set their own browser targets?

    @doggodcrypto · Nov 13, 2026 ↗
  • Concern

    Does 1.0 have rules for when agents should prefer native CSS and HTML over polyfills when browser support is mixed?

    @rajpundkar · Nov 13, 2026 ↗
  • Concern

    Does legacy-scan actually fix messy agent code, or just point it out?

    @BoyC338 · Nov 13, 2026 ↗

X counts: X API recent counts and search, 2026-11-09 to 2026-11-16 (original posts (no reposts or replies) mentioning modern-web-guidance or Modern Web Guidance from 2026-11-09 06:45 UTC to 2026-11-16 06:35 UTC, not counting @ChromiumDev, @ChromeDevTools, @googlechrome and three Chrome team members; 1,136 with them and 3,361 counting replies and reposts. Likes are concentrated: in our 56-post sample (55 accounts, 7,074 likes), two @ChromiumDev posts hold 6,659 likes; the top post by someone outside Chrome got 277 likes. Next this week: meta/astryx (615 posts, but the top posts we read got 6 likes or fewer, mostly trending bots), openai/codex-security (338 posts), milind-soni/OpenMausBot (291), backnotprop/plannotator (233), google/elephant-goldfish-model (205, top post 25 likes)). npm reported 220,855 downloads for 2026-11-09 to 2026-11-15; a download count, not a user count: npx runs, CI jobs and repeat installs all count. Daily downloads rose from 16,319 on Nov 9 to 37,441 on Nov 15 (npm API).

What it does

Modern Web Guidance is a set of agent skills plus a small command-line tool. When your coding agent works on a web task, the skill tells it to search a local library of about 200 short guides and load the one that fits, such as an animated dialog, an accordion or a passkey login. Each guide has the modern HTML, CSS or JavaScript pattern, known gotchas, browser support data from Baseline and a light fallback for older browsers. Search runs on your machine with no API key. Version 1.0 adds legacy-scan, which looks through existing code for old patterns. It installs into Claude Code, OpenAI Codex, GitHub Copilot CLI, Google Antigravity, Grok Build and other agents.

Guides for the task at hand

The agent searches about 200 guides and loads only the one it needs, such as a dialog, carousel, tabs, dark mode or a passkey sign-in, so it spends few tokens

Browser support built in

Each guide carries Baseline data. Features that work everywhere are used directly; newer ones come with a small fallback for browsers that lack them

Finds old code

legacy-scan reads HTML, CSS, JS/TS and package.json locally, with no AI calls, and points each old pattern to its modern guide

Reviewed by experts

Every guide is signed off by a domain lead, and the user-facing ones were tested with real assistive technology by accessibility experts

Results you can check

A public eval dashboard compares agents with and without the skill on the same tasks: for example, Claude Code with Opus 5.5 went from 57% to 88% on Nov 8

Safe with new features

Origin Trial and brand-new single-engine features are hidden from retrieve until you opt in with a .mwgrc file

What people built with it

MetaMask
A MetaMask UX engineer set up a bot that reviews every pull request to the open-source extension with Modern Web Guidance. Across about 480 PRs it led to 43 accessibility and semantic HTML fixes, with a 15-minute median turnaround.
PR review botOfficial showcaseSource ↗
WeTV
Tencent's WeTV added Chrome DevTools for agents and Modern Web Guidance to CI/CD. The agent now fixes 90% of failed performance checks on its own, and a fix takes 30 minutes instead of about four hours.
Performance fixesOfficial showcaseSource ↗
note inc.
Japan's note combined it with rules for its own React component library in a Next.js codebase. Modern web check pass rates went from 61% to 94%.
Design systemOfficial showcaseSource ↗
@theomlondhe
Ran legacy-scan on an old jQuery-style app: it flagged 1 of 20 legacy patterns. Also checked what the CLI sends to Google by default.
@themuscleai
Build log: ran the three free commands (search, retrieve, legacy-scan) in about 10 minutes without installing anything.
@Goitonthefloor
Using it to polish the interface of a new local LLM tool, to judge whether it is worth keeping.

Official showcases are case studies on Chrome's blog (published Nov 10, 2026); results there are reported by Chrome and its partners. First-hand posts are from their authors on X (found via the X API, Nov 16, 2026); few include measured results yet.

How to use it

  1. Check Node.js

    node --version

    You need version 22 or newer. If it is older, install the current LTS from nodejs.org.

  2. Try it without installing

    Search the guides the same way your agent will:

    npx modern-web-guidance@latest search "animate a dialog modal backdrop"

    Then open one guide by its ID with npx modern-web-guidance@latest retrieve "animate-to-from-top-layer".

  3. Install it in your project

    Run this from your project folder. A short wizard asks which agent you use:

    npx modern-web-guidance@latest install
  4. Ask your agent as usual

    You don't need to name the tool. Ask for the web feature you want and the agent looks up the right guide first. To clean up an older project, try:

    Prompt
    Modernize this repository using Modern Web Guidance. Scan our frontend files for legacy patterns, verify the findings, and propose a modernization plan before making any code edits.

    This prompt is from Chrome's modernization docs. The plan comes first, so nothing changes until you approve it.

  5. Keep it up to date

    npx modern-web-guidance@latest update

    Installed through your agent's plugin marketplace instead? Update it there.

Prerequisites
  • Node.js 22 or newer (npm package engines field)
  • A coding agent that loads skills or plugins: Claude Code, OpenAI Codex, GitHub Copilot CLI, Google Antigravity, Grok Build CLI or Kimi Code, or any agent through npx skills or gh skill (README)
  • Run the install from your project folder (Chrome announcement)
  • No API key: search and retrieval run offline on your machine (README)
  • Free. Code is Apache-2.0 and the guides are CC-BY 4.0 (README)
  • Anonymous usage data is sent to Google unless you set DISABLE_TELEMETRY=1 (README)

Commands from the official README, modernization workflow docs, cross-browser post and v1.0.0 release notes, checked Nov 16, 2026.

Before you start

  • Most of the likes went to Chrome's own posts: in our sample, two @ChromiumDev posts hold 6,659 of 7,074 likes. Outside Chrome, the busiest post got 277 likes.
  • The 50% to 90% improvement comes from Chrome's own evals. The dashboard is public, but few independent tests have been posted yet.
  • Telemetry is on by default and includes the search queries your agent writes. Set DISABLE_TELEMETRY=1 to opt out.
  • legacy-scan covers about 20% of the guides. One user's test on an old jQuery-style app flagged 1 of 20 old patterns.
  • The partner results (MetaMask, WeTV, note) are case studies published by Chrome, not independent audits.
  • npm downloads (220,855 last week) include npx runs and CI jobs, so they are not a count of users.

FAQ

What is Modern Web Guidance?

Modern Web Guidance is a set of agent skills plus a small command-line tool. When your coding agent works on a web task, the skill tells it to search a local library of about 200 short guides and load the one that fits, such as an animated dialog, an accordion or a passkey login. Each guide has the modern HTML, CSS or JavaScript pattern, known gotchas, browser support data from Baseline and a light fallback for older browsers. Search runs on your machine with no API key. Version 1.0 adds legacy-scan, which looks through existing code for old patterns. It installs into Claude Code, OpenAI Codex, GitHub Copilot CLI, Google Antigravity, Grok Build and other agents.

Is it free?

Yes. The code is Apache-2.0 and the guide text is CC-BY 4.0. It needs no API key; search runs offline on your machine. Your coding agent's own model costs still apply.

Which coding agents does it work with?

The README gives install steps for Claude Code, OpenAI Codex, GitHub Copilot CLI, Google Antigravity, Grok Build CLI and Kimi Code, plus the generic npx skills and gh skill installers. Chrome says it is meant for any model or agent harness.

Does it really make the code better?

Chrome's own evals say unguided agents pass about 50% of their checks and about 90% with the skill. The README lists Nov 8 runs: Claude Code with Opus 5.5 went from 57% to 88%, Codex CLI with GPT-6.1 Sol from 54% to 82%, and Antigravity with Gemini 4 Argon from 58% to 94%. These are Chrome's tests, published on a public dashboard; independent results are still few.

Can my team set its own browser targets?

Yes. People asked this under Chrome's post. By default it uses Baseline: features that work in all major browsers go in directly, newer ones get a fallback. Write your own policy, such as a Baseline year or no polyfills, in AGENTS.md or CLAUDE.md, and the agent follows it (Chrome's cross-browser post, checked 2026-11-16).

Does legacy-scan fix old code by itself?

No. Lots of people asked this too. The scan only finds and labels old patterns, locally and with no AI calls. Your agent then checks each finding, writes a plan and changes code when you ask. It covers about 20% of the guides today.

What data does it send to Google?

By default: install counts, the calling agent's name, the guide IDs it retrieves and the search queries your agent writes. Your raw prompts are not collected. Set DISABLE_TELEMETRY=1 to turn it off.

Why are there two repos?

GoogleChrome/modern-web-guidance is what you install. GoogleChrome/modern-web-guidance-src is where the guides, the scanner and the evals are built, and where you file issues. The source repo is the one on GitHub's daily Trending list.

How is the Repo of the Week picked?

We feature the GitHub repo most talked about on X that week in AI and vibe coding, counted by distinct authors and engagement, and cross-checked against GitHub Trending. Stats come from the GitHub API and are dated. Modern Web Guidance was checked 2026-11-16.

All weeks

Every pick stays here with its own page. Newest on top.

  1. Week 48, 2026This week

    ffmpeg-skill: let your coding agent edit your videos

    A free add-on that turns Claude Code, Cursor or Codex into a video editor that works on your own computer.

    kajisho5/ffmpeg-skill★ 9.9k (at feature time)MITOpen week page →
  2. Week 47, 2026Last week

    Modern Web Guidance: stop your coding agent writing old web code

    A free add-on from the browser makers that teaches your AI coding agent today's web features, so it stops writing heavy old-style code.

    GoogleChrome/modern-web-guidance★ 18.4k (at feature time)Apache-2.0Open week page →
  3. Week 46, 20262 weeks ago

    Auto Ontology: teach your AI agent what your company data means

    A free NVIDIA tool that teaches AI agents what your company data means, so they stop grabbing the wrong revenue column.

    NVIDIA/auto-ontology★ 10.6k (at feature time)Apache-2.0Open week page →
  4. Week 45, 20263 weeks ago

    T3 Code: run your coding agents from one app, on any device

    A free app that runs Claude Code, Codex and other coding agents on your computer and lets you steer them from your phone, browser or desktop.

    pingdotgg/t3code★ 38.8k (at feature time)MITOpen week page →
  5. Week 44, 20264 weeks ago

    Security Audit Skill: Cloudflare's security audit for your coding agent

    A free add-on that makes your AI coding agent check your code for security holes, with a second agent double-checking every finding.

    cloudflare/security-audit-skill★ 47.4k (at feature time)MITOpen week page →
  6. Week 43, 20265 weeks ago

    HyperFrames: write HTML, render video

    A free tool that lets your AI coding agent make real videos by writing a web page.

    heygen-com/hyperframes★ 67k (at feature time)Apache-2.0Open week page →
  7. Week 42, 20266 weeks ago

    REA: Reverse Engineer Anything

    A free tool that lets your AI coding agent take apart any app to see how it works.

    morluto/rea★ 292.8k (at feature time)MITOpen week page →

The weekly diff

What changed in AI coding plans: prices, limits, resets. There's no email list: follow on X or subscribe to an RSS feed.

Follow @QuietlyByG on X What’s New RSSLimit & reset changes

No email form, so we don't collect any email addresses.