Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives

Practical AI: Tools, Models & Frameworkscontext window

What changed

Modern Web Guidance is a curated skill set for AI coding agents that provides 250+ guides on modern web platform APIs, CSS features, and accessibility patterns. It's stewarded by Google Chrome, Microsoft Edge, Mozilla Firefox, and MDN, and offers CLI tools to embed these guidelines directly into agent context windows, including a legacy-scan command to detect outdated patterns in codebases.

Why it matters

Coding agents often generate bloated or outdated JavaScript because LLM training data is dominated by legacy code patterns. This tool helps agents produce production-ready code that uses modern browser APIs, better performance characteristics, and built-in accessibility—reducing reliance on polyfills and libraries that models frequently default to even when they know better solutions exist.

How it compares

Unlike Web Search APIs (Cloudflare, Ollama) which give agents access to live web information, Modern Web Guidance provides dense, curated expert knowledge specifically optimized for reducing token overhead while steering agents away from known antipatterns. It's a reference layer that works alongside general knowledge rather than a data retrieval mechanism.

Sources