Google Chrome teams release Modern Web Guidance for coding agents
Product updatePublished: Source: Hacker News (100+ points)
TL;DR:Google Chrome, Microsoft Edge, Mozilla Firefox, and MDN teams are stewarding Modern Web Guidance, a CLI tool that supplies coding agents with expert-curated guidance on modern web APIs and practices.
Google Chrome, Microsoft Edge, Mozilla Firefox, and MDN teams are stewarding Modern Web Guidance, a CLI tool that supplies coding agents with expert-curated guidance on modern web APIs and practices. It includes 277 web features and 209 developer use cases, with commands to search and retrieve guides or scan a codebase for legacy patterns. Installation requires Node.js 22 or later.
Key points
- The project is stewarded by Google Chrome, Microsoft Edge, Mozilla Firefox, and MDN teams, alongside the web development community.
- It catalogs 277 modern web features and 209 practical developer use cases, including CSS, HTML, JavaScript APIs, accessibility, and browser-based AI.
- Its CLI can search guidance, retrieve a guide by ID, and scan a codebase for legacy patterns.
- The install command is `npx modern-web-guidance@latest install`; Node.js 22 or later is required.
Why it matters
Developers can give coding agents current, browser-aware implementation patterns instead of relying on older conventions, and can use the legacy scan to identify modernization opportunities in existing codebases.
Companies and models mentioned
- Modern Web Guidance
- Google Chrome
- Microsoft Edge
- Mozilla Firefox
- MDN