Pular para o conteúdo
Kitbay
Enviar
Skill

systematic-debugging

MITAtualizado em 3 de nov. de 2026315.883Estrelas no GitHubInclui scripts

A debugging skill from Jesse Vincent's Superpowers collection that the agent uses on any bug, failing test or unexpected behaviour before proposing a fix. Its central rule is no fix without a root-cause investigation.

O que a skill ensina

A debugging skill from Jesse Vincent's Superpowers collection that the agent uses on any bug, failing test or unexpected behaviour before proposing a fix. Its central rule is no fix without a root-cause investigation. The agent works through four phases in order: investigate by reading errors fully, reproducing and checking recent changes; find working examples and compare them; form a single hypothesis and test it with the smallest change; then write a failing test, apply one fix and verify it. After three failed fixes it stops to question the architecture. Supporting files cover tracing a bug back through the call stack, defence in depth, condition-based waiting and a script that finds which test pollutes shared state.

O que faz

  • Investigate root cause before proposing any fix
  • Compare broken code with working examples
  • Test one hypothesis at a time
  • Lock the fix with a failing test
  • Find the test that pollutes shared state