agentleFS
tirth8205tirth8205/code-review-graph/skills/debug-issue/SKILL.md

debug-issue

Skill32k starsChanged 6 months agoMITView on GitHub

Systematically debug issues using graph-powered code navigation

8 other projects use a version of this, 2 of them edited; 2 of 2 edited versions we compared changed its rules.

How people change it

2 of 2 edited versions changed its rules, and some changes recur.

Of the 2 edited versions we compared: 2 made changes of their own.

Rules people drop

  1. Call query_graph_tool with callers_of and callees_of to trace the call chain in both directions.dropped by 2 of 2
  2. Call get_flow_tool for the execution path that reaches the suspect code. Its entry point is where the bug is triggered.dropped by 2 of 2
  3. Call detect_changes_tool to check whether a recent change caused the issue.dropped by 2 of 2
  4. Call get_impact_radius_tool on the suspect files to see what a fix would affect.dropped by 2 of 2
  5. Prefer a targeted query_graph_tool call over a broad listing call.dropped by 2 of 2
  6. Call get_minimal_context_tool(task="<your task>") before any other graph tool.dropped by 1 of 2
  7. Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.dropped by 1 of 2

Rules people add

  1. Use the knowledge graph to systematically trace and debug issues.added by 2 of 2
  2. Use query_graph_tool with callers_of and callees_of to trace call chains.added by 2 of 2
  3. Use get_flow_tool to see full execution paths through suspected areas.added by 2 of 2
  4. Run detect_changes_tool to check if recent changes caused the issue.added by 2 of 2
  5. Use get_impact_radius_tool on suspected files to see what else is affected.added by 2 of 2
  6. Check both callers and callees to understand the full context.added by 2 of 2
  7. Look at affected flows to find the entry point that triggers the bug.added by 2 of 2
  8. Use detail_level="minimal" on all calls. Only escalate to "standard" when minimal is insufficient.added by 2 of 2

We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about tirth8205/code-review-graph

The biggest 5 of 72 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 72

Talked about on GitHub, Bluesky and Hacker News (72 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 20

15 more on Bluesky

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Call semantic_search_nodes_tool to find code related to the issue.

    line 12
  2. Very specific:

    Call query_graph_tool with callers_of and callees_of to trace the call chain in both directions.

    line 13
  3. Very specific:

    Call get_flow_tool for the execution path that reaches the suspect code.

    line 14
  4. Very specific:

    Call detect_changes_tool to check whether a recent change caused the issue.

    line 15
  5. Very specific:

    Call get_impact_radius_tool on the suspect files to see what a fix would affect.

    line 16
  6. Very specific:

    Call get_minimal_context_tool(task="<your task>") before any other graph tool.

    line 19
  7. Very specific:

    Prefer a targeted query_graph_tool call over a broad listing call.

    line 21
  8. Distinctive:

    Read the implementation and its tests before changing code.

    line 23

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.