Task Definition and Prompting
Output quality comes from prompt structure, not cleverness. This domain is the Description competency in practice. You specify the work so the first response is fit for purpose, break large work into checkable stages, and diagnose a weak output back to the component that caused it.
Prompt construction: the five components
| Component | What it controls | What goes wrong without it |
|---|---|---|
| Role | Who Claude should be (analyst, editor, policy reviewer). Sets vocabulary, depth and assumptions. | Pitch and depth are wrong for the task |
| Context | What Claude cannot know unless told: audience, situation, prior decisions, source material | Generic output that could describe any organisation. This is the component people most often omit. |
| Task | The action, stated with one clear primary verb: summarise, compare, draft, identify | Claude answers a different question from the one you meant |
| Constraints | Length, tone, what to include, leave out or avoid | Wrong length, wrong tone, heavy editing needed |
| Output format | The shape of the result: table, bullets, three-paragraph memo, email | An extra iteration just to reshape the answer |
Not every prompt needs all five. A quick question may need only a task. A client deliverable needs all five. The skill is recognising which components a given task requires.
Context gaps are the number-one cause of weak prompts. Claude cannot see your inbox, org chart or last week’s meeting unless you supply it or connect a source. Even with a connector, it sees only what you have authorised. Anything that exists only in your head is a context gap.
A role is not a substitute for context. “You are a financial analyst” helps, but it gives Claude none of the facts it needs.
Task decomposition and sequencing
When a request has several distinct stages, putting it all in one prompt produces shallow work on every stage. Decomposition splits it into ordered steps, each producing a result you can check.
- Classic pattern: “Evaluate these vendors and pick one” is really four tasks. Derive the criteria, score each vendor, surface the trade-offs, then recommend. If the criteria are wrong, you catch it before the scoring, not after the recommendation.
- Build the shared foundation first. When several deliverables draw on the same source (for example a staff announcement, an FAQ and an executive brief from one policy change), first extract the substantive content and verify it. Only then draft the deliverables. Otherwise one misreading spreads into all three.
- Validation checkpoints between steps make the work auditable, so you can show how a recommendation was reached.
- One conversation or several? Keep dependent steps in one conversation so each sees the prior results. Move to a new conversation when a step is genuinely independent or the conversation has grown long enough for early context to degrade. Use a Project when the stages span sessions or share source material.
Strategy by task type
The five components apply everywhere, but the balance between control and latitude shifts with the task.
| Task type | Tighten | Loosen | Notes |
|---|---|---|---|
| Analysis | Criteria, standards, scope, handling of ambiguity | Phrasing | Low latitude. Numbers go to code execution. |
| Research | The question, boundaries, source requirements, citations | Synthesis approach | Web search for quick lookups; Research for deep multi-source work. Ask for citations so claims are checkable. |
| Drafting | Audience, tone, length, format | Word choice | Medium latitude: you set the shape, Claude fills it. |
| Brainstorming | Goal and a few guardrails only | Quantity and direction | Over-specifying kills divergence. Ask for range first, filter later. |
Using one fixed prompting style for every task type costs quality on every task it doesn’t fit.
Prompt diagnosis and iteration
Read a disappointing output as a diagnostic. Each symptom points to a component.
| Symptom | Specification gap | Fix |
|---|---|---|
| Generic, off-base, could apply to anyone | Missing context | Add the background Claude cannot infer |
| Answered the wrong question | Ambiguous instruction (task verb) | Sharpen the instruction |
| Wrong length, tone or shape | Absent constraint or format | State it explicitly |
| Shallow analysis, numbers subtly off | Wrong strategy for the task type | Change approach: code execution, Research, decomposition |
| Mostly right, one section weak | Local issue | Iterate on that section only |
Targeted revision, not wholesale rewriting. Change the one component the output exposed, resend and compare. If you rewrite the whole prompt, you lose what worked and can’t tell which change fixed the problem.
Iterate, restart or change approach?
- Iterate when the output is close and each round clearly improves it.
- Stop when rounds produce only marginal change. At that point a quick manual edit beats another prompt; the goal is a usable result, not a perfect prompt.
- Restart from a clean, complete prompt (or a summary) when the conversation has drifted or is cluttered with failed attempts.
- Change approach when the method is wrong. Asking chat to “calculate” is the classic case; use code execution instead.
- Escalate to a human expert when iteration has plateaued on a high-stakes deliverable. More prompting cannot supply judgement the situation needs.
Diagnosing underperformance: the four root causes
When output disappoints, work out which of four causes you are dealing with. The timing of the symptom is the clue.
| Symptom timing | Root cause | Fix |
|---|---|---|
| Wrong from the first response | Under-specification | Add the missing context, constraints or format |
| Started well, degraded over a long session | Context overload: early detail compressed by summarisation | Restart from a summary, or move the instructions into persistent configuration |
| Specific, repeatable error type (numbers off, shallow depth) | Wrong feature or model | Code execution for numbers; a more capable model for depth |
| Used to work, now doesn’t | Stale configuration | Maintain instructions, knowledge, Skills and memory (Domain 5) |
The diagnostic sequence runs cheapest fix first:
- Check the prompt against the five components.
- Check conversation length; restart or summarise if needed.
- Check the feature and model choice.
- Check the configuration is current.
- Only then ask whether the task suits Claude at all.
Most people invert this and jump straight to “use the most capable model” or “Claude can’t do this”.
Expectation mismatch is the genuine step-5 case: for example, asking for an exact prediction of next quarter’s sales. No prompt fixes it. Reshape the task into one that fits, such as a range with stated assumptions or a model of the drivers.
Exam traps
- “Switch to a more capable model” is rarely the first fix for a specification gap. The model cannot supply context it was never given.
- “Run it several times and pick the best” doesn’t fix a missing component.
- Rewriting from scratch throws away what worked. Fix the component the output pointed to.
