ablevarghese/ios-claude-toolkit/solve
Claude Code and agent skill by ablevarghese/ios-claude-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Structured Decision Engineering framework. Use when facing decisions, trade-offs, architecture choices, or ambiguous problems with multiple viable paths. Synthesizes OODA, MECE, A3, Working Backwards, Cynefin, Mental Models, Cognitive Debiasing, Antifragility, Satisficing, Inversion, and PDCA into a single adaptive process.
Install
npx vskill@latest install ablevarghese/ios-claude-toolkit/solveSKILL.md
The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/solve.
/solve — Structured Decision Engineering
The definitive problem-solving framework. Synthesizes 11 world-class methodologies into a single adaptive process that scales from 2-minute crisis response to multi-week architectural decisions.
Lineage: OODA Loop (Boyd, military) + MECE (McKinsey) + A3 (Toyota) + Working Backwards (Amazon) + Cynefin (Snowden) + Mental Models (Munger) + Cognitive Debiasing (Kahneman) + Antifragility (Taleb) + Satisficing (Simon) + Inversion (Jacobi) + PDCA (Deming)
When to Use
Any time you face a decision, problem, trade-off, or ambiguity with more than one plausible path forward. If you're about to pick the first idea that comes to mind — stop and run this process.
Speed Control: Read This First
Not every problem deserves the same rigor. Before starting, classify:
Decision type (Bezos):
- Type 1 (Irreversible): Architecture, data migrations, public APIs, pricing, hiring. Full process. Sleep on it.
- Type 2 (Reversible): Refactors, config, feature flags, internal tools. Decide in hours with 70% information. Move fast.
Problem category (Cynefin):
| Category | Signal | Process | Time | |
|---|---|---|---|---|
| Simple | Known solution, done before | Steps 1→5→6→10 | 5 min | |
| Complicated | Multiple viable paths, needs analysis | Full 10 steps, moderate depth | 15-60 min | |
| Complex | No clear solution, unknowns, emergent | Full 10 steps, heavy on 2, 7, 8 | 1-4 hours | |
| Chaotic | Crisis, system down, bleeding | Step 8 FIRST (act), then 1→10 | 2 min to act, full loop after |
Satisficing gate (Simon, Nobel Prize): For low-stakes Type 2 decisions, the first adequate solution is often better than spending time finding the optimal one. If the stakes are low and the decision is reversible, pick the first solution that clears your constraints and move on. Analysis paralysis on small decisions is a worse failure mode than picking a B+ option.
The 10 Steps
Step 1: DEFINE — State the Real Problem
OODA: Observe | McKinsey: Issue Tree | Toyota: Background
Write one sentence: "The problem is [X] because [Y], which causes [Z]."
If you can't fill all three blanks, you don't understand the problem. Ask questions. Read actual code, data, logs — never theorize from memory.
Separate symptom from problem:
- Symptom: "The tests are failing"
- Problem: "The timing-safe hash check rejects mock hashes that don't match SHA256, blocking the pipeline"
If the problem doesn't actually exist after investigation — STOP. Document the non-finding. Solving phantom problems is worse than solving nothing.
Step 2: DIAGNOSE — Find the Root Cause
OODA: Orient | Toyota: Root Cause Analysis | 5-Whys
Ask "why?" repeatedly until you reach a cause you can act on. Each answer must be evidence-based — read the code, check the data, verify the claim.
5-Whys example:
- Why did the push fail? → Tests failed during the pipeline
- Why did tests fail? → Security tests returned 401 instead of 200
- Why 401? → timingSafeEqual rejected the hash comparison
- Why rejected? → Mock hash "mock-api-key-hash" isn't valid hex, Buffer.from("hex") produces different bytes
- Why hex encoding? → Implementation assumed all hashes are hex (true in prod, false in tests)
Root cause: Encoding assumption mismatch between production and test data
For complex problems, use a fishbone diagram across categories: People, Process, Technology, Environment, Data.
For simple problems: one sentence, move on.
Step 3: CONSTRAIN — Map the Boundaries
OODA: Orient | McKinsey: Constraints
Solutions that ignore constraints are fantasies. Map these before generating options:
| Constraint | Question to Answer | |
|---|---|---|
| Time | Deadline? Blocking others? How urgent vs how important? | |
| Effort | Hours, days, weeks? Who does the work? What's the opportunity cost? | |
| Dependencies | What must exist first? What else breaks if we change this? | |
| Reversibility | Can we undo it? How fast? At what cost? | |
| Blast radius | How many files, services, users, customers affected? | |
| Risk tolerance | What's the worst case? Can the business survive it? | |
| Compatibility | Does it break APIs, contracts, user expectations? | |
| Cost of delay | What does each day/week of indecision cost? Is NOT deciding worse than a wrong but reversible decision? |
Step 4: APPLY MENTAL MODELS — See the Problem Through Multiple Lenses
Munger: Latticework of Mental Models
Before generating solutions, run the problem through relevant models from different disciplines. This prevents narrow thinking. Not all models apply to every problem — pick 3-5 that fit.
Engineering: First principles, redundancy, feedback loops, failure modes Economics: Opportunity cost, marginal utility, incentive alignment, sunk cost Psychology: Incentives, social proof, loss aversion, commitment bias Biology: Evolution, niche competition, Red Queen effect, adaptation Physics: Entropy, critical mass, leverage Systems: Second-order effects, emergence, bottleneck theory
Selection guide — match models to problem type:
- Technical/engineering → Engineering + Systems models
- Business/strategic → Economics + Psychology models
- People/process → Psychology + Biology models
- Novel/unprecedented → Physics (first principles) + all disciplines (wide search)
Output: Name 3-5 models that apply. For each, one sentence on what it reveals about this specific problem. If a model contradicts another, note the tension — that's where the real insight lives.
Step 5: INVERT — How Would This Fail?
Munger/Jacobi: "Invert, always invert"
Instead of "how do I solve this?", ask: "How would I guarantee this problem gets WORSE?"
List 3-5 ways to guarantee failure. Then ensure your solutions avoid every single one.
Example (dashboard rate limiting):
- Guarantee failure: Don't rate limit at all → abuse escalates
- Guarantee failure: Rate limit by IP only → authenticated attackers bypass with session tokens
- Guarantee failure: Set limits too low → legitimate users get locked out
- Guarantee failure: No bypass for admins → can't debug production issues
This surfaces risks that positive thinking misses. Munger attributes more of his success to avoiding stupidity than to being clever.
Step 6: GENERATE — Produce Solutions (Full Spectrum MECE)
McKinsey: Mutually Exclusive, Collectively Exhaustive
Generate solutions across the full intervention spectrum — from doing nothing to transforming everything. Anchoring on the first idea is the #1 decision failure; clustering solutions in one region of the spectrum is the #2 failure.
Solutions must be:
- Mutually exclusive: Each is a distinct path (no "A but with a bit of B")
- Collectively exhaustive: Together they cover the full solution space from zero intervention to maximum intervention
The 5 mandatory solution slots (produce all 5, then cut any that are genuinely inapplicable):
- Option 0: Do Nothing / Status Quo — What happens if we don't act? What's the cost of inaction? This option is ALWAYS worth evaluating because it forces you to quantify why action is needed. Sometimes "do nothing" is genuinely the best choice. Explicitly rejecting it is more valuable than never considering it.
- Option A: Minimal Intervention — The lightest touch that could plausibly work. Band-aid fix. Incremental improvement on what exists. The question is: "What's the absolute least we could do?" Not a clever alternative — the laziest credible option. If the current approach has 6 warning scripts that don't prevent the problem, Option A might be "add a 7th warning script." This lets you explicitly reject the minimal path with evidence.
- Option B: Conventional Best Practice — What experts in this domain would recommend. The standard, proven, widely-adopted solution. Search for prior art — someone has almost certainly solved this before. This is usually the front-runner.
- Option C: Unconventional / Creative — Challenge an assumption. What if we solved the upstream problem instead? What if we made the problem irrelevant? What if we turned the weakness into a strength? What would a competitor do? What would someone with 10x our budget do? What would someone with 1/10th our budget do?
- Option D: Eliminate the Problem — What if we removed the need entirely? Can we restructure so this problem cannot exist? This is the "don't manage complexity — remove it" option. Example: "Don't isolate parallel agents — don't run parallel agents." This challenges whether the constraint that created the problem is actually necessary.
Feed inversion into generation: Review your failure modes from Step 5. At least one solution should directly address the #1 failure mode identified by inversion.
Antifragility lens (Taleb): For at least one solution, evaluate: does this get BETTER when surprises happen? Prefer options with capped downside and uncapped upside (convexity) over options that are merely robust.
Stakeholder perspectives: Before finalizing, ask: would the user/customer choose differently than the implementer? Would a security auditor? Would someone optimizing for speed vs. quality? If any perspective produces a new solution, add it.
Spectrum validation check (do this AFTER generating): Plot your solutions on the intervention spectrum. If all solutions cluster in one region, you have a coverage gap. Add solutions to fill empty regions. The goal is that after reading all options, there is no obvious "but what about...?" left unaddressed.
Hybrid solution check: After evaluating all options in Step 7, if the best answer combines elements from multiple options (e.g., B's architecture with C's rollout strategy), describe the hybrid as a new option and evaluate it. MECE applies to the initial generation — but the best real-world solution often synthesizes across options. Don't let the framework prevent the obvious best answer.
For each solution: one paragraph covering what it is, how it works, and what changes.
Step 7: EVALUATE — Weighted Decision Matrix
McKinsey: Evaluation Matrix | Toyota: Select Countermeasure
Score each solution against weighted criteria:
| Criteria | Weight | What It Measures | |
|---|---|---|---|
| Effectiveness | 25% | How completely does it solve the root cause? | |
| Effort | 15% | Implementation cost (time, complexity, risk of bugs) | |
| Risk | 15% | What's the worst case? Probability x impact | |
| Reversibility | 10% | How easily can we undo this if wrong? | |
| Maintenance | 10% | Ongoing burden after ship? Tech debt? | |
| Second-order effects | 10% | What else changes? Positive and negative side effects | |
| Antifragility | 10% | Does it get stronger under stress/surprise? | |
| Regret minimization | 5% | At age 80, would you regret NOT trying this? (for strategic decisions) |
Evaluation table:
| Criteria (Weight) | Opt 0: Status Quo | Opt A: Minimal | Opt B: Best Practice | Opt C: Creative | Opt D: Eliminate | |
|---|---|---|---|---|---|---|
| Effectiveness (25%) | X/10 | X/10 | X/10 | X/10 | X/10 | |
| ... | ... | ... | ... | ... | ... | |
| Weighted Total | X.X | X.X | X.X | X.X | X.X |
Drop any column where you determined the option was genuinely inapplicable in Step 6. But you should have at least 4 columns — if you have fewer, your solution generation was too narrow.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/solve/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ablevarghese/ios-claude-toolkit/solve)