A single prompt asking Claude to do five different things at once — "analyze this data, summarize the trends, draft an email about it, suggest three follow-up actions, and format it as a report" — often produces an output that does all five things shallowly, or quietly drops one. Task decomposition means breaking a complex request into an explicit, ordered sequence of smaller sub-tasks, either as separate prompts/messages, or as clearly numbered steps within one prompt that Claude is asked to work through in order.
When to Decompose vs. When One Prompt Is Fine
Not every multi-part request needs decomposition. A request with two closely related parts ("summarize this and suggest a title") is usually fine as one prompt. The signal that decomposition helps is when sub-tasks are sequentially dependent (step 2 needs step 1's actual output, not just the original input) or when a request genuinely spans different kinds of work (analysis, then drafting, then formatting) where doing them all at once tends to shortchange at least one.
Two Ways to Decompose
You can decompose within a single prompt, by numbering the steps explicitly and asking Claude to complete each in order before moving to the next ("First, list the three biggest trends in this data. Second, for each trend, write one sentence on its likely cause. Third, turn these into a two-paragraph summary."). Or you can decompose across messages, sending the data for analysis first, reviewing that output, then asking for the summary based on the reviewed analysis, then asking for the email draft. Across-message decomposition is slower but lets you catch a wrong turn early, before it propagates into every later step — worth the extra time for anything where an early mistake would be expensive to unwind.
Key Concept
Break a complex, multi-part request into an explicit ordered sequence — either numbered steps within one prompt, or separate messages — especially when later steps depend on the actual output of earlier ones, or when the request spans genuinely different kinds of work.
Common Exam Distractor
Don't assume decomposition always means splitting into multiple separate messages — numbered steps inside a single well-structured prompt are a valid form of decomposition too, and are often the more efficient choice when steps don't need independent review.