From thinking-frameworks-skills
Guides what-if thinking for counterfactual reasoning, scenario exploration, pre-mortem analysis, and stress-testing decisions to test assumptions and prepare for uncertainty.
npx claudepluginhub lyndonkl/claude --plugin thinking-frameworks-skillsThis skill uses the workspace's default tool permissions.
- [Workflow](#workflow)
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Copy this checklist and track your progress:
Hypotheticals & Counterfactuals Progress:
- [ ] Step 1: Define the focal question
- [ ] Step 2: Generate counterfactuals or scenarios
- [ ] Step 3: Develop each scenario
- [ ] Step 4: Identify implications and insights
- [ ] Step 5: Extract actions or decisions
- [ ] Step 6: Monitor and update
Step 1: Define the focal question
What are you exploring? Past decision (counterfactual)? Future possibility (hypothetical)? Assumption to test? See resources/template.md.
Step 2: Generate counterfactuals or scenarios
Counterfactual: Change one key factor, ask "what would have happened?" Hypothetical: Imagine future scenarios (2-4 plausible alternatives). See resources/template.md and resources/methodology.md.
Step 3: Develop each scenario
Describe what's different, trace implications, identify key assumptions. Make it vivid and concrete. See resources/template.md and resources/methodology.md.
Step 4: Identify implications and insights
What does each scenario teach? What assumptions are tested? What risks revealed? See resources/methodology.md.
Step 5: Extract actions or decisions
What should we do differently based on these scenarios? Hedge against downside? Prepare for upside? See resources/template.md.
Step 6: Monitor and update
Track which scenario is unfolding. Update plans as reality diverges from expectations. See resources/methodology.md.
Validate using resources/evaluators/rubric_hypotheticals_counterfactuals.json. Minimum standard: Average score ≥ 3.5.
Pattern 1: Pre-Mortem (Prospective Hindsight)
Pattern 2: Counterfactual Causal Analysis
Pattern 3: Three Scenarios (Optimistic, Baseline, Pessimistic)
Pattern 4: 2×2 Scenario Matrix
Pattern 5: Assumption Reversal
Pattern 6: Stress Test (Extreme Scenarios)
Key requirements:
Plausibility constraint: Scenarios must be possible, not just imaginable. "What if gravity reversed?" is not useful counterfactual. Stay within bounds of plausibility given current knowledge.
Minimal rewrite principle (counterfactuals): Change as little as possible. "What if we had chosen Y instead of X?" not "What if we had chosen Y and market doubled and competitor failed?" Isolate causal factor.
Avoid hindsight bias: Pre-mortem assumes failure, but don't just list things that went wrong in similar past failures. Generate new failure modes specific to this context.
Specify mechanism: Don't just state outcome ("sales would be higher"), explain HOW ("sales would be higher because lower price → higher conversion → more customers despite lower margin").
Assign probabilities (scenarios): Don't treat all scenarios as equally likely. Estimate rough probabilities (e.g., 60% baseline, 25% pessimistic, 15% optimistic). Avoids equal-weight fallacy.
Time horizon clarity: Specify WHEN in future. "Product fails" is vague. "In 6 months, adoption <1000 users" is concrete. Enables tracking.
Extract actions, not just stories: Scenarios are useless without implications. Always end with "so what should we do?" Prepare, hedge, pivot, or double-down.
Update scenarios: Reality evolves. Quarterly review: which scenario is unfolding? Update probabilities and plans accordingly.
Common pitfalls:
Counterfactual vs. Hypothetical:
| Type | Direction | Question | Purpose | Example |
|---|---|---|---|---|
| Counterfactual | Backward (past) | "What would have happened if...?" | Understand causality, learn from past | "What if we had launched in EU first?" |
| Hypothetical | Forward (future) | "What could happen if...?" | Explore futures, prepare for uncertainty | "What if competitor launches free tier?" |
Scenario types:
| Type | # Scenarios | Structure | Best For |
|---|---|---|---|
| Three scenarios | 3 | Optimistic, Baseline, Pessimistic | General forecasting, strategic planning |
| 2×2 matrix | 4 | Two uncertainties create quadrants | Exploring interaction of two drivers |
| Cone of uncertainty | Continuous | Range widens over time | Long-term planning (5-10 years) |
| Pre-mortem | 1 | Imagine failure, list causes | Risk identification before launch |
| Stress test | 2-4 | Extreme scenarios (best/worst) | Decision robustness testing |
Pre-mortem process (6 steps):
2×2 Scenario Matrix (example):
Uncertainties: (1) Market adoption rate, (2) Regulatory environment
| Slow Adoption | Fast Adoption | |
|---|---|---|
| Strict Regulation | "Constrained Growth" | "Regulated Scale" |
| Loose Regulation | "Patient Build" | "Wild West Growth" |
Assumption reversal questions:
Inputs required:
Outputs produced:
counterfactual-analysis.md: Alternative history analysis with causal insightspre-mortem-risks.md: List of potential failure modes and mitigationsscenarios.md: 2-4 future scenarios with narratives and implicationsaction-plan.md: Decisions and preparations based on scenario insights