AI News
All projects
Skill

Modern Web Guidance: a skill that steers coding agents to native web APIs

A set of agent skills and a command-line tool that give coding agents current web platform guidance so they use native browser features instead of older JavaScript patterns.

modern-web-guidance by GoogleChrome · 449 points on Hacker News when we found it · added

Modern Web Guidance is a set of skills published by GoogleChrome. The README says the project is stewarded by the Chrome, Microsoft Edge, Mozilla Firefox and MDN teams. Its CLI returns targeted, expert-curated guides into an agent's context window, covering 269 modern web features across CSS, HTML, JavaScript and accessibility. The commands are search, retrieve and legacy-scan, which flags old patterns an agent could modernize. It requires Node.js 22 or later and installs through an interactive wizard run with npx.

The author writes that the 1.0 release ships more than 200 guides, about 1.7MB. The search layer was cut from a 500mb native stack to a pure-JS package of about 7MB, with searches taking roughly 10ms on a CPU. According to the post, the legacy-scan was trained on 30k GitHub repos and reaches 92% average precision on held-out repos. The team says it ran codex, claude and agy against 200 tasks with and without the skill, about 1,700 Playwright and AST-based assertions in all. Agents rose from 55% passing unguided to 92% guided.

Telemetry can be turned off with DISABLE_TELEMETRY=1. The eval figures come from the team itself. The author admits that some things they assumed AI didn't know turned out to be wrong.

In the author's words

a set of skills that embed web platform expertise, best practices, and browser compatibility data directly into your coding agents.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

When an agent keeps rebuilding a dialog or tooltip out of divs and JavaScript, a guide lookup or legacy scan can point it toward the native element. The author also says guides that models already know are pruned, which makes a useful test for any context-heavy agent skill.

Works with

codexclaudeagy

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made