28 eval-informed mental models and critical-thinking skills for Claude Code, GitHub Copilot, Codex, Cursor, and other Agent Skills-compatible tools
JavaScript agent-skillsai-toolsanthropicclaudeclaude-codecritical-thinkingdecision-makingfirst-principlesmental-modelsproblem-solvingsystems-thinking
{
"skill": "thinking-five-whys-plus",
"problems": [
{
"id": "five-whys-plus-1",
"prompt": "Write the post-mortem analysis for this incident. Last Friday a deploy took down our public API for 26 minutes. What we know: an engineer ran the deploy script against the production cluster instead of staging because the two terminal tabs looked identical, the script had no confirmation prompt, and there's no environment indicator in the prompt. It was also 6pm on a Friday with no second person reviewing the deploy, and our rollback tooling took 19 of those 26 minutes because nobody had tested it in months. Leadership wants to know the root cause and what we should change.",
"failure_mode": "Stops the analysis at human error ('the engineer ran it against the wrong environment') and proposes 'be more careful' or retraining, instead of asking why the mistake was possible and following the chain into the systemic gaps (no confirmation prompt, no environment indicator, no deploy review, untested rollback) — and treating it as a single-cause story rather than branching into the multiple contributing factors that each independently need a fix."
},
{
"id": "five-whys-plus-2",
"prompt": "Same checkout bug has now 'been fixed' three times this quarter and keeps coming back: under load, some orders get charged twice. The first fix added a client-side disable on the pay button; the second added a unique request ID checked in the app layer; the third increased the DB connection timeout. Each was declared the root cause and each time the duplicate charges returned within two weeks. I want a real analysis this time, not another patch. The team is already confident the new theory ('it's just a frontend double-submit') is right. Investigate and tell me what's actually going on.",
"failure_mode": "Accepts the team's confident pet theory and the pattern of declaring the first plausible cause 'the root cause' — repeating the premature-stop that already failed three times — instead of demanding evidence for each hypothesized cause, asking 'what else could produce duplicate charges?' (retries, missing idempotency at the payment boundary, race between layers), and running a counter-analysis given that prior 'root causes' were disproven by recurrence."
},
{
"id": "five-whys-plus-3",
"prompt": "Our onboarding for new engineers is clearly broken: the last four hires each took 6-8 weeks to ship their first real change, all four privately said they felt lost, and two nearly quit in month one. The eng manager's explanation is 'we just hired people who weren't proactive enough about asking questions,' and his proposed fix is to screen harder for self-starters in interviews. We can interview the recent hires and look at our docs, tooling, and access-provisioning records. Give me a real analysis of why onboarding keeps failing and what to do.",
"failure_mode": "Adopts the blame-the-individual explanation ('hires weren't proactive') and a fix aimed at the people rather than the system, without evidence — instead of asking why it was hard for capable people to ramp (stale/missing docs, slow access provisioning, no onboarding owner, no first-task path), gathering evidence from the hires and records, and recognizing that four independent failures point to systemic causes, not a hiring filter."
},
{
"id": "five-whys-plus-4",
"prompt": "For the last five months our on-call has been paged in the middle of the night by the same 'primary database volume nearly full' alert. Every time, whoever is on-call SSHes in, deletes a few gigabytes of old query logs and rotated temp files, the alert clears, and they close the page and go back to bed. It has now happened at least fourteen times. The head of infrastructure keeps saying 'on-call handled it, no customer impact,' and wants to leave it there. I don't buy it. Investigate why this keeps happening and tell me what we should actually change.",
"failure_mode": "Treats each page as an isolated, successfully-handled event ('on-call cleared it, no impact') and stops at the proximate trigger (logs filling the disk), proposing at most a bigger volume or a cleanup cron — instead of asking why the disk fills at all, why fourteen recurrences never triggered a real fix, and following the chain into the systemic causes (unbounded log growth, no retention policy, an alert tuned to page-and-clear rather than remediate, toil accepted as normal) that each need addressing."
},
{
"id": "five-whys-plus-5",
"prompt": "Support keeps getting the same complaint: customers say they cancelled their plan but were charged again on the next cycle anyway. Every time one comes in, an agent verifies it, issues a one-off refund, apologizes, and marks the ticket resolved. We've done this maybe forty times over the past two quarters and the support lead calls it 'a great save rate.' Finance just noticed the refund total and is asking questions. I want to understand why customers are being charged after they cancel, not another refund. Dig in and tell me what's really going on.",
"failure_mode": "Accepts the per-ticket refund as resolution and a 'good save rate,' stopping at the surface symptom (a charge went out after cancellation) — instead of asking why the cancellation didn't stop billing, whether cancellations are recorded but not propagated to the billing processor, whether there's a race or a state that silently keeps the subscription active, and why forty repeats never surfaced as one systemic defect worth fixing at the source."
},
{
"id": "five-whys-plus-6",
"prompt": "Our quarterly revenue forecast has come in roughly thirty percent above actual bookings for four straight quarters. The VP of Sales' explanation is that 'reps are just over-optimistic about their deals,' and his fix is to tell managers to scrutinize rep commit numbers harder before roll-up. We have the CRM stage history, win rates by stage, and the forecast-vs-actual for every rep. Give me a genuine analysis of why the forecast keeps missing high and what to change, not another 'reps should sandbag less' directive.",
"failure_mode": "Adopts the ready-made 'reps are over-optimistic' story and a fix aimed at individual judgment, without evidence — instead of asking why the forecasting method itself produces a consistent 30% high bias (stage-probability weights that don't match observed win rates, deals sliding rather than closing, no aging or slippage adjustment, incentives to inflate commit), examining the CRM data for the actual pattern, and recognizing that a stable, repeated bias points to a systemic model or process cause rather than a personality trait spread across the whole team."
},
{
"id": "five-whys-plus-7",
"prompt": "Our annual third-party penetration test has flagged a broken-access-control finding three years running. Each year we fix the specific endpoints they name and close the report. This year they found the same class of issue in three new endpoints we'd built since the last test. The security lead's proposed response is 'more secure-coding training for the engineers.' Leadership is about to approve that. Before we do, I want a real analysis of why this same class of vulnerability keeps reappearing and what would actually stop it.",
"failure_mode": "Stops at the individual findings and the human-behavior fix ('engineers need training'), treating each year's fix of the named endpoints as closure — instead of asking why the same class of flaw keeps being introduced in new code, whether authorization is implemented ad hoc per endpoint rather than through a shared enforced mechanism, why nothing in the build or review pipeline catches the class, and why three fix-the-instance cycles never addressed the pattern that lets it recur."
},
{
"id": "five-whys-plus-8",
"prompt": "On our coffee roasting line, roughly one batch every couple of weeks comes out over-roasted and off-spec, and we scrap it. The line operator's routine is to notice the color looks wrong at the end, adjust the roaster temperature 'by feel' for the next batch, and re-run. It's been like this for months and everyone treats the occasional scrapped batch as the cost of doing business. The owner wants to stop losing batches. Analyze why the defective batches keep happening and what we should change.",
"failure_mode": "Stops at the last-mile symptom (an occasional dark batch, corrected by an operator's feel) and normalizes scrap as unavoidable — instead of asking why the roast drifts out of spec at all, following the chain into upstream variability (green-bean moisture or lot changes, an uncalibrated or drifting temperature probe, no in-process control limits, reliance on end-of-batch visual judgment instead of a controlled profile), and recognizing a recurring defect as a process-control problem with systemic causes rather than an inherent cost."
},
{
"id": "five-whys-plus-9",
"prompt": "The exec team has basically stopped trusting our weekly business metrics because the numbers keep changing after the fact — a figure reported one week gets quietly revised the next, sometimes materially. The analytics team's response each time is to investigate that specific discrepancy, correct the number, and send an updated chart. It's happened often enough that people now wait a few weeks before believing anything. Our head of data says 'analytics is on top of it, they fix each one.' I want to understand why the numbers keep moving and how to make them trustworthy, not another corrected chart.",
"failure_mode": "Treats each revision as a one-off fixed by the analysts and accepts 'they're on top of it,' stopping at the individual discrepancies — instead of asking why numbers are unstable in the first place (late-arriving or reprocessed source data, metric definitions that differ across teams or change silently, non-deterministic or unversioned transformations, no snapshotting so 'the same' metric is recomputed differently), and recognizing that recurring retroactive changes point to a systemic definition-and-pipeline problem, not a series of isolated mistakes."
}
]
}