Ad space · Your tool here
PluginStack
Rules & Prompts · by Google Chrome

Modern Web Guidance

Modern Web Guidance official site ↗

Last checked against the official docs:

What it does

A set of agent skills from the Chrome team that gives coding agents current guidance on the modern web platform: CSS layout (container queries, subgrid), view transitions and animations, popovers, dialogs and anchor positioning, form validation, performance, accessibility and the browser's built-in AI APIs, together with browser compatibility data. The goal is to steer agents away from legacy patterns and heavy polyfills toward native browser features. When a task needs it, the agent searches the guides with a small CLI and pulls only the matching guide into its context. The search runs locally, with no API key. A second skill pack covers Chrome extensions (Manifest V3, extension APIs, Chrome Web Store publishing). The project is stewarded by the Google Chrome, Microsoft Edge, Mozilla Firefox and MDN teams. Code is Apache-2.0; guide content is CC BY 4.0.

Who it's for

Developers who build websites or web apps with Claude Code, Codex, Copilot, Cursor or another skills-capable agent and want front-end code that uses current browser features instead of older workarounds.

How to set it up

  1. Run the interactive installer (the npm package needs Node.js 22 or later). Add --choose to pick which skill packs to install:

    bash
    npx modern-web-guidance@latest install
  2. Or try it without installing: search the guides, fetch one by ID, or scan a project for legacy patterns:

    bash
    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 .
  3. Claude Code plugin (from the googlechrome marketplace):

    bash
    claude plugin marketplace add GoogleChrome/modern-web-guidance
    claude plugin install modern-web-guidance@googlechrome
  4. Codex plugin:

    bash
    codex plugin marketplace add GoogleChrome/modern-web-guidance
    codex plugin add modern-web-guidance@googlechrome
  5. Other agents: npx skills add GoogleChrome/modern-web-guidance or gh skill install GoogleChrome/modern-web-guidance. If you used the installer, update later with npx modern-web-guidance@latest update.

  6. Google collects anonymous usage data (install counts, the calling agent's name, guide IDs and the search queries the agent sends; not your raw prompts). To opt out, set DISABLE_TELEMETRY=1 in your shell profile.

Check the official Modern Web Guidance docs for the latest steps.

Set it up / Fixes

Step-by-step guides for getting Modern Web Guidance running and fixing common errors.

Example prompts

prompt
Add a slide-in navigation drawer to this page using modern browser features, with a sensible fallback.
prompt
Scan this project for legacy CSS and JavaScript patterns and suggest native replacements.
prompt
Make the images on this page load faster without adding a new library.

Made Modern Web Guidance? Add the badge

If you like, show that Modern Web Guidance is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/modern-web-guidance/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/modern-web-guidance/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all Rules & Prompts on PluginStack