1---2name: debugging-patterns3description: Root cause analysis frameworks including log-first investigation, git bisect correlation, and pattern-based diagnosis with confidence scoring.4allowed-tools: Read, Bash, Grep, Glob, WebSearch5graph:6 domains: [domain:software-engineering]7 skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop]8 workflows: [workflow:feature-development]9 topics: [topic:developer-experience]10 roles: [role:tech-lead, role:backend-engineer]112. DO NOT form hypotheses before reading evidence123. Identify the exact error: message, file, line, call stack134. Determine reproduction steps from evidence145. Check git log for recent changes correlating with bug introduction1516metadata:17 source: https://skillmd.com/skills/a5c-ai/debugging-patterns18---1920## Pattern-Based Diagnosis2122- Check patterns.md for known gotchas matching the error23- Cross-reference with common patterns: null pointer, race condition, resource leak, config error24- Rate root cause confidence (>=80% to proceed with fix)2526## Evidence Collection2728- Stack traces with full call chain29- Error messages with context30- Exit codes from reproduction attempts31- Git blame/log for change correlation32- Environment differences (if applicable)3334## When to Use3536- During DEBUG workflow investigation phase37- When BUILD tests fail unexpectedly38- When reviewing error handling gaps3940## Agents Used4142- `bug-investigator` (primary consumer)43- `silent-failure-hunter` (pattern reference)