← sources

Here’s my Claude Code loop. Which step would you change, add, delete?

source: reddit (reddit:ClaudeCode)published 2026-10-20 01:35ingested 2026-10-21 02:40

retained text

Context: solo, building a multi-tenant Next.js + Supabase app (Cash on delivery platform for order management and e-commerce stores). Claude Code inside Cursor.

\*\*The loop\*\*

1. \*\*Spec (claude.ai Project on browser):\*\* a "planner" chat holds the brief, a decisions log (26 entries) and a status file. It writes the spec and turns it into a Claude Code prompt.  
2. \*\*Plan mode (Opus):\*\* 3 Plan subagents design it independently (smallest / hardest to misuse / easiest to extend) and merge. I paste the plan into the planner chat for review before approving.  
3. \*\*Build (Sonnet):\*\* hooks format and lint after every edit; a Stop hook blocks once on lint/typecheck errors; guards block .env access, pushes to main and edits to merged migrations.  
4. \*\*Pull Request:\*\* CI (lint, typecheck, Vitest on PGlite, build, frozen-migration check), Claude GitHub Action review, Vercel preview.  
5. \*\*Review:\*\* the planner chat reviews the PR; on the riskiest one I used /ultrareview (it found 4 issues the other two reviews missed).  
6. Squash-merge, then log decisions and status back in the planner project.

\*\*What it costs me\*\*

\- Three review layers per feature (plan review, GitHub review, planner PR review)  
\- Pasting plans between Cursor and claude.ai by hand  
\- \`opusplan\` doesn't stick in the Cursor panel, so I switch Opus → Sonnet by hand at the plan-approval card  
\- I burned a big share of my usage keeping workflow diagrams up to date (now stopped)

\*\*My questions\*\*

1. If you had to change one step from this loop, which one, and what would you add/delete?  
2. Is a separate planner (claude.ai Project) worth it, or do you get the same from specs and reviews inside Claude Code with a docs folder?  
3. Which review layer actually catches bugs for you: plan review, the GitHub Action, /ultrareview, or a reviewer subagent?  
4. Which tools can be helpful in optimizing the workflow, making development faster or making the work easier?

Thank you !!

document fetched 2026-10-21 00:40 · canonical https://reddit.com/r/ClaudeCode/comments/1xaf8pi/heres_my_claude_code_loop_which_step_would_you