Direct answer
Break a Claude Code task into steps that produce inspectable state changes, and give each step an exit condition. A useful item says what must be true before work moves on, not merely which activity occurred. The overall requirement remains the source of truth.
Order dependent work, update status from observed evidence, and remove steps that no longer serve the outcome. A completed todo is a progress signal, not proof of completion. Keep the list small enough to review and stop adding items when the agreed behavior is satisfied.
Why a long finish line hides partial failure
A single item such as “implement export” combines discovery, decisions, edits, and verification. If any part fails, the status offers little guidance. The next action is unclear, and a confident summary can conceal which state was never reached.
Small work items help only when they mark meaningful states. Splitting every tool call into a todo creates noise. Splitting every file into an item can also obscure the actual dependency. The useful unit is a state change that a reviewer can inspect.
Official (F028): the Agent SDK todo-tracking documentation says Claude Code provides task-tracking tools and maintains a written todo list. Its caveat is important: the source is Agent SDK documentation, and interactive UI behavior may differ.
Official (F029): the prompting best practices describes chained prompts as useful for inspecting intermediate outputs. That is an API prompting pattern, not a required Claude Code workflow. The transferable idea is to make intermediate states visible.
Independent (F030): Atlassian’s acceptance criteria guide describes acceptance criteria as predefined conditions a deliverable must satisfy to be acceptable. The packet has only a search excerpt because the fetch returned a 403. That evidence is vendor guidance, not a universal standard or a completion guarantee.
The hard task-budget guide covers stopping consumption. A different question gets covered here: how to tell whether each unit of work reached a meaningful state.
Define the overall outcome
Before writing items, state the outcome in observable terms. The breakdown should serve that outcome rather than replace it with a list of implementation activity. A list can be complete while the requested behavior remains unmet.
Name the actor, the action, and the visible result. Add the behavior that must remain unchanged. For a report export, the outcome might be that a user can download the currently filtered report and that the existing filters continue to apply. That is an editorial example, not a claim about a real product.
The requirements guide for observable outcomes provides a fuller method for turning a vague request into behavior. The negative requirements guide helps protect existing behavior while the list is written.
An outcome should also imply evidence. If the only evidence is the agent’s final message, the outcome is too vague. Ask what file, rendered state, command result, or human observation would demonstrate that the condition held.
| Outcome element | Question | Example |
|---|---|---|
| Actor | Who performs or receives the action? | A report viewer |
| Action | What can they do? | Download the current report |
| Observable result | What becomes visible or available? | A file matching the active filters |
| Protected behavior | What must not change? | Existing filter semantics |
| Boundary | What is excluded? | New export formats or scheduling |
Independent (F030): acceptance criteria are predefined conditions, according to the limited Atlassian evidence. Use that definition to keep the overall outcome above the task list rather than treating each todo as a separate requirement.
Split by meaningful state change
A meaningful state change moves the work from one inspectable condition to another. Reading a contract can produce a confirmed target. Choosing a mapping can produce an agreed column list. Editing a component can produce a visible action. Reviewing the result can produce acceptance evidence.
Activities belong inside steps. “Search,” “edit,” and “run” describe work, but they do not say what changed. A step can include several tool calls as long as it has one clear exit condition.
Consider the difference between “investigate export” and “confirm the report data shape and the active filter values.” The second item has an output that later steps can consume. Should the investigation find a blocker, the item remains incomplete for a visible reason.
| Activity-only item | State-changing rewrite | Inspectable exit condition |
|---|---|---|
| “Look at the report” | “Confirm the report row shape” | Relevant fields and types are recorded |
| “Work on export” | “Define the export column mapping” | Each column has a source or an explicit exclusion |
| “Add the button” | “Add the download action to the report view” | The action is present and uses the agreed mapping |
| “Test everything” | “Compare an exported filtered report with the visible rows” | The compared values match the stated condition |
| “Clean up” | “Remove only scaffolding introduced by this task” | No unrelated files or behavior changed |
The exploration plan guide is useful when the first state cannot be defined yet. Do not force an implementation item before discovery identifies the target.
A state change should be small enough to review but large enough to matter. If a step has no independent meaning for a later step or reviewer, merge it. If it contains several unrelated outcomes, split it.
Write one exit condition per step
An exit condition describes the state that closes an item. It should be observable and tied to the overall requirement. “Done” is not a condition. “The component renders the agreed label while the existing redirect remains” is.
Write the condition before execution when possible. That makes it harder to redefine success after the work changes. The condition can be refined when new evidence appears, but the refinement should be visible.
A useful condition has a subject, an expected state, and evidence. The subject is the file, interface, or behavior. The expected state is what must be true. The evidence is how a reviewer can inspect it.
| Step | Exit condition | Evidence |
|---|---|---|
| Confirm row shape | Required report fields are identified | Current definition and sample mapping |
| Approve column policy | Every output column has a source | Mapping table with exclusions |
| Implement download | The action uses the approved mapping | Changed block and rendered action |
| Inspect filtered output | Export reflects the active filters | Compared input and output values |
| Close scope | No unrelated behavior changed | Focused diff and boundary review |
Official (F029): chained prompts can expose intermediate outputs in API workflows. A Claude Code task list can borrow the inspection principle without claiming that the API pattern defines interactive behavior.
The task checkpoint guide for inspectable progress helps record evidence during longer work. A checkpoint can preserve the exit condition and the observed result in one place.
Avoid exit conditions that merely repeat the activity. “The file was edited” says an action occurred. It does not say whether the requested behavior appeared or whether a protected contract survived.
Avoid steps that are only activities
Activity lists are common because they are easy to write. They can describe a full day of work while providing no reliable stopping rule. Replace them with the state each activity is meant to produce.
Some activities do not deserve their own step. Opening a file, searching for a symbol, or applying a small edit may be implementation details inside a larger state change. Promoting every action creates a long list that is expensive to maintain.
Other activities deserve a step because they produce a decision. Choosing how an empty result should behave is not merely “discussing copy.” It produces a policy that controls later implementation and acceptance.
| Item type | Keep as a step? | Reason |
|---|---|---|
| Read a defining contract | Yes, when later edits consume it | Produces evidence for the target |
| Choose a product behavior | Yes, when it changes acceptance | Produces a human-owned decision |
| Apply a rename | Sometimes | Keep only if the rename is a meaningful reviewed state |
| Open each candidate file | Usually no | This is discovery detail |
| Run a formatter | Usually no | This is execution detail unless formatting is the requirement |
| Inspect final behavior | Yes | Produces acceptance evidence |
Official (F028): a written todo list supports progress tracking in the documented Agent SDK context. It does not require an item for every action, and the packet provides no ideal item count.
The exact edit target guide helps keep an edit step precise. A precise target belongs inside the step; it does not need to become a separate todo unless the replacement is independently reviewed.
A practical editing pass asks of every item: what state exists after this that did not exist before? If the answer is unclear, rewrite or merge the item.
Order dependent work
A dependency exists when one step consumes another step’s result. The mapping decision consumes the confirmed row shape. The download implementation consumes the approved mapping. Final inspection consumes the changed component and the original requirement.
Put the producer before the consumer. If two steps can proceed without each other’s output, they may be grouped as independent work, but do not turn that observation into a claim about Claude Code scheduling.
The plan dependency guide for reads before edits provides a fuller producer-consumer model. The parallel tool-call guide for independent reads covers a neighboring API topic without establishing an interactive scheduling guarantee.
| Step | Produces | Consumes | Must precede |
|---|---|---|---|
| Confirm row shape | Field and type evidence | Current report definition | Mapping decision |
| Approve mapping | Column policy | Field evidence and product requirement | Download implementation |
| Implement action | Visible download behavior | Approved mapping | Filtered-output inspection |
| Inspect output | Acceptance evidence | Changed action and active filters | Scope closure |
| Close scope | Boundary evidence | All changed files | Final report |
A hidden decision is a common dependency defect. If the mapping step silently chooses a new product policy, later work may appear orderly while resting on an unapproved choice. Separate the decision and name its owner.
A producer that fails means dependent items should not be marked complete by assumption. Record the blocker and revise the sequence. The plan revision guide for new evidence helps when the failure invalidates the route rather than merely delaying it.
Update status from observed state
A todo status should follow evidence. If the exit condition requires a visible action, inspect the action before marking the item complete. If the condition requires a mapping decision, confirm the decision exists. Status should not be updated merely because the agent intends to do the work.
Official (F028): item statuses are updated as work proceeds in the Agent SDK documentation. The source does not make status independent proof that the item is correct. Interactive UI behavior may also differ.
Use a simple status discipline:
- Pending: the step has not started or its prerequisite is unresolved.
- In progress: work is producing the required state.
- Blocked: a named dependency or decision prevents completion.
- Complete: the exit condition has observed evidence.
- Removed: the step no longer serves the approved outcome.
The status names above are an editorial convention, not a claim about a universal Claude Code UI. Their purpose is to keep the evidence rule visible regardless of interface.
| Todo status | What it establishes | Evidence still needed |
|---|---|---|
| Pending | No completed state is claimed | The prerequisite and next action |
| In progress | Work has begun | Whether the exit condition is met |
| Blocked | A specific obstacle is recorded | Owner and resolution |
| Complete | The stated condition was observed | Independent acceptance of the overall outcome |
| Removed | The item is no longer in scope | Reason and confirmation that the outcome remains covered |
The verification-done evidence guide covers completion evidence in more detail. Only the narrow rule that status and proof are different signals gets used here.
Handle a step that no longer applies
Plans change when evidence changes. A step may become redundant because an existing helper already provides the required behavior. A proposed edit may become unnecessary because the requirement was clarified. Remove the item visibly and record why.
Do not leave obsolete items in the list as completed work. That makes the final summary harder to interpret. Do not replace the item with unrelated cleanup merely to keep the list busy.
A step no longer applying is the moment to check whether its exit condition was covering part of the overall requirement. If another step now covers that condition, update the dependency. If no step covers it, the outcome has a gap.
The negative requirements guide helps confirm that removing a step does not remove a protected behavior. The stop conditions guide helps keep the task inside the agreed boundary.
| Change | List update | Required check |
|---|---|---|
| Existing helper satisfies the step | Remove or narrow the implementation item | Confirm the helper meets the same exit condition |
| Product policy changes | Replace the decision item | Recheck dependent edits and acceptance |
| Evidence invalidates the target | Block and revise the route | Seek approval if direction changes |
| Work is already present | Record the finding | Verify it against the requirement rather than assuming |
| Request loses scope | Remove the item | Confirm the remaining outcome is still met |
Independent (F030): predefined acceptance conditions remain the reference when the list changes. The limited Atlassian guidance supports checking the deliverable against conditions, not preserving an obsolete plan for its own sake.
Worked example: a report download in four states
Consider an editorial request to add a download action to a report view while preserving the active filters. The task can be represented through four meaningful states: confirmed data shape, approved mapping, implemented action, and inspected output.
The first step reads the current report definition and records the fields available for export. Its exit condition is a mapping input, not a vague promise to understand the data.
The second step turns that evidence into a column policy. It also records any excluded field and the reason. A decision-producing step is what that is, so a human owns any product choice that the code cannot settle.
The third step adds the action using the approved mapping. Its exit condition is a visible action tied to the current report state, not merely a changed file.
The fourth step compares an exported filtered report with the visible report. Its exit condition is evidence that the active filters are reflected and the default behavior remains intact.
Derived editorial example: the design has four state-changing steps and one exit condition for each. Formula: 4 steps × 1 exit condition = 4 explicit closure checks. The formula is a count of the example, not a recommended task count, product limit, or measured quality improvement.
If the first draft instead contains five items and one is only “look at more files,” the editing pass removes that activity-only item. Formula: 5 draft items - 1 activity-only item = 4 state-changing items. Again, the arithmetic uses only the stated hypothetical inputs.
The plan mode approval guide can review this direction before edits. The reversible planning guide can place the mapping decision before broader implementation.
Stop adding steps when the outcome is met
A task list is a means to an outcome, not a container that must stay full. When the acceptance condition is supported and exclusions hold, stop. Additional steps need a direct connection to the agreed result.
Be wary of opportunistic improvements. A nearby abstraction, a cleaner name, or a broader refactor may be useful, but it does not belong in this list unless the request requires it. The overengineering and large-diff guide covers the broader scope failure.
Before closing, compare the list with the original outcome. Every acceptance condition should map to at least one exit condition. Every exit condition should serve the outcome or a protected behavior. Unmapped work is a sign of drift.
| Closure check | Question |
|---|---|
| Outcome coverage | Does each requested behavior have observed evidence? |
| Boundary coverage | Did excluded work remain untouched? |
| Dependency closure | Are all consuming steps supported by completed producers? |
| Status integrity | Does every completed item cite its exit evidence? |
| Remaining gaps | Are blockers and owners explicit? |
The style-preserving edit guide matters when the implementation touches local conventions. It does not authorize extra cleanup beyond the agreed change.
The behavior-preserving refactoring guide is relevant only if structural change is part of the request. Do not add a refactor item merely because the task list has room.
Concrete win, loss, and practical implication
Win: a blocked mapping decision is visible before the download action is marked complete. The team can see which state is missing instead of interpreting one vague “in progress” label.
Loss: a finely divided list can become stale, and a completed item can still rest on a mistaken assumption. More todos do not create more evidence by themselves.
Implication: keep one exit condition per meaningful state, order producers before consumers, and require observed evidence before completion. Use the plan dependency guide when the sequence becomes difficult to explain.
A compact review rubric
Review the list from top to bottom before execution. The overall outcome should appear first. Each item should have one exit condition, a named dependency, and a way to observe completion.
If an item cannot be reviewed in that form, it is probably too vague or too large. If several items share the same exit condition, they may be one state split into unnecessary actions.
The structured brief guide helps when a program consumes the task data. Keep machine fields separate from the human explanation of why a step exists.
The evidence-bearing tool results guide helps when a tool supplies the observation that closes an item. An opaque success status should not stand in for the required state.
The verdict: status follows state
A task list becomes useful when each item describes a state that can be inspected. The list should make partial progress legible without pretending that partial progress is acceptance.
Keep the overall requirement visible above the list. Revise the affected item and its dependents once evidence changes the route. An outcome that is met means stop rather than filling the remaining list with unrelated work.
Data gaps and future updates
Unknown: the supplied research provides no benchmark for task-list granularity, exit-condition wording, or completion accuracy. The examples and status convention are editorial aids.
The todo source is Agent SDK documentation and may not describe every interactive interface. The chained-prompt source describes an API pattern. The Atlassian source is a search excerpt only after a 403 response.
Community evidence: no verified issue or reproducible community report appears in the packet. No universal UI defect or issue outcome gets claimed here.
A future update should recheck the official pages before adding interface details or quantitative claims. Any measured comparison would need a named method and source.
One AI API Key option for OpenAI-format agents
If the task list feeds an OpenAI-format agent, One AI API Key provides https://api.oneaiapikey.com/v1, one key, and the packet’s 46 live free IDs for that path. Review the free model list and quickstart. Those IDs are not Claude Code model sources; Claude Code uses an Anthropic-format route, and its Claude IDs were unavailable on 2026-11-27.
FAQ
Should every tool call be a todo item?
No. F028 supports written task tracking, not a universal item-per-action rule. Use items for meaningful state changes and keep tool details inside them.
What makes an exit condition useful?
It names an observable state and the evidence that supports it. “The mapping is approved and each column has a source” is stronger than “work on mapping.”
Does a completed todo prove the task is done?
No. F028 describes status updates, not independent correctness proof. The overall acceptance conditions still need evidence.
What should happen when a step becomes unnecessary?
Remove it visibly, record why, and check that another item still covers its acceptance condition. Do not leave obsolete work in the list or replace it with unrelated cleanup.
Sources
- Official, search-index only: Track todos, F028. Written task tracking and status updates; interactive UI may differ.
- Official, fetched: Claude prompting best practices, F029. Chained prompts can expose intermediate outputs; API pattern only.
- Independent, search excerpt only: Atlassian acceptance criteria guide, F030. Predefined acceptable conditions; fetch returned 403 and no full-text claim is made.
- Official, fetched: Claude Code best practices, F078. Ask for evidence of completion rather than trusting a summary.
- Official, fetched: Claude Code common workflows, F025. Broad-to-narrow exploration for the initial evidence-producing step.