debug
하는 일
이 스킬은 세션이나 워크플로가 이상하게 작동하는 이유를 에이전트가 진단하도록 안내합니다. 혼란스러운 동작을 보고, 변경하기 전에 원인을 알고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓Claude Code 세션이나 워크플로가 혼란스럽거나 고장난 것처럼 작동할 때.
- ✓변경 뒤 도구나 훅이 고장난 것 같은데 원인이 분명하지 않을 때.
- ✓넓은 재작성이 시작되기 전에 근본 원인을 찾고 싶을 때.
스킬 링크
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/debug/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Claude 세션이 작업 도중 계속 멈춥니다. 이유를 찾고, 가장 작은 해결책을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 가장 관련 있는 로그, 트레이스, 상태를 먼저 읽고, 가능한 한 좁게 문제를 재현하려고 하며, 증상과 근본 원인을 구분합니다. 그다음 확인하거나 고칠 가장 작은 다음 단계를 권합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Debug
Use this skill when the user wants help diagnosing a current OMC/Claude-Code session problem, workflow breakage, or confusing runtime behavior.
Goal
Find the real failure signal quickly and explain the next corrective step.
Workflow
- Read the user’s issue description carefully.
- Inspect the most relevant local evidence first:
- trace tools
- state tools
- notepad / project memory when relevant
- failing tests or commands
- Reproduce the issue narrowly if possible.
- Distinguish symptoms from root cause.
- Recommend the smallest next fix or verification step.
Rules
- Prefer real evidence over guesses.
- Use the trace/state surfaces when the issue involves orchestration, hooks, or agent flow.
- If the issue is actually a product/runtime bug rather than app code, say so plainly.
- Do not prescribe broad rewrites before isolating the failure.
- Tag temporary debug output
[DEBUG-<4hex>]; cleanup is then a single grep. - Redact secrets from logs and traces before they leave the session.
- If the failure traces to a missing or wrong seam, say so as the finding and point at
refitorarchitecture-survey— the environment lesson outlives the fix.
Output
- Observed failure
- Root-cause hypothesis
- Evidence for that hypothesis
- Smallest next action
자주 묻는 질문
코드를 바로 다시 쓰나요?
아니요. 실패를 분리하기 전에는 넓은 재작성을 피합니다.
로그의 비밀 값을 보호하나요?
네. 세션을 떠나기 전에 로그와 트레이스에서 비밀 값을 제거합니다.
문제가 도구 자체에 있다면 어떻게 하나요?
스킬은 그렇다고 분명히 말합니다. 원인이 앱 코드가 아니라 제품 버그이기 때문입니다.
상세 정보
작성자의 원본 설명
Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction
인기도
- GitHub 스타
- 41k
- 순위
- #6998
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-doc-discipline
41k에이전트가 다른 AI 에이전트가 스스로 따를 수 있는 지침을 쓰도록 가르칩니다. 확인할 수 있는 규칙과 각 규칙의 명확한 이유를 담습니다.
ai-slop-cleaner
41k에이전트가 작동하지만 군더더기가 많거나 반복되는 AI 작성 코드를 정리해, 동작을 바꾸지 않고 불필요한 코드를 제거하도록 돕습니다.
architecture-survey
41k에이전트가 코드베이스의 구조를 검토하고, 근거와 함께 변경하기 어려워지는 부분을 나열합니다. 스스로 아무것도 바꾸지 않습니다.
ask-navigator
41k에이전트가 막연한 프로젝트를 명확한 결정 질문의 지도로 바꾸고, 길이 분명해질 때까지 질문을 하나씩 해결하도록 돕습니다.