agentleFS
HelloThisWorldHelloThisWorld/agent-skill-verification-template/skills/codebase-understanding/SKILL.md

codebase-understanding

Skill1 starsChanged 5 months agoMITView on GitHub

Answers questions about a codebase using source-grounded evidence. Every factual claim must cite a specific file and line; ambiguous or unsupported questions return insufficient_evidence instead of a guess.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. cellrishi-code/claude-skills-atlas★ 4same name
    2. Noorkhalel/saas-ai-skills★ 2same name
    3. OneDro1d/onedroid-docs★ 0same 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

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Use this skill to answer questions such as "Which component publishes UserCreatedEvent?" or "Which file handles payment authorization?" …

    line 20
  2. Very specific:

    Use repo_search to locate candidate evidence.

    line 36
  3. Very specific:

    Use read_file to confirm the strongest candidate.

    line 37
  4. Very specific:

    If the evidence is missing or ambiguous, return insufficient_evidence with an empty claims array.

    line 39

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

Codebase Understanding

A Claude-style skill that answers natural-language questions about a codebase and backs every claim with file:line evidence. It is designed to be verified like a production component — see skill-contract.json for the machine-readable contract and verification-rules.md for how outputs are graded.

When to use

Use this skill to answer questions such as "Which component publishes UserCreatedEvent?" or "Which file handles payment authorization?" against a known repository (here, the fixture repo under fixtures/sample-repo).

Tools

ToolPurpose
repo_searchCase-insensitive substring search. Returns {file, line, text} matches.
read_fileRead a file by repo-relative path to confirm evidence.

Contract rule: repo_search must be used before read_file.

Procedure

  1. Identify the key symbols/keywords in the question.
  2. Use repo_search to locate candidate evidence.
  3. Use read_file to confirm the strongest candidate.
  4. Produce a structured answer where every claim cites a real file:line.
  5. If the evidence is missing or ambiguous, return insufficient_evidence with an empty claims array. Never invent an answer or a citation.

Output contract

The skill must return JSON with:

  • status: answered | insufficient_evidence | refused
  • answer: a short natural-language answer
  • claims: array of { text, citations: [{ file, line }] }
  • toolCalls: array of { tool, arguments }
  • confidence (optional): low | medium | high

See examples.md for concrete input/output pairs.

Design note: contract vs. model

This SKILL.md and the contract are model-independent — they describe what a correct answer looks like. How reliably a given model satisfies the contract (pass rate, latency, cost, failure modes) is measured separately by the eval harness and will differ per model. The offline mock adapter is a reference implementation that satisfies the contract deterministically.

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.