agentleFS
ame589ame589/Claude_skill/skills/repo-radar/SKILL.md

repo-radar

Skill0 starsChanged 4 months agoMITView on GitHub

Generate an instant guided tour of an unfamiliar codebase: entry points, the core load-bearing modules (ranked by reference-centrality × git churn), the hottest files, where tests live, and the key config — in a suggested reading order. Use this when onboarding onto a new/unknown repo, when the user asks "where do I start / how is this codebase organized / what are the important files / give me a tour / help me understand this project", or before making a change in code you don't know yet. Triggers on: "onboard", "give me a tour", "where do I start", "explain this codebase", "codebase overview", "what are the important files", "how is this project structured", "unfamiliar repo".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. jsath/claude-skills★ 14same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before you (or the user) modify code in an area neither of you knows yet — orient first, edit second.

    line 32

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Repo Radar

What this does

The expensive part of joining a project is the first day spent guessing which of 2,000 files actually matter. This skill answers that statistically: it ranks the codebase by how load-bearing each file is — combining how many other files reference it (centrality) with how often it changes (churn) and whether it's a recognizable entry point — then lays out a reading order, the test layout, and the config that defines the project's shape. It turns "where do I start?" into a ten-minute orientation.

When to use it

  • Onboarding onto a new or unfamiliar repository.
  • The user asks for a tour, an overview, "where do I start", or "what matters here".
  • Before you (or the user) modify code in an area neither of you knows yet — orient first, edit second.

Workflow

1. Generate the tour

python3 skills/repo-radar/scripts/tour.py --md TOUR.md
# fewer/more items per section:
python3 skills/repo-radar/scripts/tour.py --top 20

Needs only Python 3 and git; uses ripgrep if present for the centrality pass (much faster on large repos). Churn comes from git log, so a repo with history gives a far richer signal than a fresh clone with one commit.

2. Walk the user through it, in order

Present the tour the way it's laid out — this order is deliberate:

  1. Read these first — the config/manifest files that reveal language, dependencies, build, and entry commands.
  2. Start here — the entry points where execution begins.
  3. Core modules — the ranked load-bearing files; read them top-down to build a mental model before touching anything.
  4. Hottest files — where change concentrates, so where bugs and active feature work most likely live.
  5. Where tests live — how to run and where to add coverage.

3. Go deeper on the top modules

For the top few core modules, open them and give the user a one- or two-line summary of each file's responsibility and how they connect. This is where you convert the statistical ranking into an actual architectural narrative — the ranking finds what matters; you explain why.

4. Point to the first useful task

Close by suggesting a concrete on-ramp: a good first file to modify, the command to run the app/tests, and any obvious gap (missing README section, thin test coverage on a hot file) the newcomer could pick up.

Interpreting the ranking

  • Centrality (in-degree via basename references) approximates "imported by many" — high centrality means changing it ripples widely.
  • Churn (commit count) means "actively worked on" — high churn is where the living complexity is.
  • Entry bonus lifts recognizable main/index/app/cli/server files so the reading order starts where execution does.

A file high on both centrality and churn is the beating heart of the codebase — read it first and change it carefully.

Notes & limits

  • Centrality is a text-based proxy (basename references), not a true import graph; it can over-count common names and miss re-exports or dynamic imports. Very generic stems (index, main, utils) are damped deliberately.
  • Churn needs git history; on a shallow or brand-new repo it's near-zero and the ranking leans entirely on centrality.
  • This is a map, not the territory. It surfaces what matters; the README and the team still own the why. Use it to aim your reading, then read.

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.