Skip to content
Back to skills

Debugging Patterns

ASecurity

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

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 29, 2026
ai-agentsgobashdebugginggit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add a5c-ai/babysitter --skill debugging-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debugging Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debugging Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-debugging-patterns/badge)](https://www.skillsdirectory.com/skills/a5c-ai-debugging-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debugging-patterns
description: Root cause analysis frameworks including log-first investigation, git bisect correlation, and pattern-based diagnosis with confidence scoring.
allowed-tools: Read, Bash, Grep, Glob, WebSearch
---

# Debugging Patterns

## Overview

Provides structured frameworks for root cause analysis. The log-first methodology ensures evidence is gathered before hypotheses are formed.

## Log-First Investigation

1. Read ALL available logs, error output, and stack traces
2. DO NOT form hypotheses before reading evidence
3. Identify the exact error: message, file, line, call stack
4. Determine reproduction steps from evidence
5. Check git log for recent changes correlating with bug introduction

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

Files in this skill

  • README.md227 B
  • SKILL.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.