Claude Code Workflow: Explore → Plan → Code → Commit (Don't Code First)
See more in Claude Code / Skills →Exact instruction
- Enable Plan Mode: Shift+Tab until 'plan mode' appears — Claude reads code and thinks without touching files.
- Describe your goal and ask Claude to figure out approach (it will read files, run web searches, ask clarifying questions).
- For unfamiliar codebases, type /init — Claude maps the entire codebase before starting.
- Only after plan is confirmed, let Claude write code.
- Commit when satisfied.
Suggested prompt
Before writing any code: enable Plan Mode (Shift+Tab), describe the feature you want, and ask Claude to read the relevant files and propose an approach. Only approve to write code after you've reviewed the plan.
Adopt?
Yes: Core Claude Code workflow improvement. Always start in Plan Mode for new features. Use /init when jumping into an unfamiliar codebase. The Explore → Plan → Code → Commit pattern prevents the '20 rounds of corrections' problem.
Find the resource
Comment 'workflow' on the original post (@soojintech) for the full flow. This is pt.1 — check @soojintech for the rest of the series.
show original captionhide original caption
Claude Code Workflow pt.1 (Plan Before Writing Code)#claude #vibecoding #claudecode