Show HN: Get your coding agent off ~2019 JavaScript, onto modern web primitives(github.com)
423 points by paulirish 1 day ago | 140 comments
tl;dr: Modern Web Guidance is a CLI-based skill (stewarded by Chrome, Edge, Firefox, and MDN teams) that injects curated, token-efficient guidance on ~250 modern web platform features into coding agents' context windows, steering them away from legacy JS patterns toward native browser APIs with responsible fallbacks and Baseline-aware compatibility data. It works via local semantic search (offline, no API keys) and installs across Claude Code, Codex, Copilot, Antigravity, and others. Published evals show significant uplift—e.g., Claude Opus jumping from 57% to 88% task pass rate, and Gemini from 58% to 94%.
HN Discussion:
  • ↓Tool promotes Chrome-only features not supported in Firefox/Safari, worsening browser monoculture
  • ~Suggests distribution improvements like a plain markdown index for grep-based agent access
  • ↑Enthusiastic support for steering agents away from legacy patterns like React
  • ~Concerns about practical costs and token usage when using the skill
  • ↓Skeptical of AI-driven 'best practices' and prefers legacy code to preserve backwards compatibility