Replaced Next.js with a custom AI-coded framework, JS size down 99%
maxleiter · x · 2026-09-01
Max Leiter replaced Next.js on his personal site with a bespoke framework architected by Claude's Fable and implemented by Opus subagents.
Workflow:
- Prompted Claude to scope a custom, on-demand framework faster than Next.js for static sites with MDX, deployable to Vercel.
- Coordinated Opus subagents for implementation.
Results:
- JS Bundle: Reduced from 208 KB to 2.3 KB (-99%).
- Performance: Mobile Lighthouse score improved to 100; LCP improved by 46%; total weight reduced by 93%.
- Features: Retained MDX support and static HTML compilation.
More from coding & agent
- LLM one-shots a Minecraft 3x3 piston door by building its own Linux test infra — Vjeux · 2026-10-18
- Dev builds Mumbai-inspired 3D manga background generator from OpenStreetMap data — CurieuxExplorer · 2026-10-18
- Solo founder builds a money-printing data service on Claude's Pi Durable harness — MicahBerkley · 2026-10-18
- Dev builds Arch-based OS with custom desktop and browser using Claude Code — Snoo-10493 · 2026-10-18
- Five SaaS agent workflows fail the same way — and it's never model intelligence — usehive · 2026-10-18
- Claude skill generates hand-drawn interactive diagrams that teach kids how things work — CatAstro_Piyush · 2026-10-18