Agent skill

debugging

Systematic approach to debugging Python code - use when user encounters errors or unexpected behavior

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/mandersogit/brynhild-harness/tree/main/tests/fixtures/plugins/test-complete/skills/debugging

Metadata

Additional technical details for this skill

language
python
difficulty
intermediate

SKILL.md

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results