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

Browsers natively handle a lot of what used to take 50 lines of JS (or a dependency): `CSS.highlights` for text range highlighting without <span>s everywhere, `<dialog>` and showModal() give you backdrops and ideal focus management, `field-sizing` to auto-grow textareas as the user types.. (Something yesterday's ftrain post touched on [0])Models know about some of these by name, but consistently won't default to using the platform-native solution and instead prefer the incumbent <div>+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

Hacker NewsToolAISource
0Sign in to voteCopy link

FL score

78

out of 100

Verdict

VALIDATE

high confidence

Competition

No competitor data yet

Trend

No signal yet

A tool that upgrades coding agents to use modern web platform features instead of legacy JavaScript patterns, improving frontend code quality and efficiency.

The pain

Frontend developers often rely on outdated JavaScript patterns that increase complexity and maintenance burden, missing out on native browser capabilities.

The gap

Current coding agents and tools do not consistently leverage modern web primitives, leaving a gap for a skillset that can identify and modernize legacy code automatically.

Build angle

Leverage existing browser APIs, curated expert guides, and efficient retrieval-augmented generation to build a lightweight, open-source skill that integrates with coding agents and CLI tools.

Strengths

  • Clear technical problem with measurable impact on code quality
  • Strong collaboration with browser vendors and MDN
  • Efficient, lightweight implementation suitable for real-time use
  • Open source approach encourages community involvement and continuous updates

Risks

  • Uncertain willingness to pay or monetize in a primarily open-source ecosystem
  • Dependence on adoption by coding agents and developer workflows
  • Potential resistance from developers accustomed to legacy patterns
  • Scaling evaluation and maintenance as web standards evolve

Questions about this idea?

FlyBot reads the scoring and gives you a second opinion on “Get your coding agent off ~2019 JavaScript, onto modern web primitives”.

Open FlyBot