Chrome, Edge, Firefox and MDN launch modern-web-guidance for coding agents
Browser vendors collaborate on a skill set that steers AI agents toward native web APIs instead of legacy JavaScript patterns.
Google Chrome, Microsoft Edge, Mozilla Firefox and MDN have released modern-web-guidance, an open-source skill package that embeds current web platform expertise directly into coding agents. The project addresses a systematic problem: LLM training data is saturated with legacy code, so agents default to verbose JavaScript even when browsers already provide native, performant solutions.
262 curated capabilities across the platform
The repository covers 262 modern web features split into three disciplines: 140 for CSS and layout, 37 for HTML and DOM, and 85 for JavaScript and APIs. Topics range from container queries, subgrid and oklch color spaces to View Transitions, the Popover API, Anchor Positioning, scheduler.yield and built-in AI APIs for translation and summarization. A second skill set, chrome-extensions, adds Manifest V3, background workers and Chrome Web Store publishing guidance.
Evaluation methodology forces agents to discover guides
The project's most valuable contribution may be its measurement approach. Prompts intentionally omit API names — agents must locate the relevant guide themselves, otherwise the task fails. Playwright-based graders verify source patterns, computed styles, runtime DOM behaviour and accessibility states. Calibration requires 100% pass rate on reference solutions and 100% failure on unmodified base applications (daily-grind and devtools-times), ensuring the metric actually discriminates.
Measured uplift across three agent CLIs
Results from 8 November show consistent gains when guides are available. codex_cli (gpt-6.1-sol) moved from 54% to 82% across 215 tasks and 1,795 checks. claude_code (opus-5-5) rose from 57% to 88% over 215 tasks and 1,801 checks. antigravity_cli (gemini-4-argon) jumped from 58% to 94% across 214 tasks and 1,673 checks. Guides are pruned based on these evals: content the models already handle correctly is removed to keep token overhead low.
Unstable APIs require explicit opt-in
Features behind Origin Trials or implemented in only one engine within the last three months appear in search results but are only returned by retrieve after the developer adds permission flags to a .mwgrc file committed to the repository. The flags allowOriginTrials and allowVolatileFeatures prevent agents from pulling experimental APIs without consent. Fallback guidance favours custom lightweight shims under 50 lines over heavy polyfills, and documents known constraints such as the 64 KB request-body quota on fetchLater() and macOS scrollbar behaviour quirks. Compatibility data is sourced from the Baseline project in real time.
Installation and zero-install trial
Run the interactive wizard with:
npx modern-web-guidance@latest installUpdates use npx modern-web-guidance@latest update. Without installing, you can search guides, retrieve a specific guide by ID, or scan a codebase for legacy patterns:
npx modern-web-guidance@latest search "animate a dialog modal backdrop"
npx modern-web-guidance@latest retrieve "animate-to-from-top-layer"
npx modern-web-guidance@latest legacy-scan .Telemetry collection and opt-out
Google collects anonymous telemetry: installation count, agent name, guide identifiers served, and agent search queries. Raw user prompts are not captured. Set DISABLE_TELEMETRY=1 to disable collection entirely.
Microsoft recently open-sourced a similar coach for auditing AI coding habits in VS Code, while Gemini 4 Argon access options expand the model landscape these agents can draw on.
Sources
Related news
- Web DevelopmentGoogle Launches Modern Web Guidance Skills for AI Coding AgentsGoogle releases a verified skill set that stops AI agents from generating outdated web patterns and deprecated APIs, with installers for Claude Code, Cursor, Copilot CLI, Antigravity, and Vercel's ski·mentions Coding
- AI ToolsJane Street Opens agent_skills With a Single Socratic Tutor SkillThe quantitative trading firm released an MIT-licensed repository containing one skill that turns an LLM into a strict Socratic tutor with diagnostics, levelled skill maps, and spaced review.·same source: github.com
- GitHub ProjectsTwo GitHub projects give coding agents design taste and structuretaste-skill adds a browser-verified design-review layer; impeccable supplies 23 commands and a deterministic slop detector for interface work.·same source: github.com
AI ToolsDeepSeek opens API access to app features and chat-demoDeepSeek has made its application's search, file handling, and voice capabilities available via API, accompanied by an open-source chat-demo client.·same source: github.com
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.