Debugging Patterns

Pattern-Based Diagnosis

a5c-ai Updated 1.7k repo stars

File contents

Pattern-Based Diagnosis

  • Check patterns.md for known gotchas matching the error
  • Cross-reference with common patterns: null pointer, race condition, resource leak, config error
  • Rate root cause confidence (>=80% to proceed with fix)

Evidence Collection

  • Stack traces with full call chain
  • Error messages with context
  • Exit codes from reproduction attempts
  • Git blame/log for change correlation
  • Environment differences (if applicable)

When to Use

  • During DEBUG workflow investigation phase
  • When BUILD tests fail unexpectedly
  • When reviewing error handling gaps

Agents Used

  • bug-investigator (primary consumer)
  • silent-failure-hunter (pattern reference)

a5c-ai/babysitter/tree/main/library/methodologies/cc10x/skills/debugging-patterns commit 4aab19dd40

Frequently asked questions

npx skillmds@latest add a5c-ai/debugging-patterns