How we built an ORM in 6 months
summary
Prisma ORM 8 is rebuilt from a blank slate in six months with zero lines written by hand, producing 8,521 commits and about 1,000 merged PRs. Design-first workflow uses 229 architecture decision records, layered directories enforced by Dependency Cruiser, biome-customized lint errors that teach agents, TDD with 3,000 test files, and an autonomous reviewer (Gizmo). Engineers move from line-by-line review to daily design calls, and migrations become data contracts as state transitions so agents plan and apply changes safely.
AI-written summary · about
chapters (15)
- 0:00Rebuilding Prisma ORM in six months
- 0:45Where Prisma ORM was two years ago
- 2:50What is an ORM for when AI writes the code?
- 6:50Design before you write code
- 9:00Documentation for agents that forget
- 11:45Keeping agents on track
- 14:10Architectural layers as guardrails
- 15:40Errors that teach agents
- 16:40Testing and review agents
- 18:28Pressure-testing your direction
- 20:58Changing how the team works
- 23:10Zero lines written by hand
- 25:45Prisma 8: data contracts and migrations
- 28:50By the numbers
- 29:20Get your whole team moving in the same direction
