GoogleChrome/modern-web-guidance
Keep your coding agent up to date with the latest web best practices
🌐 Modern Web Guidance: Equip Your Coding Agent with Modern Web Expertise
From bloated JavaScript to native browser APIs — this skill set shows agents the modern way.
Modern Web Guidance is a set of skills stewarded by Google Chrome, Microsoft Edge, Mozilla Firefox, MDN, and the web community. It embeds up-to-date web platform expertise directly into coding agents, helping them avoid legacy patterns and use modern browser APIs.
✨ Highlights
- Interactive CLI:
npx modern-web-guidance installruns a wizard, whilesearch,retrieve, andlegacy-scanlet you query guides and audit codebases. - Modern Browser APIs: Curated guides cover View Transitions, Popover API, Anchor Positioning, and more, ensuring correct usage.
- Performance & Accessibility: Emphasis on native, high-performance APIs with built-in accessibility affordances.
- Responsible Fallbacks: Recommendations favor lightweight fallbacks over heavy polyfills or legacy libraries.
- Token-efficient Content: Guides are pruned to essential patterns, reducing context window usage.
- Broad Coverage: Over 260 features span CSS layout, forms, AI APIs, and accessibility.
💡 Why it matters
Coding agents often generate bloated JavaScript because training data is full of legacy code. Modern Web Guidance provides expert-curated, real-world patterns that let agents produce production-ready, performant, and accessible code. By embedding these guidelines directly into the agent's context, it bridges the gap between API knowledge and practical implementation, making it ideal for teams building with modern web platforms.
#WebDev #AIAgent #ModernWeb #TiniX