Skip to content
Skills Library
Programming · Analysis

debug

/debug

Use when encountering any bug, test failure, or unexpected behavior. Requires root cause investigation before proposing fixes. No guessing.

Repository
beislid ↗
Licence
MIT
Last repository change
30.08.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 30.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when encountering any bug, test failure, or unexpected behavior. Requires root cause investigation before proposing fixes. No guessing.

Original author description

Use when encountering any bug, test failure, or unexpected behavior. Requires root cause investigation before proposing fixes. No guessing.

How it works

  1. Phases
  2. Red Flags
Original SKILL.md headings · 42 lines, 280 words
SKILL.md preview
---
name: debug
description: "Use when encountering any bug, test failure, or unexpected behavior. Requires root cause investigation before proposing fixes. No guessing."
---

# Debug Method

Find the root cause before touching code. No quick fixes, no guessing, no shotgun debugging.

<HARD-GATE>
Do NOT propose or implement a fix until you have identified the root cause with evidence. "It's probably X" is not a root cause.
</HARD-GATE>

## Phases

### 1. Reproduce
- Read the error message carefully — the full stack trace, not just the last line
- Reproduce the failure consistently
- If you can't reproduce it, you don't understand it yet

### 2. Investigate
- Check recent changes (`git log`, `git diff`) that could have introduced the issue
- Find a working reference — when did this last work? What's different?
- Trace the data flow from input to error point
- In multi-component systems, isolate which component fails first

### 3. Hypothesize
- Form a single hypothesis based on evidence gathered
- Test it minimally — the smallest change that proves or disproves the hypothesis
- If disproved, go back to step 2 with new information
- If you're stuck after 3 hypotheses, say "I don't understand this yet" and surface to the user

### 4. Fix
- Write a failing test that captures the bug
- Implement the fix — one change at a time
- Verify the test goes from red to green
- Run the full suite to check for regressions

## Red Flags

Stop yourself if you're thinking:
- "Let me just try changing X" — that's guessing
- "Quick fix for now" — that's deferring understanding
- "Multiple changes at once" — that's making it harder to know what worked
- "I don't fully understand but this should work" — go back to investigate

Versions

RepositoryScoreLicence
This page · sandsower/beislid90MIT
ericrisco/rsc-harness100MIT
nicsuzor/academicops100MIT
duronext/jig100MIT
drosam/agents100MIT
rizukirr/vibekit100MIT
DingyangLyu/MatClaw100Apache-2.0
Kanevry/session-orchestrator100MIT
kdlbs/kandev100AGPL-3.0

Database snapshot: 13.11.2026 · package version 5ce9509705bd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100systematic-debugging
    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
  • 100systematic-debugging
    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
  • 100systematic-debugging
    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
  • 100systematic-debugging
    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
  • 100systematic-debugging
    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
  • 100systematic-debugging
    Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.