Workflow
Plan-Before-Build Workflow
Enter plan mode for non-trivial tasks to reduce rework and improve outcomes.
Install
Document in CLAUDE.md - see planning guide
About
A workflow pattern where Claude Code enters 'plan mode' before tackling any non-trivial task (3+ steps or architectural decisions). First, it analyses the task, identifies risks, and proposes an approach. You review and approve the plan. Then it executes step by step, checking off items as it goes. If something goes sideways, it stops and re-plans rather than pushing forward blindly. Dramatically reduces rework on complex tasks.
Tags
planningarchitecturestrategyprocess
Score Breakdown
CLI Score Breakdown10/11
✓Official SDK on npm/pip+2
✓Env var authentication (no browser OAuth)+2
✓Works in headless/CI environments+2
✓CLI tool available+1
✓JSON response for piping/parsing+1
✓Docs have curl/CLI examples+1
✓Reasonable rate limits for scripted use+1
✗Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads0
GitHub stars30k
Days since last release9d
Issue close ratio88%
TypeScript typesYes
Docs qualitygood
Breaking changesrare
Scores
CLI
10
Quality
9
Related
Workflow
0/wkSubagent Delegation Workflow
Use subagents to parallelise research and keep the main context clean.
CLI
10
Quality
8
Document in CLAUDE.md - see workflow guideWorkflow
0/wkTest-Driven Development Workflow
Write tests first, then implement - with Claude Code running the red-green-refactor loop.
CLI
10
Quality
9
Document in CLAUDE.md - see TDD guideWorkflow
0/wkDeploy-and-Verify Workflow
Deploy to production and automatically verify the deployment works.
CLI
10
Quality
8
Document in CLAUDE.md - see deploy guide