agentleFS
cellrishi-codecellrishi-code/claude-skills-atlas/skills/coding/codebase-understanding/SKILL.md

codebase-understanding

Skill6 starsChanged 39 days agoMITView on GitHub

Build a reliable mental model of an unfamiliar repository before making changes. Use when entering a new codebase, investigating architecture, or when the user asks where a feature belongs.

2 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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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:

    Search for existing implementations before proposing new ones.

    line 16
  2. Distinctive:

    Read targeted files before broad exploration.

    line 22
  3. Distinctive:

    Do not invent architecture that is not supported by repository evidence.

    line 23
  4. Distinctive:

    Prefer existing abstractions over introducing parallel ones.

    line 24
  5. Distinctive:

    If the change crosses multiple layers, state the dependency order.

    line 26

≈ “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

Codebase Understanding

Build understanding before proposing edits. Prefer evidence from the repository over assumptions.

Process

  1. Identify entry points, package/build files, configuration, tests, and documentation.
  2. Map the relevant directory structure.
  3. Trace the execution path for the requested feature or bug.
  4. Identify important data models, interfaces, dependencies, and integration boundaries.
  5. Search for existing implementations before proposing new ones.
  6. Record constraints, conventions, and likely regression points.
  7. Summarize the model in a compact form before changing code.

Rules

  • Read targeted files before broad exploration.
  • Do not invent architecture that is not supported by repository evidence.
  • Prefer existing abstractions over introducing parallel ones.
  • Distinguish observed facts from hypotheses.
  • If the change crosses multiple layers, state the dependency order.

Output

Return:

  • Repository map
  • Relevant execution/data flow
  • Existing patterns to reuse
  • Constraints and risks
  • Proposed change locations
  • Verification plan

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.