본문으로 건너뛰기
Skillpedia
일반 코딩33k · #9139

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/tirth8205/code-review-graph/blob/staging/skills/debug-issue/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용자가 임시 저장을 하면 충돌이 납니다. 어떤 코드 경로가 원인인지 추적해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 그래프에서 관련 코드를 찾고, 호출하는 쪽과 호출되는 쪽을 추적하며, 최근 변경을 확인한 뒤, 구현과 테스트를 읽습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Debug Issue

Trace a bug through the knowledge graph before reading source.

Steps

  1. Call semantic_search_nodes_tool to find code related to the issue.
  2. Call query_graph_tool with callers_of and callees_of to trace the call chain in both directions.
  3. Call get_flow_tool for the execution path that reaches the suspect code. Its entry point is where the bug is triggered.
  4. Call detect_changes_tool to check whether a recent change caused the issue.
  5. Call get_impact_radius_tool on 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_tool call 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

repo: tirth8205/code-review-graph

인기도

GitHub 스타
33k
순위
#9139
라이선스
MIT
업데이트
2026. 10. 29.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬