---
name: Debugging Patterns
slug: debugging-patterns
category: Quality
description: Debugging Patterns provides log-first investigation, git bisect correlation, and pattern-based diagnosis with confidence scoring. Use it during debugging, unexpected build failures, and error-handling reviews.
github: "https://github.com/a5c-ai/babysitter/tree/main/library/methodologies/cc10x/skills/debugging-patterns"
language: JavaScript
stars: 1669
forks: 98
install: "npx degit https://github.com/a5c-ai/babysitter/tree/main/library/methodologies/cc10x/skills/debugging-patterns ~/.claude/skills/debugging-patterns"
installs_to: ~/.claude/skills/debugging-patterns
source_path: library/methodologies/cc10x/skills/debugging-patterns/SKILL.md
collection_size: 36
category_size: 1354
collection_url: "https://dirskills.com/collections/a5c-ai/babysitter"
added: 2026-08-12T04:43:02.987Z
last_synced: 2026-08-12T04:43:02.987Z
canonical_url: "https://dirskills.com/skills/debugging-patterns"
---

# Debugging Patterns

Debugging Patterns provides log-first investigation, git bisect correlation, and pattern-based diagnosis with confidence scoring. Use it during debugging, unexpected build failures, and error-handling reviews.

**Install:**

```bash
npx degit https://github.com/a5c-ai/babysitter/tree/main/library/methodologies/cc10x/skills/debugging-patterns ~/.claude/skills/debugging-patterns
```

## README

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