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.
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
Related signals
- Developer tools#6
Marketplace for small fixes to big enterprise platforms
Build or expand a niche marketplace selling small single-purpose fixes (notification routing, scheduled job monitors, change-traceability tools) and WCAG-checked UI themes for enterprise platform admins, starting with ServiceNow and extending to similar closed enterprise ecosystems like Salesforce, Jira, or Zendesk where admins face the same long tail of unfixed small annoyances. Target IT/platform admins directly via Stripe-gated downloads with lifetime updates.
Demand4/10est.Buildability8/10est.Competition8/10est.via Reddit11 competitor - Developer tools#9
Structured-diagram layer for AI chat assistants
Build a diagramming layer for AI chat assistants: a skill or extension that takes structured descriptions (nodes, edges, groups) from an LLM and renders clean, auto-laid-out hand-drawn-style diagrams, selling to teams who use AI chat tools for technical explanations, onboarding docs, or architecture discussions. Package it as a hosted SaaS with better layout algorithms, export formats, team sharing, and branding, rather than a free open-source CLI skill.
Demand4/10est.Buildability8/10est.Competition6/10est.via Reddit33 competitors - Developer tools#3
Speed-fix tool for vibe-coded sites
Build a performance audit and fix tool aimed specifically at sites built on vibe-coding platforms like Lovable, Base44, Bolt and Replit, whose homepages often ship nearly empty HTML and render everything client-side, hurting Core Web Vitals and SEO. Offer automated LCP/CWV scans plus platform-specific remediation such as a drop-in prerendering or SSR proxy, and sell it to the agencies, freelancers and founders who shipped production sites on these builders and are now losing search ranking or conversions.
Demand5/10est.Buildability8/10est.Competition7/10est.via Reddit22 competitors