debug-issue
하는 일
이 스킬은 code-review-graph 도구로 구조화된 디버깅 세션을 진행하도록 AI 에이전트를 안내합니다. 코드베이스에서 버그를 쫓는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓오류 메시지나 스택 트레이스가 있고 문제가 어디서 시작되는지 찾아야 할 때.
- ✓최근 변경이 버그를 일으켰을 수 있어 확인하고 싶을 때.
- ✓코드를 바꾸기 전에 수정이 무엇에 영향을 주는지 보고 싶을 때.
스킬 링크
https://github.com/tirth8205/code-review-graph/blob/staging/skills/debug-issue/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사용자가 임시 저장을 하면 충돌이 납니다. 어떤 코드 경로가 원인인지 추적해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 그래프에서 관련 코드를 찾고, 호출하는 쪽과 호출되는 쪽을 추적하며, 최근 변경을 확인한 뒤, 구현과 테스트를 읽습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Debug Issue
Trace a bug through the knowledge graph before reading source.
Steps
- Call
semantic_search_nodes_toolto find code related to the issue. - Call
query_graph_toolwithcallers_ofandcallees_ofto trace the call chain in both directions. - Call
get_flow_toolfor the execution path that reaches the suspect code. Its entry point is where the bug is triggered. - Call
detect_changes_toolto check whether a recent change caused the issue. - Call
get_impact_radius_toolon the suspect files to see what a fix would affect.
Token Efficiency Rules
- Call
get_minimal_context_tool(task="<your task>")before any other graph tool. - Pass
detail_level="minimal"wherever a tool accepts it. Use "standard" only when minimal is not enough. - Prefer a targeted
query_graph_toolcall over a broad listing call. - Budget: about five tool calls and 800 tokens of graph output per task.
- Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.
자주 묻는 질문
원본 코드 읽기를 대신하나요?
아닙니다. 스킬은 그래프가 검색 범위를 좁힐 뿐이며, 변경 전에 여전히 소스와 테스트를 읽는다고 말합니다.
최근 변경은 어떻게 확인하나요?
변경 탐지 도구를 사용해 최근 수정이 원인일 수 있는지 확인합니다.
도구 호출은 몇 번 쓰나요?
스킬은 작업당 그래프 호출을 약 5회로 제한해 효율을 유지합니다.
상세 정보
작성자의 원본 설명
Systematically debug issues using graph-powered code navigation
인기도
- GitHub 스타
- 33k
- 순위
- #9139
- 라이선스
- MIT
- 업데이트
- 2026. 10. 29.
댓글
- …
이 저장소의 다른 스킬
build-graph
33k에이전트가 저장소의 코드 지식 그래프를 만들거나 갱신해, 이후 코드 리뷰와 검색을 더 빠르게 돕습니다.
explore-codebase
33k에이전트가 코드 지식 그래프에서 모듈과 관계를 검색해 낯선 코드베이스를 둘러보도록 돕습니다.
refactor-safely
33k에이전트가 의존성 분석으로 코드 리팩터링을 계획하고, 이름 변경은 미리 보기를 확인한 뒤에만 적용하도록 돕습니다.
review-changes
33k에이전트가 위험 점수, 테스트 공백, 영향 범위와 함께 코드 변경을 검토하고 위험 수준별로 묶어 보여 줍니다.