This website uses cookies

Read our Privacy policy and Terms of use for more information.

For a big task in Claude Code, don't send one giant prompt and hope. Write your standing rules in a short CLAUDE.md file, have Claude plan before it edits, split narrow jobs out to subagents, and name the check that proves the work is done. A person should still approve anything that sends, spends or deletes.

Why one giant prompt goes wrong

Producing code or text is the easy part for an AI. Confirming it is correct is often harder on real, messy work, because it takes good tests or a clear spec to compare against. In one long pass, a bad assumption in step one can sit under everything built after it, and you find out hours later.

Name the check before the work starts

Tell Claude what "done" looks like: a test that passes, a build that runs, a screenshot that matches. Anthropic's best practices guide pushes in this direction, and a post on how the Claude Code team thinks about verification describes their rule for review failures: if a check still fails after three rounds, Claude stops and brings in a human.

Review matters too. InfoQ reported, citing Anthropic, that the share of its internal pull requests (proposed code changes) passing after one review-and-fix round rose from 65% to 78%. That is the company's own figure about its own codebase, so don't expect the same number on yours.

Plan first with plan mode

In plan mode, Claude researches and writes a plan without changing your files until you approve it. You can switch modes with Shift+Tab. Read the plan like you would read a contractor's quote: what will change, in what order, and what has been assumed.

If your idea is still fuzzy, the best practices guide suggests asking Claude to interview you and write the answers into a SPEC.md file first.

Split the work with subagents

Picture a kitchen. A head chef plans, line cooks prepare, and the order gets checked before it leaves. In Claude Code, your main conversation plans the job, and a subagent is a separate Claude instance with its own context window that takes one narrow task and reports back. It can stay focused because it isn't carrying your whole chat history.

A useful first assignment is read-only: have a subagent explore one part of a project and summarize it before anything gets edited. This costs extra time and tokens, so skip it for a typo fix.

Keep your rules in CLAUDE.md

CLAUDE.md is a plain text file in your project folder that Claude reads at the start of each session. Put in who your audience is, the tone you want, and the standards you care about. Anthropic's docs recommend staying under 200 lines. Treat it as guidance Claude tries to follow, with no guarantee, which is one more reason to keep a real check in place.

Save repeat jobs as skills

A skill is a saved set of instructions you can run with a slash command. If you type the same directions every Monday, save them once. Start with something low-risk, such as turning rough notes into a draft that you review.

Reset instead of arguing

When Claude keeps missing the point, more corrections can pile confusion into the chat. The best practices guide advises that after two failed corrections, you run /clear and write a better prompt.

Three things to do today

  1. Open a new folder, create a file named CLAUDE.md, and write your basic rules.

  2. Switch to plan mode and read the plan before approving it.

  3. Save your most repetitive task as a skill and run it with its slash command.

FAQ

What is a Claude Code workflow? It is a repeatable way of handing Claude work: written rules, a plan you approve, narrow tasks, and a check that shows the result is correct.

Does CLAUDE.md force Claude to obey? No. Claude reads it each session and tries to follow it. Anthropic's docs say strict compliance isn't guaranteed.

Do I need subagents for every task? No. Use them for larger jobs where exploring or building one piece separately keeps the main conversation clear.

Is plan mode enough to keep my files safe? It stops edits until you approve the plan. You still need to review what runs afterward, keep backups, and approve sensitive actions yourself.

Companion episode:

Want more like this?

Get the daily AI breakdowns and free playbooks at joebuildsai.com.

Reply

Avatar

or to participate