Skip to content
Back to skills

Common Debugging

ASecurity

Stop random edits. They destroy causal information and make it unclear which change helped or whether the bug was merely masked. Reset the debugging process without reverting other people’s work: record the symptom, exact reproduction steps, expected versus actual behavior, environment, and current diff. Preserve the state in a branch or patch if needed. Then: 1. Observe the complete error/stack trace, relevant logs, inputs, timing, recent changes, and dependency/configuration versions. 2. Bu...

  • 549 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
developmentgodebugging

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill common-debugging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Common Debugging?

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

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

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
Stop random edits. They destroy causal information and make it unclear which change helped or whether the bug was merely masked.

Reset the debugging process without reverting other people’s work: record the symptom, exact reproduction steps, expected versus actual behavior, environment, and current diff. Preserve the state in a branch or patch if needed. Then:

1. Observe the complete error/stack trace, relevant logs, inputs, timing, recent changes, and dependency/configuration versions.
2. Build the smallest deterministic reproduction. If it is not deterministic, capture the conditions that correlate with failure and add targeted, structured instrumentation.
3. State one falsifiable hypothesis, such as “the callback runs after the resource is closed,” rather than listing many guesses.
4. Run one controlled experiment that changes only the suspected condition. If the result does not support the hypothesis, discard it and return to the evidence; do not immediately start fix number four.
5. After the cause is proven, make the smallest root-cause fix. Avoid broad null checks, swallowed exceptions, retries, or debug prints that hide the invariant violation.
6. Re-run the minimal reproduction and relevant regression, boundary, concurrency, and failure-path tests. Review the diff and verify the original symptom is gone without introducing a new silent failure.

A useful incident note is: observed facts, reproduction, hypothesis, experiment/result, root cause, fix, and verification evidence. If you share the error, stack trace, repro, recent diff, and environment, the next step can be narrowed from evidence rather than another guess.

Files in this skill

  • eval-1.baseline.md1.7 KB
  • eval-1.with-skill.md2 KB
  • eval-2.baseline.md2.5 KB
  • eval-2.with-skill.md1.6 KB
  • eval-3.baseline.md1.6 KB
  • eval-3.with-skill.md1.8 KB
  • pressure-1.baseline.md1.2 KB
  • pressure-1.with-skill.md1.4 KB
  • pressure-2.baseline.md1.1 KB
  • pressure-2.with-skill.md1.1 KB
  • trigger-1.md130 B
  • trigger-2.md131 B
  • trigger-3.md139 B
  • trigger-4.md136 B

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.

Comments

Loading comments…