Rules for running phone-first vibe coding with `Claude Code`
The useful part is the operating system: plan review, scoped chunks, commits, tests, and backups. Treat agents like junior implementers with guardrails, not magic.
- Plan mode is the control point. Bad decisions compound, so unclear sections should be challenged before code changes begin.
- If a plan cannot fit in your head, shrink the job. Smaller chunks reduce review burden and make rollback cleaner.
- After each completed plan, commit with
git. It creates a code rollback point, but does not cover database state. - Test cases should be readable in the plan: positives, negatives, missing inputs, and regressions before trusting generated code.
- For complex changes, use subagents for plan critique, security review, and testing audit; DB work needs backups first.