Skip to content
<matthew />
cd ../work

/* case study */

90k-Line Next.js → TypeScript Migration

Independently migrated a ~90,000-line Next.js JavaScript codebase to TypeScript in about two months using LLM agents.

// impact: ~90k LOC converted in ~2 months, solo

// Context

GoodParty's web app was a large, untyped Next.js codebase, which was slowing development and limiting how well AI tooling could help.

// Challenges

  • ›~90k lines of JavaScript with no type safety
  • ›Regressions slipping through, and weak context for agentic development

// Approach

  • ›Wrote structured prompts and rules files to drive LLM agents through safe, incremental conversion
  • ›Set up a scalable component library with RadixUI and Tailwind CSS

// Outcomes

  • ›Full conversion in about 2 months by one engineer
  • ›Better type safety and fewer regressions
  • ›Stronger context for ongoing agentic development

// next case study

Analytics Web Services Layer