codebase-explain
Skill0 starsChanged 2 months agoMITView on GitHub
Explain a repo, a feature, or how something works in plain, non-technical language, grounded in the actual code (not assumption), and write it out as a markdown file the reader can keep/share — not just a chat answer. Use when a non-developer (PM, stakeholder, new hire, support) needs to understand a codebase or a specific flow, or when the user asks to "explain this repo/feature in simple terms" and wants a document out of it. Not for API/developer-facing reference docs (those need precision and technical vocabulary, the opposite goal of this skill) and not for CLAUDE.md/AGENTS.md (that's agent-facing operational instructions, see project-bootstrap — this is human-facing comprehension).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- risadams/ink-and-agencytheir own version, first seen Jul 7, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- risadams/ink-and-agency★ 2same 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 repository29 other files it gives its agents.
- agent-doctorSkill
- ai-discoverabilitySkill
- api-designSkill
- api-testingSkill
- backend-patternsSkill
- branchingSkill
- brd-readerSkill
- code-review-and-qualitySkill
- database-migrationsSkill
- debuggingSkill
- dependency-updateSkill
- deploymentSkill
- docker-patternsSkill
- e2e-testingSkill
- exec-todoSkill
- incremental-implementationSkill
- modern-web-guidanceSkill
- mysql-patternsSkill
- prd-grillSkill
- project-bootstrapSkill
- react-patternsSkill
- react-testingSkill
- security-and-hardeningSkill
- security-reviewSkill
- skill-syncSkill
- nama-skill-contohSkill
- test-case-matrixSkill
- test-driven-developmentSkill
- webapp-testingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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
- Distinctive: line 50
Read the actual code before writing anything: Every claim in the output must trace back to something actually read — entry points, the main …
- Distinctive: line 53
If something is genuinely unclear from the code (e.g.
- Distinctive: line 58
No unexplained jargon, no assuming the reader knows what a "queue" or an "API" is — but also don't oversimplify to the point of being …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Codebase Explain
Turns "read the code and explain it to me like I'm not a developer" into an actual markdown file, not just a chat response that scrolls away. Grounded in code that was actually read for this — a plausible-sounding explanation that wasn't checked against the real implementation is worse than no explanation, because it reads as authoritative.
When to use
- A non-developer (PM, stakeholder, support person, new hire) needs to understand what a repo or a specific feature does.
- The user asks to "explain this repo/feature in simple terms" and wants something written down, not just a spoken-in-chat answer.
- Onboarding someone non-technical who'll be working alongside the engineering team and needs the mental model without needing to read code.
When NOT to use
- Developer/API reference documentation — that needs precision and technical terms exactly, which is the opposite goal of this skill's plain-language approach.
CLAUDE.md/AGENTS.md— those are operational instructions for an agent, not comprehension docs for a human; seeproject-bootstrapfor that instead.- Architecture Decision Records or other docs meant for engineers who already know the codebase — this skill's whole point is removing the need for that background knowledge.
Steps
- Clarify scope and audience before reading anything — a whole-repo overview and a single-feature walkthrough produce very different documents, and "explain to a PM" vs "explain to a brand-new junior engineer" calibrate differently (how much jargon can stay, how much detail on the how vs just the what). Ask if it isn't already clear from the request; don't default to over-explaining or under-explaining.
- Read the actual code before writing anything. Every claim in the output must trace back to something actually read — entry points, the main flow, key files — not to what a project typically looks like. If something is genuinely unclear from the code (e.g. business logic that only makes sense with domain context not in the repo), say so in the output rather than guessing confidently.
- Write in plain language, but don't dumb down what's actually true. No unexplained jargon, no assuming the reader knows what a "queue" or an "API" is — but also don't oversimplify to the point of being inaccurate. When a technical term is genuinely necessary, use it and define it once, rather than avoiding it awkwardly.
- Use
assets/explain-template.mdas the skeleton — plain-language title, one-paragraph summary, a walkthrough of how it actually works (referencing real file/function names so a developer reading the same doc can jump to the code), repo layout (for whole-repo scope only), and a short terms list (only for terms actually used above — don't pad it with a generic glossary). Delete sections that don't apply to the scope from step 1 rather than leaving them empty. - An analogy earns its place only if it adds real clarity — skip it if it doesn't, don't force one into every section.
- Ask where to save it before writing the file. Suggest a sensible
location (e.g.
docs/explained/<topic>.md) but confirm with the user — this is a new file in their repo, don't create it silently. - Note the "as of" date in the output (the template has a line for this) and mention to the user that this is a snapshot — if the code changes meaningfully, the right move is regenerating the doc from current code, not hand-patching a stale one.
Reference
assets/explain-template.md— the markdown skeleton every output follows; delete sections that don't apply rather than leaving them empty.
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
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.

