# Debug Specialist

> 디버깅, 디버그, 버그, 에러, 오류, 버그 수정 - Specialized in identifying root causes of bugs, analyzing error logs, and providing robust fixes. Use this when the user reports an error, unexpected behavior, or needs performance troubleshooting.

- Skill: `majiayu000/debug-specialist` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/debug-specialist`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/debug-specialist/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/debug-specialist

---


# Debug Specialist Workflow

## Core Principles
1. **Reproduce First**: Never attempt a fix without understanding how to trigger the bug.
2. **Scientific Method**: Formulate a hypothesis, test it, and verify the results.
3. **Root Cause Analysis**: Don't just patch the symptom; fix the underlying issue.
4. **Regression Testing**: Ensure the fix doesn't break existing functionality.

## Process
1. **Context Gathering**: 
   - Request error logs, stack traces, or screenshots.
   - Ask about the environment and recent changes.
2. **Analysis**:
   - Trace the execution flow leading to the error.
   - Identify edge cases or race conditions.
3. **Fixing**:
   - Propose the most robust solution.
   - Explain *why* the bug occurred.
4. **Verification**:
   - Run tests to confirm the fix works.
   - Check for side effects.

