EVERY SPOKEN WORD
3 min read · 574 words- 0:00 – 0:03
Intro
- SPSpeaker
[upbeat music]
- 0:03 – 0:18
The core workflow: Explore → Plan → Code → Commit
- SPSpeaker
If you take one thing away from Claude Code, let it be this workflow: Explore, Plan, Code, and Commit. Without this, most people jump straight to asking Claude to write code, which means more course-correcting later
- 0:18 – 0:33
Plan Mode basics: research without editing files
- SPSpeaker
on. The fastest way to handle step one and two is with Plan Mode. With Plan Mode, Claude can't edit files. It just reads files to gather research on how to tackle its implementation. To enter Plan Mode, hit Shift + Tab until you see
- 0:33 – 0:48
Using a concrete prompt to drive a good plan (WebP example)
- SPSpeaker
the Plan Mode under the text input. "I need to add WebP conversion to our image upload pipeline. Figure out where in the pipeline it should happen, whether we need new dependencies, and how to approach it." And Claude will read relevant files, do some web searches, and give you a plan
- 0:48 – 1:04
Reviewing and revising the plan: the best time to course-correct
- SPSpeaker
of action. Make sure you review it and determine if it meets your criteria. Otherwise, I can ask it to add on or revise some areas. Perfect. And this right here is the best place to course-correct because it's before
- 1:04 – 1:19
Exploration outside Plan Mode and approving the plan to proceed
- SPSpeaker
any code is written. You can also use Explore without being in Plan Mode by just asking Claude to explore your code base. Now, once the plan looks good, you can select Approve to accept the plan and let Claude tackle all the list items it provided. You can determine
- 1:19 – 1:34
Troubleshooting and leveraging plan context during execution
- SPSpeaker
if you want Claude to auto-accept the file edits or ask every single time. Claude will do its best to troubleshoot your code base before considering the plan finished. But at times, you'll need to course-correct. This is the benefit of working with Plan Mode because after the plan is finished, we also
- 1:34 – 2:04
Define “correct” explicitly and add tools to reduce back-and-forth
- SPSpeaker
have the context of how it got to the results to help it guide its next decision. In order for Claude to be confident in its results, it has to be clear on what it deems correct. When writing your plan, make this explicit. Adding tools that will help Claude complete its goals will remove a lot of back and forth. For example, if you're building web UIs, make sure you have the Claude and Chrome extension so that Claude Code can control a tab and test out the UI before deeming it finished. In your
- 2:04 – 2:14
Use tests as a source of truth (and let Claude help write them)
- SPSpeaker
project, include a test suite that Claude can continuously validate on. Claude can even write tests for you. Before passing this off to Claude, make sure that the tests are a source of truth for
- 2:14 – 2:24
Persist recurring solutions in Claude MD
- SPSpeaker
you and your team to avoid any false positives. Quick tip: if you find Claude keeps running into the same issues, ask Claude to save the solution to its Claude MD file.
- 2:24 – 2:35
Commit phase: review with a subagent and generate commit messages
- SPSpeaker
Now, once you have tested for yourself and are happy with the results, it's time to push your code. A tip before you commit, run a subagent code reviewer to look at your code. Then
- 2:35 – 3:10
Rinse and repeat: how the workflow keeps you moving fast
- SPSpeaker
you get Claude to generate a commit message for you in your style. Rinse and repeat. [upbeat music] If you want to be effective with Claude Code, follow the Explore Plan Code and Commit workflow. Exploration will give the relevant context Claude needs for your project. Plan will create a plan of action that Claude will use to determine if they are successful. Code is the back and forth that you and Claude do before settling on the final outcomes of the plan. Commit helps you review and push your code so you can start on your next feature. [upbeat music]
Episode duration: 3:11
Install uListen for AI-powered chat & search across the full episode — Get Full Transcript
Transcript of episode xJQuF02NAK8
