dnfjeff/expand-yoyr-mind/debugging
Claude Code and agent skill by dnfjeff/expand-yoyr-mind
- community
Checking that the SKILL.md file is still in the repository.
Systematic bug investigation with hypothesis tracking
Install
npx vskill@latest install dnfjeff/expand-yoyr-mind/debuggingSKILL.md
The same SKILL.md was published earlier as simhacker/moollm/debugging.
🔧 Debugging Skill
"Hypothesize, test, learn, repeat."
Debug problems methodically. Track hypotheses, test systematically, converge on root causes.
Purpose
Debug problems methodically. Track hypotheses, document tests, record what you learn, and converge on root causes.
When to Use
- Something isn't working as expected
- Mysterious behavior needs explanation
- Performance problems need diagnosis
- "Works on my machine" situations
The Debugging Loop
Terminal States
FIX— Bug resolvedWONTFIX— Intentional behaviorDEFER— Not addressing now
Protocol
Observation Phase
Before guessing, gather facts:
Hypothesis Tracking
Test Documentation
Schemas
Observation Schema
| Field | Required | Purpose | |
|---|---|---|---|
symptom | ✓ | Observable problem | |
expected | ✓ | What should happen | |
error_message | Exact error text | ||
logs | Relevant log entries | ||
steps_to_reproduce | How to trigger | ||
constraints | Known facts | ||
ruled_out | Eliminated possibilities |
Hypothesis Schema
| Field | Required | Purpose | |
|---|---|---|---|
id | ✓ | Unique identifier | |
claim | ✓ | What you think is wrong | |
test | ✓ | How to validate | |
confidence | high/medium/low | ||
if_true | Expected observations | ||
result | Test outcome | ||
learned | Insight gained |
Test Schema
| Field | Required | Purpose | |
|---|---|---|---|
id | ✓ | Unique identifier | |
hypothesis | ✓ | Which hypothesis | |
action | ✓ | What was tried | |
result | ✓ | confirmed/refuted/inconclusive | |
before | State before | ||
after | State after | ||
learned | Insight |
Core Files
| File | Purpose | |
|---|---|---|
DEBUG.yml | Current debugging session | |
HYPOTHESES.md | All hypotheses and their status | |
TESTS.md | Test log | |
ROOT_CAUSE.md | Final analysis |
Commands
| Command | Action | |
|---|---|---|
DEBUG [symptom] | Start debugging session | |
OBSERVE [fact] | Record observation | |
HYPOTHESIZE [claim] | Propose hypothesis | |
TEST [action] | Document test | |
LEARN [insight] | Record what you learned | |
ROOT-CAUSE [explanation] | Document root cause |
The Scientific Method for Bugs
- Observe: What exactly is happening?
- Question: Why might this be happening?
- Hypothesize: Form testable explanation
- Predict: What would we see if hypothesis is true?
- Test: Try to confirm or refute
- Analyze: What did we learn?
- Iterate: New hypothesis or fix
Debugging Techniques
Binary Search
Narrow down where the bug lives. Use when the bug is somewhere in a large space.
Rubber Duck
Explain the problem in detail. Use when stuck and need fresh perspective. Write detailed observation in DEBUG.yml — forces you to articulate assumptions.
Minimal Reproduction
Simplify until bug is isolated. Use when complex system with unclear cause.
Git Bisect
Find the commit that introduced bug. Use when bug is a regression.
Print Debugging
Add logging to trace execution. Use when you need to understand flow.
Working Set
Always include in context:
DEBUG.ymlHYPOTHESES.md
Integration
| Direction | Skill | Relationship | |
|---|---|---|---|
| ← | play-learn-lift | Debugging IS learning | |
| → | session-log | Log all debugging activities | |
| → | research-notebook | Complex bugs need research | |
| → | honest-forget | Compress debugging wisdom | |
| ↔ | adventure | Debugging IS adventure | |
| ↔ | room | Debug sessions are rooms | |
| ↔ | card | Git Goblin 🧌, Index Owl 🦉 companions |
Security
- Security scanPassed, 90 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 repositoryCheckingOurVersion/engine/8-memory/debugging/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/dnfjeff/expand-yoyr-mind/debugging)