agentleFS
tirth8205tirth8205/code-review-graph/skills/explore-codebase/SKILL.md

explore-codebase

Skill32k starsChanged 6 months agoMITView on GitHub

Navigate and understand codebase structure using the knowledge graph

7 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. Use the code-review-graph MCP tools to find your way around the codebase.dropped by 2 of 2
  2. Call get_architecture_overview_tool for the community structure. Call list_communities_tool, then get_community_tool, only for the modules you need.dropped by 2 of 2
  3. Call semantic_search_nodes_tool to find a function or class by name or keyword.dropped by 2 of 2
  4. Call query_graph_tool with callers_of, callees_of or imports_of to trace relationships. children_of on a file lists its functions and classes.dropped by 2 of 2
  5. Call list_flows_tool, then get_flow_tool for one flow, to follow an execution path.dropped by 2 of 2
  6. Call find_large_functions_tool to find oversized functions.dropped by 2 of 2
  7. Call list_graph_stats_tool only when you need node, edge and language counts.dropped by 2 of 2
  8. Prefer a targeted query_graph_tool call over a broad listing call.dropped by 2 of 2

Rules people add

  1. Use the code-review-graph MCP tools to explore and understand the codebase.added by 2 of 2
  2. Run list_graph_stats_tool to see overall codebase metrics.added by 2 of 2
  3. Run get_architecture_overview_tool for high-level community structure.added by 2 of 2
  4. Use list_communities_tool to find major modules, then get_community_tool for details.added by 2 of 2
  5. Use semantic_search_nodes_tool to find specific functions or classes.added by 2 of 2
  6. Use query_graph_tool with patterns like callers_of, callees_of, imports_of to trace relationships.added by 2 of 2
  7. Use list_flows_tool and get_flow_tool to understand execution paths.added by 2 of 2
  8. Start broad (stats, architecture) then narrow down to specific areas.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

10 rules. 0 are common, 1 is distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

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

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

    Use the code-review-graph MCP tools to find your way around the codebase.

    line 8
  2. Very specific:

    Call get_architecture_overview_tool for the community structure.

    line 12
  3. Very specific:

    Call semantic_search_nodes_tool to find a function or class by name or keyword.

    line 13
  4. Very specific:

    Call query_graph_tool with callers_of, callees_of or imports_of to trace relationships.

    line 14
  5. Very specific:

    Call list_flows_tool, then get_flow_tool for one flow, to follow an execution path.

    line 15
  6. Very specific:

    Call find_large_functions_tool to find oversized functions.

    line 16
  7. Very specific:

    Call list_graph_stats_tool only when you need node, edge and language counts.

    line 17
  8. Very specific:

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

    line 20
  9. Very specific:

    Prefer a targeted query_graph_tool call over a broad listing call.

    line 22
  10. Distinctive:

    Read the implementation and its tests before changing code.

    line 24

“Common” is measured: kept by at least 6 in 10 of the 6 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

Explore Codebase

Use the code-review-graph MCP tools to find your way around the codebase.

Steps

  1. Call get_architecture_overview_tool for the community structure. Call list_communities_tool, then get_community_tool, only for the modules you need.
  2. Call semantic_search_nodes_tool to find a function or class by name or keyword.
  3. Call query_graph_tool with callers_of, callees_of or imports_of to trace relationships. children_of on a file lists its functions and classes.
  4. Call list_flows_tool, then get_flow_tool for one flow, to follow an execution path.
  5. Call find_large_functions_tool to find oversized functions.
  6. Call list_graph_stats_tool only when you need node, edge and language counts.

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.