how-it-works
Skill2 starsChanged 40 days agoMITView on GitHub
Explain how a part of the codebase works for the person about to change it: what it is, its moving parts, the flow with file:line refs and a diagram, where to start, traps.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- MMACABRE/SKILLStheir own version, first seen Nov 8, 2026
- susantedit/claude-skillstheir own version, first seen Oct 20, 2026
- joevilcai666/how-it-works-skilltheir own version, first seen Oct 15, 2026
- oivanfelipe/claude-skillstheir own version, first seen Oct 13, 2026
- junixlabs/how-it-workstheir own version, first seen Oct 8, 2026
- gcapodeferro02/my-agent-skillstheir own version, first seen Sep 21, 2026
Used with
Projects with it also use oh-my-issues, what-the and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tuliosalustiano27Skilloh-my-issues
Cluster a GitHub issue backlog by root cause into a small set of plan-master issues, redirect children with a standardized comment, and bundle architectural-fix PRs that close clusters atomically. Use when an issue tracker has accumulated dozens of reports that share underlying defects, when asked to triage / consolidate / cluster / dedupe issues, when asked to build a plan series or roadmap from open issues, or when routing a new incoming bug into an existing plan.
Also in 3 projects that use this
tuliosalustiano27Skillwhat-the
What the? Use when the user wants a plain-English breakdown of something technical — the who, what, where, why, and when.
Also in 3 projects that use this
thedotmackSkillpathfinder
Map a codebase into feature-grouped flowcharts, identify duplicated concerns across features, and propose a unified architecture. Use when asked to "find the ideal path," unify duplicated systems, or audit architecture before a refactor. Emits a proposed unified flowchart plus per-system /make-plan prompts.
Also in 4 projects that use this
magnusrodsethSkilllearn-codebase
Understand a codebase by reading its actual source, on GitHub or on disk: how a pattern is really implemented, an org's conventions, how two things are wired. Use for \"how does <repo> do X\". For published API docs prefer find-docs.
Also in 4 projects that use this
barrelcSkillmem-search
Search kimi-mneme's persistent cross-session memory database. Use when user asks "did we already solve this?", "how did we do X last time?", "what did we do yesterday?", or needs work from previous sessions.
Also in 3 projects that use this
TrecekSkillmake-plan
Create implementation plans through deep codebase understanding. Use when user asks to create, devise, or write a plan. Leverages subagents to explore approaches, understand systems, and design aligned solutions.
Also in 3 projects that use this
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- tunnckoCore/skills★ 2same name
- gcapodeferro02/my-agent-skills★ 1same name
- joevilcai666/how-it-works-skill★ 1same name
- MMACABRE/SKILLS★ 1same name
- tuliosalustiano27/Skills_Claude_Code★ 1same name
- junixlabs/how-it-works★ 0same name
- oivanfelipe/claude-skills★ 0same name
- susantedit/claude-skills★ 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 repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- codebase-researchSkill
- context-transferSkill
- feature-pr-descriptionSkill
- human-voice-writingSkill
- i18n-translateSkill
- impact-checkSkill
- memory-reviewSkill
- orchestrateSkill
- promotion-pr-descriptionSkill
- pr-review-triageSkill
- qa-testerSkill
- release-notesSkill
- thorough-diff-reviewSkill
- walkthroughSkill
- writeups-cleanupSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Read what the Repo facts row lists for the area.
- Very specific: line 57
Write it yourself, no writer subagent.
- Very specific: line 73
Prefer concrete names: "JobQueue.retry() re-enqueues with a delay", not "the queue handles retries".
- Very specific: line 77
If local.md exists next to this file, read it.
“Common” is measured: kept by at least 6 in 10 of the 8 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.
Files
How it works
Repo facts
This skill needs the facts below. Look each one up in the repo's CLAUDE.md (or AGENTS.md) and
the files it imports or points to (of a repo-facts file, only this skill's section:
sed -n '/^## how-it-works$/,/^## /p' <file>), then in local.md next to this file. If neither has it, ask
the user once, then suggest the one line to add to CLAUDE.md so the next run finds it.
| Fact | Example |
| Docs and skills to read first, per area | forms: docs/forms.md; API shapes: the api-schemas skill; e2e: e2e/README.md |
Purpose
Give an experienced engineer new to this area a working mental model before they change it: its purpose, parts, how a request or event moves through it, where to start, what bites. Not an annotated source listing.
Scope
Restate the question as one line naming the subsystem and its boundary. When it is ambiguous, take the narrowest reading that still answers it, say which in the answer's first line, and go on. Do not ask.
Read the docs first
Read what the Repo facts row lists for the area. A doc may answer the question or name the entry points.
Size the job
Narrow: one module or one flow, and the files are known or one search finds them. Read the code yourself, no subagents. This is the default when unsure.
Wide: several directories, services or layers, or the entry point is unknown. Split into 2-4
slices that do not overlap, for example trigger and entry; core processing; storage and outbound
effects; failure and retry. Spawn one researcher per slice, all in one message, with
model: "haiku" and effort: "low", or Explore with the same where researcher is not
installed. Give
each references/slice-brief.md filled in. Agents without subagents (Codex, Antigravity) read
the slices themselves, one after another.
Confirm before writing
Open the 2-3 files the flow hinges on yourself. Settle conflicts between slice reports by reading the code. Never write from slice reports alone.
Write the explanation
Write it yourself, no writer subagent. Use these ### sections in order. Drop empty ones.
What it is: 2-4 sentences: purpose, why it exists, what is in and out of scope.Moving parts: each type, module, service or table needed, one line and path each.The flow: numbered steps from trigger to result. Each names the function and itsfile:line, and the data handed on. Add a mermaid diagram when three or more parts exchange messages or data passes through stages; skip it otherwise. Prose, not pseudocode. Quote code only when a point depends on exact syntax, about 10 lines at most.Where to start: the 3-6 files to open first, each with why.Traps: what surprises a newcomer, such as ordering, implicit defaults, caching, legacy paths, or a misleading name. Only traps found in the code.Not traced: what this run could not confirm. Never guess to fill a gap.
Rules
- Cite only paths and lines seen in this run.
- Prefer concrete names: "
JobQueue.retry()re-enqueues with a delay", not "the queue handles retries". - Length follows complexity: a narrow question gets a short answer.
If local.md exists next to this file, read it; where it disagrees with this file, it wins.
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.

