cd /news/ai-agents/show-hn-get-your-coding-agent-off-20… · home › topics › ai-agents › article
[ARTICLE · art-167175] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

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

Chrome shipped version 1.0 of Modern Web Guidance, an open-source agent skill and CLI built with Firefox, MDN and Edge that gives coding agents curated guidance on modern web platform primitives. The package bundles 200+ hand-crafted guides (~1.7MB) with a ~7MB pure-JS retrieval stack delivering ~10ms search, plus a deterministic 'legacy-scan' trained on 30,000 GitHub repos that averages 92% precision on held-out repos. Chrome reported that agents running codex, claude and agy against 200 tasks with ~1,700 Playwright/AST-based assertions went from 55% pass unguided to 92% guided.

read2 min views2 publishedNov 10, 2026

Models know about some of these by name, but consistently won't default to using the platform-native solution and instead prefer the incumbent

+JS based pattern. We started an effort in Chrome to supplement coding agents with this key domain knowledge and we're shipping our 1.0 today, in collaboration with Firefox, MDN, and Edge.

200+ guides (~1.7MB) of curated, hand-crafted implementation best-practices from web experts, updated as the web evolves. (Open source, obv, so.. we'll welcome your bikeshedding ;) Readable versions here: [1]

I've spent the last 9 months obsessing over how to ship this as an agent skill + (Agentic RAG) CLI without blowing up your context window. (Or cedeing activation mechanics to MCP dynamic tool search). The skill description is minmaxed for activating on relevant frontend tasks. The RAG work I'm pretty proud of… originally a 500mb native stack down to a ~7MB pure-JS package, ~10ms search on your CPU.

We just introduced a deterministic 'legacy-scan' (trained on 30k github repos) to identify old 'n dusted patterns that your agent can modernize. (92% avg precision on held-out repos.)

People make a lot of claims about what coding agents are good/bad at. We wanted receipts, so we invested heavily in eval infra [2] to help us hill-climb, but also to identify when knowledge is common enough we can prune our guides. (Ofc, some of the things we thought AI didn't know turned out to be wrong :) We run codex/claude/agy against 200 tasks without the skill and then with.. In total ~1,700 playwright/AST-based assertions. Agents go from 55% pass unguided to 92% guided.

Try it out:

    DISABLE_TELEMETRY=1 npx modern-web-guidance@latest install
    DISABLE_TELEMETRY=1 npx modern-web-guidance@latest search "animate dialog modal"
    DISABLE_TELEMETRY=1 npx modern-web-guidance@latest legacy-scan ./src

If you spot something wrong or weird, give us a holler!

Longer write-up on the 1.0: https://developer.chrome.com/blog/modern-web-guidance-v1


0: https://news.ycombinator.com/item?id=50416456

1: https://developer.chrome.com/docs/modern-web-guidance/guides

2: https://googlechrome.github.io/modern-web-guidance-src/

Comments URL: https://news.ycombinator.com/item?id=50443812

Points: 19

── more in #ai-agents 4 stories · sorted by recency
── more on @chrome 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-get-your-cod…] indexed:0 read:2min 2026-11-10 · —