Skip to content
Developer toolsNew techTop 10% of today's analysed ideas

AI-friendliness benchmark for JS frameworks

Build a token-cost and context-efficiency linter/benchmark tool that scores frontend frameworks and codebases on how expensive they are for AI coding assistants to read, index, and modify, then recommends leaner patterns (less boilerplate, fewer generated files, smaller component trees). Sell it as a CLI or VS Code extension to teams choosing a stack for AI-assisted development, plus a public leaderboard comparing React, Vue, Svelte, HTMX, etc. for AI friendliness.

Original post

What to build

A CLI (plus optional VS Code extension) that scans a frontend repo and scores it on 'AI token-cost efficiency' — boilerplate volume, generated file count, component tree depth — then outputs a report with specific refactors to cut AI-assistant context cost. Paired with a public leaderboard ranking React, Vue, Svelte, and HTMX on the same metric.

Nolan Lawson's viral post proved there's a real, measurable gap in how much context different frameworks force AI coding assistants to chew through — a scoring tool turns that into a stack-selection decision aid.

Demand

Solo builders and small teams now choosing stacks specifically for AI-assisted development want a concrete number to justify framework choice, and the HN thread shows this resonated far beyond the original author's niche.

  • Hacker NewsDemand

    'The AI cost of JavaScript frameworks' hit 313 points and 231 comments on HN, indicating high engagement with the idea of measuring framework AI-friendliness.

Stack

  • Node.js CLI (commander/oclif)
  • tiktoken or similar tokenizer libs
  • ts-morph / AST parsers per framework
  • GitHub Actions for repo scanning
  • VS Code Extension API
  • Next.js static site for the public leaderboard

Solo + AI difficulty

The AST parsing and token-counting mechanics are straightforward with existing tokenizer libraries; the hard part is defining a scoring methodology that holds up under scrutiny across very different framework architectures. MVP (CLI scanning one framework, basic token counts) is doable in 1-2 weeks; a credible multi-framework leaderboard takes longer and invites pushback.

Entry threshold
A solo builder can ship a CLI that measures token counts, file counts, and context needed per framework scaffold within a couple of weeks; main effort is building credible benchmarks and keeping them updated as frameworks and models change.
Window
6-12 months

Where to find first users

  • Hacker News launch (Show HN)
  • r/webdev and r/reactjs
  • Twitter/X dev community referencing the original post
  • Product Hunt launch

Counter-signals & risks

  • Token/context cost may be dominated by codebase size and architecture choices within a framework rather than the framework itself, making cross-framework scoring noisy or misleading.

  • Modern AI coding assistants increasingly use larger context windows, retrieval, and caching, which could shrink the relevance of 'AI-friendliness' as a framework selection criterion over time.

  • Teams typically choose frameworks based on hiring, ecosystem, and performance needs; AI-assistant token cost is unlikely to be a primary driver of stack decisions, limiting market size and willingness to pay.

Original title: The AI cost of JavaScript frameworks

  • Developer tools#1

    End-to-end form monitoring for agency client sites

    Build an end-to-end form-monitoring SaaS for agencies and freelancers running many client sites on Webflow, Make, Zapier or similar stacks. It should submit a synthetic test entry on a schedule, then verify the entire chain itself the form success message, the row landing in the destination sheet or CRM, and the notification email or Slack message and alert the operator the moment any link breaks, with a simple dashboard to manage many client sites from one place.

    Demand
    5/10
    est.
    Buildability
    7/10
    est.
    Competition
    7/10
    est.
    via Reddit
    22 competitors
  • Developer tools#3

    Spec-interview layer for AI app builders

    Build a lightweight 'spec interview' layer for non-coders using AI app builders (Bolt, Lovable, v0, Replit Agent): a chat flow that asks structured clarifying questions (roles, permissions, payments, conflict handling, edge cases), then outputs a complete, reviewed prompt the user pastes into their builder of choice. Sell it as a cheap add-on or browser extension to the vibe-coding crowd who keep burning credits on AI builders guessing wrong.

    Demand
    4/10
    est.
    Buildability
    9/10
    est.
    Competition
    10/10
    est.
    via Reddit
    0No named competitors
  • Developer tools#5

    Codebase comprehension tools for AI-written code

    Build a codebase comprehension and governance tool for teams that went all-in on AI-generated code: automated architecture mapping, dependency and ownership graphs, AI-written code flagging, and plain-English explainers per module or PR. Sell to engineering leads at startups who mandated heavy AI code generation and are now realizing nobody on the team deeply understands the resulting codebase.

    Demand
    6/10
    measured
    Buildability
    6/10
    est.
    Competition
    10/10
    est.
    via Hacker News
    0No named competitors
AI-friendliness benchmark for JS frameworks — Nichr