# Debugging Patterns

Root cause analysis frameworks including log-first investigation, git bisect...

- Repository: https://github.com/a5c-ai/babysitter (1887 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add a5c-ai/babysitter --skill debugging-patterns -g -a claude-code -y`
Codex: `npx skills add a5c-ai/babysitter --skill debugging-patterns -g -a codex -y`
Cursor: `npx skills add a5c-ai/babysitter --skill debugging-patterns -g -a cursor -y`
Gemini CLI: `npx skills add a5c-ai/babysitter --skill debugging-patterns -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add a5c-ai/babysitter`

## Description

Root cause analysis frameworks including log-first investigation, git bisect correlation, and pattern-based diagnosis with confidence scoring.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

## 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)

