← Back to videos

Claude Code Workflow: Explore → Plan → Code → Commit (Don't Code First)

@soojintechCapturedClaude Code / Skills
See more in Claude Code / Skills

Exact instruction

  1. Enable Plan Mode: Shift+Tab until 'plan mode' appears — Claude reads code and thinks without touching files.
  2. Describe your goal and ask Claude to figure out approach (it will read files, run web searches, ask clarifying questions).
  3. For unfamiliar codebases, type /init — Claude maps the entire codebase before starting.
  4. Only after plan is confirmed, let Claude write code.
  5. 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 caption

Claude Code Workflow pt.1 (Plan Before Writing Code)#claude #vibecoding #claudecode