Skip to content
ClaudeClaude

The Explore → Plan → Code → Commit workflow in Claude Code

The single most important workflow for using Claude Code effectively. Learn how to let Claude research before coding, define success criteria, and use subagent reviewers before pushing. Take the full course: claude.com/courses

May 17, 20263mWatch on YouTube ↗

CHAPTERS

  1. The core workflow: Explore → Plan → Code → Commit

    The video’s central takeaway is a four-step workflow that prevents wasted time and rework when using Claude Code. Instead of jumping straight to code generation, you first gather context, align on an approach, implement with iteration, then review and ship cleanly.

  2. Why “jumping to code” slows you down

    Most failures come from asking for code too early, before Claude (and you) have enough context about the codebase and constraints. The workflow front-loads understanding so implementation is smoother and needs fewer reversals.

  3. Plan Mode: fast research without editing files

    Plan Mode is highlighted as the quickest way to do Explore + Plan because it restricts Claude to reading and researching rather than modifying files. This creates a safe, structured phase for investigation and design decisions.

  4. Prompting Plan Mode with a concrete example (WebP conversion)

    A sample request shows how to ask for a plan: where WebP conversion should occur in an upload pipeline, whether new dependencies are needed, and how to implement. The emphasis is on getting a thoughtful plan before any code changes.

  5. Reviewing and revising the plan before approving

    You’re encouraged to inspect the plan and request revisions until it meets your criteria. This is positioned as the best moment to course-correct because no code has been written yet.

  6. Exploring the codebase outside Plan Mode

    You can still do exploration even when not in Plan Mode by explicitly asking Claude to explore the repository. The key is to ensure Claude collects the relevant context before making implementation decisions.

  7. Approving the plan and controlling how edits are applied

    Once the plan looks good, you approve it and Claude begins executing the listed items. You can choose whether Claude auto-accepts file edits or asks permission for each change.

  8. Handling course-corrections during execution (and why plan context helps)

    Even with a solid plan, implementation can surface unexpected issues that require adjustments. Plan Mode helps because you retain the reasoning trail and context behind earlier decisions, making it easier to redirect Claude effectively.

  9. Define “correct” explicitly and add the right tools

    Claude needs clear success criteria to be confident it’s done. The video recommends making correctness explicit and equipping the project with tools that let Claude verify outcomes (like UI testing and automated tests).

  10. Use tests as the source of truth (and let Claude write them)

    A test suite is recommended so Claude can continuously validate changes and avoid subjective completion criteria. Claude can also author tests, but you should ensure tests reflect real team expectations to prevent false positives.

  11. Quick tip: persist recurring fixes in Claude.md

    If Claude repeatedly encounters the same issue, you can instruct it to save the solution in the project’s Claude.md file. This helps institutionalize project-specific guidance and reduces repeated troubleshooting.

  12. Commit phase: review, generate commit message, ship

    Before pushing changes, the video recommends running a subagent code reviewer to catch issues. Then Claude can generate a commit message in your preferred style so you can commit confidently and move on.

  13. Workflow recap: why each step matters

    The closing recap ties each phase to a specific benefit: Explore builds context, Plan sets a measurable path to success, Code is iterative execution, and Commit is review and delivery. The point is to repeat this loop for reliable progress feature after feature.

Get more out of YouTube videos.

High quality summaries for YouTube videos. Accurate transcripts to search & find moments. Powered by ChatGPT & Claude AI.

Add to Chrome