Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

debugging-wizard

Trace a bug through stack traces and logs, then report root cause, fix, and prevention.

When to use it

You have an error message or stack trace and a failing case you can reproduce, but the cause is still unclear.

For example

You say

Use debugging-wizard on this Node.js crash: my Express server throws 'TypeError: Cannot read properties of undefined (reading id)' in the /orders route only when a user has no cart. Here's the stack trace and server log. Find the root cause and fix it.

You get
  • Root cause explanation
  • Code fix
  • Regression test

How it works

  • Works through reproduce, isolate, hypothesize, fix, prevent in order.
  • Tests one hypothesis at a time instead of changing several things at once.
  • Includes debugger commands for Python, Node.js, Go, and git bisect for regressions.