Prompt & Done · MODERNWEB

Modern Web Guidance: let the browser do the work your AI hand-codes

A free skill + command-line tool from the Chrome team (stewarded with the Edge, Firefox and MDN teams; code Apache-2.0, guides CC BY 4.0). Your coding agent looks up how to build a UI piece with what browsers now do natively before it writes its own JavaScript.

Tested 12 Nov 2026: Claude Code 2.1.322 with Opus 5.5, same prompt twice (plain, then with the skill loaded), JavaScript-off check in Chromium 153.

1 Install

npx modern-web-guidance@latest install

An interactive wizard. In Claude Code you can also add it as a plugin:

/plugin marketplace add GoogleChrome/modern-web-guidance
/plugin install modern-web-guidance@googlechrome

Try it without installing: npx modern-web-guidance@latest search "light dismiss dialog". Scan an existing project: npx modern-web-guidance@latest legacy-scan .

The CLI sends anonymous usage data (search queries, guide IDs) to Google; opt out with export DISABLE_TELEMETRY=1.

2 What we ran and what happened

Prompt: a one-page coffee-subscription landing site with a signup modal (closes on Esc and outside click), a price tooltip, an FAQ and a testimonial carousel.

3 Browser support (from the guides' Baseline data, 12 Nov 2026)

Invoker commands (commandfor): all major browsers. <dialog closedby>: Chrome, Edge, Firefox; not Safari. popover="hint": Chrome, Edge, Firefox; not Safari. Hover tooltips with interestfor: Chrome and Edge only. Elsewhere the skill had Claude add small JavaScript fallbacks.

github.com/GoogleChrome/modern-web-guidance · developer.chrome.com/docs/modern-web-guidance

Narration built with Fish Audio.