Snapline
Keeps AI-generated UI on the design system
- What it is
- A deterministic TSX scanner (TypeScript compiler API, no LLM) wired into Claude Code lifecycle hooks. It blocks agents mid-loop with exact repair contracts and gates completion until severe design-system drift is fixed.
- The hard part
- Proving it works: a reproducible benchmark of 240 live agent sessions (8 modes × 10 prompts × 3 attempts) — 0/30 drift with the hook on, versus 7–40% drift without it, at ~126ms overhead per hook call.



.png&w=3840&q=75)




