Skip to content
Back to skills

Debugging

ASecurity

Find the root cause of a bug with evidence - reproduce, isolate, hypothesise, test one change at a time - before writing any fix.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 21, 2026
ai-agentsdebugginggit

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add shouryaraj/company-factory --skill debugging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debugging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debugging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shouryaraj-debugging/badge)](https://www.skillsdirectory.com/skills/shouryaraj-debugging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debugging
description: Find the root cause of a bug with evidence - reproduce, isolate, hypothesise, test one change at a time - before writing any fix.
---
# Debugging

Never fix what you have not reproduced.

1. **Reproduce.** Write the exact command, input and observed vs expected output. If you cannot reproduce it, stop and report what you tried; do not guess-fix.
2. **Shrink.** Cut the input and code path until removing anything else makes the bug disappear. Turn that into a failing test.
3. **Read before you change.** Trace the failing path: logs, stack trace, the code at each frame. Note every assumption you are making.
4. **Hypothesise, then test one thing.** Write the hypothesis down ("the cache returns stale data after a write"). Design a check that would prove it wrong. Change one variable per run.
5. **Bisect when lost.** `git bisect` across commits, or binary-search config, data or versions.
6. **Fix the cause, not the symptom.** If the fix is a guard or retry, explain why the root cause cannot be fixed here.
7. **Prove it.** The failing test now passes and the full suite still passes; paste both commands and results.

Handoff must include: root cause in one sentence, evidence, the fix, the test, and anything else likely affected by the same cause.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.