Troubleshooting a Claude prompt starts from the same discipline as troubleshooting anything else: you can't fix what you haven't precisely described. "The output isn't very good" isn't a diagnosis — it's a symptom. Diagnosis means running the prompt, collecting specific real outputs you weren't happy with, and naming exactly what's wrong with each one (wrong tone, missed a requirement, invented a fact, inconsistent structure between runs) before you touch the prompt at all.
This matters because the fix for "Claude's tone is off" is often completely different from the fix for "Claude keeps skipping a step," and both are completely different from "Claude's output looks plausible but the numbers are wrong." Skipping straight to a rewrite without first isolating which of these you're actually looking at means you're as likely to make things worse as better.
The Try-Notice-Adjust Loop
Prompt troubleshooting works best as a small, repeatable loop rather than a one-time rewrite: try the prompt against a real input, notice precisely where the output falls short (not just that it's "bad"), and adjust with one targeted change aimed at that specific shortfall. Then run the loop again. Ad-hoc tweaking without running the loop — changing three things at once because the output "felt off" — tends to fix the one case you happened to be staring at while quietly breaking something else you weren't checking.
The discipline here is resisting the urge to rewrite the whole prompt from scratch the moment something looks wrong. A prompt that's 90% working and fails on one category of input needs a targeted diagnosis of that one category, not a ground-up replacement of the 90% that was already fine.
Asking Claude to Diagnose Its Own Failing Prompt
Claude can help with diagnosis directly, and this is one of the most efficient troubleshooting moves available on the exam and in practice: paste in the underperforming prompt along with one or two concrete examples of outputs you weren't happy with, and ask Claude to explain what about the prompt likely caused each specific problem, and suggest targeted fixes. Given real failing examples to reason from, Claude will typically point at the same underlying techniques covered elsewhere in this course — a missing role, missing examples, ambiguous instructions, no explicit criteria — as concrete, applied diagnoses rather than abstract advice.
The trap is asking generically: "here's my prompt, make it better," with no failing example attached. Without a concrete instance of the output actually going wrong, Claude is guessing at what "better" means in exactly the same way you were before you started diagnosing — it has nothing to diagnose against, only a prompt that looks reasonable in isolation.
Feeding Claude the Real Constraints, Not a Generic Ask
The same principle extends past writing tasks. Suppose a basic database schema Claude produced is underperforming — it technically works but doesn't reflect how the business actually operates. Asking Claude to "make the schema better" or "make it more professional" gives it nothing to diagnose against; it will guess at plausible-sounding improvements that may have nothing to do with your actual problem. The stronger move is to hand Claude the real business rules the schema needs to support — what entities exist, how they relate, what must never be null or duplicated — and ask for a revised schema with explicit relationships and constraints derived from those specific rules. Diagnosing against real constraints, not asking for generic improvement, is the pattern that generalises across writing, coding, and design troubleshooting alike.
Key Concept
Diagnose an underperforming prompt with a repeatable try-notice-adjust loop: run it, name precisely what's wrong with the actual output, make one targeted change, and re-run. Give Claude itself the failing examples and the problem's real constraints when asking it to help — not a generic "make this better."
Common Exam Distractor
Watch for answers that describe rewriting a prompt from scratch, or asking for a generic improvement, immediately after noticing one bad output — with no specific failing example and no named cause. The exam favours diagnosing the precise shortfall first (tone? structure? missing step? wrong fact?) and making one targeted change grounded in a real example, over a broad, unfocused rewrite.