How a Designer started shipping production Rails
summary
A 7,000-line PR lands in a Rails repo but only ~100 new production lines matter: a 1,600-line harness plus 60 lines of tokens, a shared partial used across 50 sites, and a 10-line natural‑language contract for agents. The Onion Design Framework defines five layers from tokens to screens; running 33 agents on one vague prompt yields 18% success until a one‑sentence prompt fix produces 100% success. Four defects escaped (white navbar, shrunken labels, duplicate canonical, hard‑coded hexes), costing an unplanned UX audit and four follow‑ups.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:56The risky pull request
- 2:21Deconstructing the code
- 3:30Building the harness
- 5:51Defects and lessons
- 7:46The onion design framework
- 8:46Layered design details
- 12:29Fidelity testing
- 13:59Optimizing prompts
- 15:04Human role and judgment
- 17:10Fidelity testing call to action
- 18:05Framework in practice
- 19:20Philosophical conclusion
