# Debugging

> Systematic approach to debugging Python code - use when user encounters errors or unexpected behavior Use when this capability is needed.

- Skill: `tomevault-io/debugging-12` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/debugging-12`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/debugging-12/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/debugging-12

---


# Debugging Skill

[TEST-PLUGIN-SKILL: debugging]

## When to Use This Skill

Use this skill when:
- User reports an error or exception
- Code produces unexpected output
- Tests are failing
- Performance issues need investigation

## Systematic Debugging Process

1. **Reproduce the Issue**
   - Get exact error message
   - Identify minimal reproduction steps

2. **Gather Information**
   - Check stack trace
   - Review recent changes
   - Check logs

3. **Form Hypothesis**
   - What could cause this behavior?
   - What assumptions might be wrong?

4. **Test Hypothesis**
   - Add logging/print statements
   - Use debugger breakpoints
   - Write minimal test case

5. **Fix and Verify**
   - Make minimal change
   - Run tests
   - Confirm fix doesn't break other things

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/mandersogit) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-14 -->

