원클릭으로
debugging
Systematic debugging workflow. Use when investigating bugs, unexpected behavior, errors, or performance issues.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Systematic debugging workflow. Use when investigating bugs, unexpected behavior, errors, or performance issues.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | debugging |
| description | Systematic debugging workflow. Use when investigating bugs, unexpected behavior, errors, or performance issues. |
| version | 1.0.0 |
| author | {"[object Object]":null} |
Purpose: Systematically isolate and fix bugs using evidence-based reasoning, not guesswork.
Before debugging, you MUST read/verify:
.specs/project/ARCHITECTURE.md — Understand the system flow..specs/project/STATE.md — Check if this is a known issue..specs/project/STATE.md — Check if behavior is intentional..specs/project/STATE.md if the bug reveals a systemic issue.| # | Hypothesis | Likelihood | Test |
|---|-----------|------------|------|
| 1 | [Most likely cause] | HIGH | [How to verify] |
| 2 | [Second cause] | MED | [How to verify] |
| 3 | [Edge case] | LOW | [How to verify] |
# Search for error messages in codebase
grep -rn "error message text" src/ server/
# Find recent changes to a file
git log --oneline -10 path/to/file
# Check what changed since last working commit
git diff <last-good-commit> -- path/to/file
# Find all usages of a function
grep -rn "functionName" src/ server/ --include="*.ts"
-- Check recent records
SELECT * FROM [table] ORDER BY created_at DESC LIMIT 10;
-- Verify data integrity
SELECT COUNT(*), [column] FROM [table] GROUP BY [column];
| Symptom | Common Root Cause | Where to Look |
|---|---|---|
undefined is not a function | Import path wrong or circular dependency | Check imports, barrel exports |
401 Unauthorized | Token expired, auth middleware misconfigured | Auth provider config, middleware order |
500 Internal Server Error | Unhandled exception in async code | Look for missing await or uncaught promises |
| Data not updating | Cache serving stale data, or mutation not invalidating | Cache layer, query invalidation |
| Intermittent failures | Race condition or timeout | Look for concurrent writes, async ordering |
| Works locally, fails in prod | Environment variable missing or different config | Compare .env files, check deployment logs |
Project and feature planning with 4 adaptive phases — Specify, Design, Tasks, Execute. The execution orchestrator. Creates atomic tasks with verification criteria, architecture decisions, and persistent memory across sessions.
Perform thorough code reviews. Use when reviewing PRs, auditing code quality, or checking for bugs and anti-patterns.
Write, review, and maintain automated tests. Use when a user asks to test a feature, write specs, or improve coverage.
Short, action-oriented description of when to use this skill. Keywords help the router.