Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

troubleshoot

verified

Use when user reports an error, bug, or something not working. Search-first troubleshooting with diagnostic phase. Triggers: debug, error, broken, not working, failing, crash, exception.

View on GitHub

Marketplace

digital-stoic-marketplace

digital-stoic-org/agent-skills

Plugin

dstoic

Repository

digital-stoic-org/agent-skills

dstoic/skills/troubleshoot/SKILL.md

Last Verified

February 3, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/digital-stoic-org/agent-skills/blob/main/dstoic/skills/troubleshoot/SKILL.md -a claude-code --skill troubleshoot

Installation paths:

Claude
.claude/skills/troubleshoot/
Powered by add-skill CLI

Instructions

# Troubleshoot

Search-first diagnostic workflow. Human executes commands.

## Workflow

`0.Load → 1.Search → 2.Qualify → 3.Diagnose → 4.Investigate → 5.Learn`

### 0. Load Learnings

Read `/praxis/reference/troubleshoot/learnings.yaml` if exists. Apply known patterns before searching.

### 1. Search (do first)

80% of bugs solved online.

- WebSearch: `[error] [stack] [framework]` on SO, GitHub, Docs, Reddit
- Solution found → skip to 5.Learn

### 2. Qualify (2-3 questions)

AskUserQuestion:
- Stack? (language, framework, runtime)
- Environment? (local, container, cloud)
- Changed recently? (deploy, config, dependency)

### 3. Diagnose

See `protocols/diagnose.md` for details.

1. **Mental models**: Check learnings.yaml → WebSearch pattern → reason with 5 Whys/Fishbone
2. **Isolation**: Wolf Fence (binary search), swap one variable, minimal repro
3. **Root cause drill**: 5 Whys, Fishbone 6 M's

Pattern matches → suggest fix, skip OODA

### 4. Investigate (OODA)

Only if diagnosis inconclusive.

- Observe: User runs command, pastes output
- Orient: Analyze, update hypothesis
- Decide: Next command or confirm cause
- Act: Suggest fix (user executes)

Exit when root cause confirmed and fix verified.

### 5. Learn

After resolution, AskUserQuestion: "Save this learning?"
- Global → append to `/praxis/reference/troubleshoot/learnings.yaml`
- Project → append with `scope: project:<name>`
- Skip

## Refs

- `protocols/diagnose.md` - Mental models, bisect strategies

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1461 chars