Skip to content
Skillpedia
General coding33k · #9139

debug-issue

What it does

This skill guides the AI agent through a structured debugging session using the code-review-graph tool. It is for developers chasing a bug in a codebase.

When to use it

  • ✓When you have an error message or stack trace and need to find where it starts.
  • ✓When a recent change may have caused a bug and you want to check.
  • ✓When you need to see what a fix would affect before changing the code.

Skill link

https://github.com/tirth8205/code-review-graph/blob/staging/skills/debug-issue/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Users get a crash when they save a draft. Can you trace which code path causes it?”

5 new skills a week. 1 minute to read.

How it works

The agent searches the graph for related code, traces callers and callees, checks recent changes, and then reads the implementation and tests.

Technical content (original SKILL.md)

Original text by the author, straight from 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.
FAQ

Does it replace reading the code?

No. The skill says the graph narrows the search, and the source and tests are still read before any change.

What does it check for recent changes?

It uses a change detection tool to see whether a recent edit could be the cause.

How many tool calls does it use?

The skill sets a budget of about five graph calls per task to keep it efficient.

Details

Original description by the author

Systematically debug issues using graph-powered code navigation

repo: tirth8205/code-review-graph

Popularity

GitHub stars
33k
Ranking position
#9139
License
MIT
Updated
10/29/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills