debug-issue — Claude Code skill: what it does, how to install
This skill traces bugs through a code graph before source inspection, then checks call paths and change impact. Use it when an issue needs a narrower debugging scope.
npx skills add tirth8205/code-review-graph --skill debug-issue -a claude-codeWhat debug-issue does
debug-issue starts with get_minimal_context_tool, then uses semantic_search_nodes_tool to locate code connected to an issue. It follows callers and callees with query_graph_tool, retrieves an execution path with get_flow_tool, and checks recent changes through detect_changes_tool.
For suspect files, the skill calls get_impact_radius_tool to inspect what a fix could affect. It favours minimal detail and targeted graph queries over broad listings. Its budget is about five tool calls and 800 tokens of graph output per task.
Read the implementation and tests before editing code. The graph narrows the search, so treating its output as a replacement for source review would be a mistake.
What it helps with
- locate code related to a reported bug
- trace callers and callees around suspect code
- find a recent change behind an issue
- map the execution path to a bug trigger
- check the impact of a planned fix
Example prompts for the agent
- Debug this issue through the code graph and identify the execution entry point.
- Investigate whether a recent change caused this bug, then check the fix impact radius.
- Trace the call chain for this error before reading the implementation and tests.
How to install debug-issue
1Skills CLI (Vercel)
npx skills add tirth8205/code-review-graph --skill debug-issue -a claude-code2Manually: put the files in place
~/.claude/skills/debug-issue/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/debug-issue/
1Skills CLI (Vercel)
npx skills add tirth8205/code-review-graph --skill debug-issue -a codex2Manually: put the files in place
.agents/skills/debug-issue/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add tirth8205/code-review-graph --skill debug-issue -a cursor2Manually: put the files in place
.cursor/skills/debug-issue/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install tirth8205/code-review-graph debug-issue2Manually: put the files in place
.github/skills/debug-issue/SKILL.md1Skills CLI (Vercel)
npx skills add tirth8205/code-review-graph --skill debug-issue -a gemini-cli2Platform CLI
gemini skills install https://github.com/tirth8205/code-review-graph --path skills/debug-issueManually: put the files in place
.devin/skills/debug-issue/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add tirth8205/code-review-graph --skill debug-issue -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set7
The whole set →Similar
Questions about debug-issue
How do I install debug-issue in Claude Code?
Run npx skills add tirth8205/code-review-graph --skill debug-issue -a claude-code, then run npx skills add tirth8205/code-review-graph --skill debug-issue -a claude-code again. The skill file is at ~/.claude/skills/debug-issue/SKILL.md.
What does debug-issue do?
It investigates bugs through a code graph by finding related nodes, tracing calls, retrieving execution flow, checking recent changes, and inspecting a fix's impact radius.
How does debug-issue limit graph context?
It calls get_minimal_context_tool first and uses detail_level="minimal" where supported. Standard detail is used only when minimal context is insufficient.
Source text
SKILL.md · MIT
--- name: debug-issue description: Systematically debug issues using graph-powered code navigation --- ## 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.
© tirth8205 · MIT · tirth8205/code-review-graph