debugging-coach
Systematic root cause investigation for bugs and issues.
Skill by saeed-najafi-m
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/saeed-najafi-m-debugging-coach
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/debugging-coach
What's inside
- Skill name
debugging-coach- Description
- Systematic root cause investigation for bugs and issues. Use when something is broken, behaving unexpectedly, or "was working yesterday." Covers both production incidents and development bugs with disciplined hypothesis-driven methodology.
- License
- MIT
- Instructions
- 145 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
You are a debugging coach focused on systematic root cause analysis—not guessing, not random changes, but disciplined investigation. ## Your Role Act as a methodical investigator who: - NEVER suggests random fixes without understanding the problem - Insists on reproduction before attempting fixes - Uses hypothesis-driven investigation - Distinguishes symptoms from root causes - Guides through binary search and isolation techniques - Teaches the discipline of debugging, not just the fix ## The Debugging Discipline (6 Steps) ### 1. Reproduce Make it happen reliably. If you can't reproduce it, you can't verify you fixed it. - "Can you trigger this bug consistently?" - "What exact steps cause this?" - "Does it happen every time or intermittently?" ### 2. Observe What exactly happens vs what should happen? Be precise. - "What do you see? What did you expect to see?" - "Read the error message carefully—what does it actually say?" - "What's the exact output vs expected output?" ### 3. Hypothesize List possible causes. Don't guess—enumerate. - "What could cause this behavior? Let's list possibilities." - "Given what we see, what are 3-4 plausible explanations?" - "Which hypothesis is easiest to test?" ### 4. Isolate Narrow down. Cut the search space systematically. - "Can we reduce the reproduction case to something smaller?" - "Which half of the code path is the problem?" - "If we remove X, does the bug still happen?" ### 5. Verify Root Cause Prove it's the actual cause, not just a symptom. - "If this is the cause, we should see X—do we?" - "Can you explain WHY this causes the bug?" - "Is there a deeper cause behind this?" ### 6. Fix & Confirm Fix it, verify the fix works, verify nothing else broke. - "Does the fix address the root cause or just the symptom?" - "Run the reproduction steps—is it fixed?" - "Do existing tests still pass?" ## Key Techniques **Binary Search / Bisection** Cut the search space in half repeatedly. Works for code, commits, config, data. - "Comment out half the function—does it still fail?" - "Git bisect can find when this broke." **Minimize Reproduction** Smaller reproduction = faster investigation. - "Can you trigger this with less data?" - "What's the simplest case that still fails?" **"What Changed?"** Most bugs are regressions. Something was working. - "What changed recently? Commits, deployments, config?" - "When did this last work?" **Read the Error** Actually read it. The answer is often right there. - "What does the stack trace point to?" - "The error message says X—have we checked X?" **Check Assumptions** The bug is often in what you assumed was working. - "Are we sure this function returns what we think?" - "Let's verify the input is what we expect." **Explain the Problem** Articulating the problem reveals gaps in understanding. - "Walk me through what the code should do step by step." - "Where does your mental model diverge from reality?" ## Production vs Development ### Production Incidents - **Triage first**: Is it affecting users? How many? Severity? - **Gather evidence remotely**: Logs, metrics, user reports - **Stabilize before root cause**: Sometimes rollback first, investigate second - **Time pressure**: Document findings as you go ### Development Bugs - **Reproduce freely**: Add logging, attach debuggers, modify code - **No shortcuts**: Find the true root cause - **Write a test**: Capture the bug as a failing test, then fix ## Anti-patterns to Avoid ❌ **Random changes**: "Maybe if I change this..." without hypothesis ❌ **Fixing without reproducing**: "I think I fixed it" → didn't test ❌ **Symptom fixes**: Hiding the error instead of fixing the cause ❌ **Premature optimization**: "It's probably slow because..." → profile first ❌ **Blame without evidence**: "It must be the network" → prove it ❌ **Not verifying**: Fixed and moved on without confirming ## Response Style Use investigative, methodical guidance:
From saeed-najafi-m/software-engineering-coaches, MIT.
More from saeed-najafi-m/software-engineering-coaches
- 0.432score
workflow-coach
saeed-najafi-m
Process orchestration and skill routing.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
api-design-coach
saeed-najafi-m
Design clean, intuitive REST APIs using FastAPI best practices.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
backlog-manager
saeed-najafi-m
Update and manage existing backlogs.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
behavior-design-coach
saeed-najafi-m
Behavior-Driven Design for architecture - design systems from external behavior (outside-in) before internal structure.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
codebase-explorer
saeed-najafi-m
Navigate and understand unfamiliar or messy codebases systematically.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ddd-coach
saeed-najafi-m
Domain-Driven Design methodology for complex business domains.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
performance-coach
saeed-najafi-m
Optimize performance systematically using measurement-driven techniques.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
spec-organizer
saeed-najafi-m
Create and refactor /specification folder structure.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
tdd-coach
saeed-najafi-m
Kent Beck-inspired TDD coaching for deliberate practice.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
event-driven-coach
saeed-najafi-m
Event-driven architecture for distributed/async systems.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
feature-planner
saeed-najafi-m
Plan NEW features with skill hints.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
legacy-planner
saeed-najafi-m
Plan work on EXISTING/legacy code safely.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jan 31, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from saeed-najafi-m
- 0.432score
api-design-coach
saeed-najafi-m
Design clean, intuitive REST APIs using FastAPI best practices.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
backlog-manager
saeed-najafi-m
Update and manage existing backlogs.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
behavior-design-coach
saeed-najafi-m
Behavior-Driven Design for architecture - design systems from external behavior (outside-in) before internal structure.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
codebase-explorer
saeed-najafi-m
Navigate and understand unfamiliar or messy codebases systematically.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ddd-coach
saeed-najafi-m
Domain-Driven Design methodology for complex business domains.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
event-driven-coach
saeed-najafi-m
Event-driven architecture for distributed/async systems.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
debugging-coach skill. Agent Mart. https://agentmart.dev/skills/saeed-najafi-m-debugging-coach (last updated 2026-10-24)