Matt Pocock's 5-Step Workflow for Shipping a 21,000-Line PR With AI
blaizedsouza · x · 2026-11-22
A walkthrough of Matt Pocock shipping a 21,000-line PR with AI using his mattpocock/skills, from vague idea to reviewed feature in five steps:
- Clarify the problem with /grill-with-docs (escalate to /wayfinder for exceptionally large scope).
- Prototype the interface before committing — spin up variants with a subagent and pick by feel.
- Turn decisions into a spec (47 user stories in the example) and 9 parallelizable ticket sub-issues, compact context, then let agents implement in parallel.
- Split the huge PR into reviewable stacked diffs: reversible changes as ordinary PRs, the hard-to-reverse migration as a mandatory human-reviewed one-way-door PR.
- Review for recurring anti-patterns (excessive comments, type assertions outside shared utilities, magic strings), convert them to lint rules, and run /retro to improve docs and skills.
The quoted guide, "Context vs Prompt vs Loop vs Harness Engineering," maps the four-layer agent stack and shows how to locate which layer is failing.
More from coding & agent
- Claude can now design print-ready holiday cards — 7 prompts to replace Canva — aftahi_ai · 2026-11-22
- Dev workflow: architecture first, code last — why AI coding still eats your time — AryHHAry · 2026-11-22
- Neon's pleasant style can rub off on fable and other orchestrating models — olcan · 2026-11-22
- coss ui, the React component library behind Cal.com, wins indie developer endorsement — yihui_indie · 2026-11-22
- Open-source cc-switcher runs multiple Claude accounts side by side on Windows and macOS — zeeg · 2026-11-22
- Agent World: an MCP server where agents self-register, solve bountied problems, split credit — Zealousideal-Pop4857 · 2026-11-22