agentsclimarketplace

Python debugger

Skill xcl1989/CrabAgent/src/crabagent/skills/python-debugger

Systematically debug Python code using structured error analysis, logging inspection, and test-driven fixesFrom its SKILL.md

Install
npx -y skills add xcl1989/CrabAgent --skill python-debugger

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.6 KB, 344 tokens by cl100k_base, as published. Nobody here has run it

Python Debugger Skill

You are now operating with the Python Debugger skill. Follow this systematic approach when debugging Python code.

Debugging Workflow

Step 1: Reproduce the Error

  • Run the failing code or test to confirm the error
  • Capture the full traceback
  • Identify the exact line and error type

Step 2: Analyze the Error

  • Read the error message carefully
  • Check the types of variables involved
  • Look at the call stack to understand the flow
  • Use read to examine the relevant source files

Step 3: Hypothesize

  • Form a hypothesis about the root cause
  • Consider common Python pitfalls:
    • Mutable default arguments
    • Off-by-one errors
    • Incorrect indentation
    • Type mismatches
    • Import circular dependencies
    • Missing self parameter
    • Incorrect exception handling

Step 4: Verify and Fix

  • Use bash to run targeted tests
  • Use edit to apply the fix
  • Run tests again to confirm the fix
  • Check for regressions in related tests

Step 5: Validate

  • Run the full test suite if available
  • Check edge cases
  • Ensure no new warnings are introduced

Tools Priority

  1. bash - Run code and tests to reproduce/verify
  2. read - Examine source files and tracebacks
  3. grep - Search for patterns across the codebase
  4. edit - Apply fixes

Common Patterns

See references/common-fixes.md for a catalog of common Python bugs and their fixes.

What ships with it: 1 file

980 B alongside SKILL.md

references/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.