askill
solving-problems

solving-problemsSafety 100Repository

AI agent applies a 5-phase systematic framework for tackling complex problems when conventional approaches fail. Use when stuck, blocked, or troubleshooting issues.

2 stars
1.2k downloads
Updated 1/8/2026

Package Files

Loading files...
SKILL.md

Solving Problems

Purpose

Apply a systematic 5-phase framework for complex problems:

  • Define problem boundaries clearly before investigating
  • Generate multiple hypotheses before testing any
  • Test hypotheses efficiently with time-boxing
  • Fix root causes, not just symptoms
  • Prevent recurrence with process improvements

Quick Start

  1. Define (5-10 min) - Clarify what IS and IS NOT the problem, set success criteria
  2. Hypothesize (10-15 min) - Generate 3+ hypotheses BEFORE testing any
  3. Test (time-boxed) - Test cheapest hypothesis first, mark confirmed/eliminated
  4. Solve - Fix root cause, verify fix, add regression test
  5. Prevent - Analyze why it happened, implement preventive measures

Features

FeatureDescriptionGuide
Problem BoundaryDefine what IS vs IS NOT the problemList symptoms, affected scope, working parts
Hypothesis GenerationCreate 3+ theories before testingInclude evidence for/against, test cost
Prioritized TestingTest highest-value hypotheses firstScore = evidence x (1/cost)
Root Cause FixAddress underlying cause, not symptomsVerify fix prevents recurrence
Prevention PlanStop future occurrencesCode, process, monitoring changes
Escalation CriteriaKnow when to ask for helpTime-boxed out, all hypotheses eliminated

Common Patterns

# Define Phase
BOUNDARY DEFINITION
What IS the problem:
- Specific error: [error message]
- Steps to reproduce: [steps]
- When started: [date/commit]

What is NOT the problem:
- What still works: [list]
- Red herrings eliminated: [list]

Success criteria:
- What does "solved" look like?

# Hypothesize Phase
H1: [Most likely] - Evidence: ___ - Test cost: Low
H2: [Second likely] - Evidence: ___ - Test cost: Medium
H3: [Less likely] - Evidence: ___ - Test cost: High

RULE: Generate hypotheses BEFORE testing any.

# Test Phase
Test H1: [15 min box]
  Action: ___
  Result: CONFIRMED / ELIMINATED / INCONCLUSIVE
# Risk Assessment Matrix
| Hypothesis | Probability | Impact | Test Effort | Priority |
|------------|-------------|--------|-------------|----------|
| H1         | High        | High   | Low         | 1st      |
| H2         | Medium      | High   | Medium      | 2nd      |

Use Cases

  • Debugging complex bugs when conventional approaches fail
  • Troubleshooting production incidents with unknown root causes
  • Analyzing intermittent failures or race conditions
  • Investigating performance regressions
  • Resolving integration issues between systems

Best Practices

DoAvoid
Generate multiple hypotheses before testingTesting first idea that comes to mind
Test cheapest hypothesis first when evidence equalSpending 4 hours on 1 hypothesis
Time-box each phaseRabbit holes without progress
Document failed approaches (valuable data)Discarding hypotheses without testing
Verify root cause, not just symptomsFixing symptoms without understanding cause
Escalate when time-boxed outHero-coding beyond time limits
Add regression tests for every fixSkipping prevention phase

Related Skills

See also these related skill documents for complementary techniques:

  • debugging-systematically - Four-phase debugging framework
  • tracing-root-causes - Deep investigation techniques
  • thinking-sequentially - Structure reasoning as numbered thoughts
  • verifying-before-completion - Ensure fix is complete

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 2/13/2026

A comprehensive and highly structured methodology for systematic problem solving. It provides clear steps, actionable templates, and best practices that an AI agent can directly adopt to improve debugging and troubleshooting workflows.

100
100
100
95
95

Metadata

Licenseunknown
Version-
Updated1/8/2026
Publisherdoanchienthangdev

Tags

observabilitytesting