agentleFS
yeaight7yeaight7/agent-powerups/skills/repo-map/SKILL.md

repo-map

Skill6 starsChanged 4 months agoApache-2.0View on GitHub

Use when the task is to understand an unfamiliar codebase, locate key entry points, or summarize architecture before editing.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    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:

    Do not edit code during this skill.

    line 16
  2. Distinctive:

    Read the smallest set of files needed to explain the architecture.

    line 27

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

Purpose

Produce a structured overview of an unfamiliar codebase before making changes. Prevents wasted effort caused by misunderstanding project layout or entry points.

When to Use

  • Starting work on an unfamiliar repository or module.
  • Onboarding to a new project before the first edit.
  • Locating where a feature lives before implementing or modifying it.

Do not edit code during this skill. Observation only.

Inputs

  • Repository path or access to the codebase.
  • Optional: specific area of interest (module, feature, data flow).

Workflow

  1. Identify project root, package manager, and language(s).
  2. Find main entry points (executables, API handlers, CLI commands).
  3. Read the smallest set of files needed to explain the architecture.
  4. Map major modules, their responsibilities, and how data flows between them.
  5. Flag risky or complex areas (high churn, missing tests, tangled dependencies).

Output

  • Project purpose — What it does in one or two sentences.
  • Entry points — Where execution starts.
  • Main modules — What each major directory or package is responsible for.
  • Data flow — How a typical request or operation moves through the system.
  • Risky areas — Complex, undertested, or high-coupling zones to approach carefully.

Verification

  • No code was edited during this skill
  • All major modules identified
  • Entry points documented
  • Risky areas flagged

Failure Modes

  • Premature editing — Do not make changes during mapping. Finish the map first.
  • Monorepo confusion — Map each package or app separately if the repo contains multiple independent projects.
  • Metaprogramming blind spots — Dynamic languages may have runtime-defined routes or classes. Note these as limitations in the output.

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.