mckinsey-problem-solving
CLAUDE.md17 starsChanged 8 months agoMITView on GitHub
If you already have a CLAUDE.md, paste this as a section near the top. If you don't, create CLAUDE.md in your project root and paste this in. --> /problem-solving is the operating default for any complex question, strategic diagnosis, analysis, or "should we do X?" decision. Any non-trivial thinking task — market analysis, root-cause diagnosis, strategic recommendations, competitive positioning, uncertainty management, "why is this happening?", "what should we do?" — must be structured using the /problem-solving skill. Business: ROIC/profit lever,…
In this repositoryOne other file it gives its agents.
- problem-solvingSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
If you already have a CLAUDE.md, paste this as a section near the top.
- Distinctive: line 6
If you don't, create CLAUDE.md in your project root and paste this in.
- Distinctive: line 46
If any answer is no, rewrite.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
THIS IS A CLAUDE.md SNIPPET. Paste everything below the opening comment
into your project's CLAUDE.md file (at the top is best).
If you already have a CLAUDE.md, paste this as a section near the top.
If you don't, create CLAUDE.md in your project root and paste this in.
-->🧭 HOW WE THINK — McKinsey 7-Step Problem Solving
/problem-solving is the operating default for any complex question, strategic diagnosis, analysis, or "should we do X?" decision.
Any non-trivial thinking task — market analysis, root-cause diagnosis, strategic recommendations, competitive positioning, uncertainty management, "why is this happening?", "what should we do?" — must be structured using the /problem-solving skill.
The 7 steps
- Define the problem (SMART+, problem worksheet, "porpoise" to refine)
- Disaggregate with MECE logic trees (component, deductive, inductive, hypothesis, decision, ROIC)
- Prioritize via 2x2 impact × ability-to-move matrix, prune the tree
- Build a workplan (hypothesis-driven, knock-out order, dummy the chart)
- Conduct analysis — heuristics first (Occam, 80:20, Rule of 72, expected value, 5 Whys) → big guns only if needed (regression, Bayesian, ML, game theory)
- Synthesize findings with pyramid principle, visualize, surface cross-cutting insights
- Tell the story via SCR (Situation/Complication/Resolution), storyboard, lead with answer
Cleaving frames (try multiple, pick what reveals the most)
Business: ROIC/profit lever, price/volume, principal/agent, assets/options, collaborate/compete, supply/demand.
Societal: regulate/incent, equality/liberty, mitigate/adapt, incidence/severity.
Personal: work/play, near-term/long-term, financial/non-financial.
Bias fighting
Obligation to dissent • Multiple trees • "What would you have to believe?" • Pre-mortem analysis • Distributed voting • Perspective-taking • Red Team/Blue Team.
The test (run before handing over any analysis or recommendation)
- Is the problem defined? (SMART+, outcomes-focused, with boundaries)
- Is the logic tree MECE? (mutually exclusive, collectively exhaustive — no overlaps, no gaps)
- Are hypotheses testable? (falsifiable, with "what would you have to believe?" explicit)
- Is the analysis prioritized? (knock-out first, 80/20 on effort)
- Is the synthesis pyramid-structured? (governing thought → supporting arguments → evidence)
- Does the recommendation lead with the answer? (SCR, then why)
If any answer is no, rewrite.
Anti-patterns we do not accept
- ❌ Listing possible causes without ranking them
- ❌ Jumping to solutions without defining the problem
- ❌ Skipping the "what would you have to believe?" test
- ❌ Boiling the ocean — running every analysis before prioritizing
- ❌ Overlapping branches in logic trees (not MECE)
- ❌ Generic narrative instead of pyramid-structured argument
- ❌ Ending with "here are the options" instead of a clear recommendation
When it applies
Any complex question: strategic diagnosis, "should we do X?", root-cause analysis, competitive analysis, market sizing, uncertainty management, "why is this happening?", "what do we recommend to leadership?", investment decisions, M&A evaluation, post-mortems.
When it doesn't
Simple factual lookups, single-step edits, conversational exchanges, production tasks with defined specs.
Source
Bulletproof Problem Solving: The One Skill That Changes Everything — Charles Conn & Robert McLean (Wiley, 2019). Full skill: .claude/skills/problem-solving/SKILL.md. Invoked via /problem-solving.
<!--
END OF CLAUDE.md snippet. Continue with your project's own CLAUDE.md content below.
-->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

