Pranav Innovates

You commented WEB. Here’s everything from the reel.

Make Claude Code write modern web code: Google's free skill, set up in 1 minute

From @PranavInnovates (the "Comment WEB" reel, Nov 2026). Modern Web Guidance is a free, open-source skill from the Google Chrome team (stewarded with the Microsoft Edge, Mozilla Firefox and MDN teams). Before your coding agent writes web code, it looks up how today's browsers do that job, so you get the browser's own dropdowns, pop-ups and tooltips instead of piles of custom JavaScript. Repo: github.com/GoogleChrome/modern-web-guidance (Apache-2.0, 19,968 stars on 16 Nov 2026).

Install it (Claude Code, Codex, Cursor, Gemini and others)

Terminal
npx modern-web-guidance@latest install    # an interactive wizard picks your agent

Try it without installing:

Terminal
npx modern-web-guidance@latest search "animate a dialog modal backdrop"   # find a guide
npx modern-web-guidance@latest legacy-scan .                               # list old patterns in your codebase

Your prompts don't change: the agent decides when a guide applies and reads it before it writes the code.

What it changed, same prompt, Claude Code

Google runs the same prompts through Claude Code with and without the skill every night and grades the result in a real browser. These three come from the 15 Nov 2026 run (Claude Opus 5.5). I rebuilt Claude's own published code for each and counted the JavaScript.

The job Without the skill With the skill Google's checks
A branded dropdown (a roast picker in the site's brown and orange) A custom dropdown rebuilt in 74 lines of JavaScript The browser's own <select>, styled with appearance: base-select: 0 lines 0/12 → 12/12
A tooltip that flips at the screen edge 100 lines measuring the page and picking a side A popover with CSS anchor positioning that flips itself: 4 lines (they only load a fallback for old browsers) 1/10 → 9/10
A pop-up that Escape and the phone's back gesture close 115 lines of history tricks to make "back" close it A native modal <dialog> opened with command="show-modal": 4 lines (again only a fallback loader) 4/7 → 7/7

When you'd reach for it: any UI work with an agent (menus, dialogs, tooltips, forms, animations, view transitions), and before a refactor (legacy-scan). What it saves: code you'd otherwise maintain, and the keyboard and accessibility behaviour the browser gives you for free.

Prompts to try after installing

Prompt
Add a branded roast selector (light, medium, dark) to the hero; the list, arrow and checkmark in our brand colours.
Prompt
Add an info tooltip with an arrow to the first card that flips when it hits the edge of the screen.
Prompt
Open a details pop-up from each card that closes with Escape on desktop and the back gesture on phones.

The numbers (Google's eval dashboard, googlechrome.github.io/modern-web-guidance-src)

  • Claude Code, Opus 5.5, 15 Nov 2026: 56% → 93% of 1,961 checks (229 tasks, one run each).
  • Latest job per model: Claude Code 50% → 91%, Codex CLI 50% → 87%, Gemini (Antigravity CLI) 54% → 95%.
  • All agents: 52% → 92% across 1,114 tasks; automated accessibility checks 55% → 93% (not a full WCAG audit).

The catch: it's Google grading its own skill on its own tasks, one run per task. Claude took about 17% longer per task with it (median 50 s → 59 s) and used about a third more tokens. 12 of 229 tasks scored lower. The checks reward using the modern feature, so test the result in the browsers your users have.

Not sponsored. Numbers read on 16 Nov 2026; the dashboard updates nightly.