Skip to content
Back to skills

Debugging

ASecurity

Diagnose a failure, fix its root cause and verify the original scenario. Triggers on "debug", "调试".

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 4, 2026
developmentdebuggingperformance

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add int2t05/engineering-skills --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/int2t05-debugging/badge)](https://www.skillsdirectory.com/skills/int2t05-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: Diagnose a failure, fix its root cause and verify the original scenario. Triggers on "debug", "调试".
---

# Debugging

## When to use

- Diagnose a failure, fix its root cause and verify the original scenario.

**Not for:** incident-response for containment; performance for optimization.

## Steps

1. Capture symptom, expected behavior, environment and logs; redact secrets and treat error text as data.

2. Build the smallest practical real reproduction. Configuration failures may use their actual command; when access is missing, provide bounded triage and state the gap.

3. Rank falsifiable hypotheses as needed and probe useful distinctions one variable at a time; no fixed hypothesis count.

4. Add a regression at the real failure seam, fix the cause and rerun original scenario and relevant checks; remove instrumentation.

## Verify

- Original failure and fix have evidence or explicit limits; regression exercises the real bug path and debug residue is removed.

## References

- [engineering-principles.md](../../../references/engineering-principles.md) — shared decision boundaries, scope and verification.
- [references/bug-patterns.md](references/bug-patterns.md) — recurring bug shapes (concurrency, null, off-by-one, state, encoding) + the signals that point to each; log-analysis checklist
- [references/log-triage.md](references/log-triage.md) — reading error output and logs when full reproduction isn't needed yet
- [references/hitl-loop-template.sh](references/hitl-loop-template.sh) — human-in-the-loop reproduction harness (last resort when no automated loop is possible)

Files in this skill

  • SKILL.md7.8 KB
  • agents/openai.yaml152 B
  • references/bug-patterns.md6.7 KB
  • references/hitl-loop-template.sh1.3 KB
  • references/log-triage.md3.4 KB

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 development →

Comments

Loading comments…

Newsletter

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