understand-code
Skill0 starsChanged 54 days agoApache-2.0View on GitHub
Use when exploring an unfamiliar code path, tracing a feature end-to-end, or when asked "how does X work?". Structured 4-step comprehension protocol. READ-ONLY.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mondoohq/secure-stacktheir own version, first seen Nov 1, 2026
- shy-UCAS/claude-skillstheir own version, first seen Oct 20, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mondoohq/secure-stack★ 2same name
- shy-UCAS/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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- architect-reviewSkill
- brainstormingSkill
- clean-codeSkill
- close-gold-gapSkill
- codebase-auditSkill
- configureSkill
- context-rot-managementSkill
- epic-decomposeSkill
- gold-auditSkill
- impactSkill
- levelupSkill
- product-acceptanceSkill
- refutationSkill
- senior-surveySkill
- ssot-navigationSkill
- tabletopSkill
- tddSkill
- verificationSkill
- visual-verificationSkill
- wave-drainSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Mode: READ-ONLY throughout. No edits during this skill.
- Distinctive: line 21
Use Glob and Grep to locate relevant files:
- Distinctive: line 33
Test files (unit + integration)
- Distinctive: line 37
Read files in dependency order:
- Very specific: line 48
Check which invariants apply.
- Distinctive: line 92
Read-only. Do not edit files.
- Distinctive: line 93
Do not propose fixes — only document gaps.
- Distinctive: line 94
Do not run tests or gate.
≈ “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.
Files
Understand Code
Mode: READ-ONLY throughout. No edits during this skill.
Step 1: Scope Discovery
Use Glob and Grep to locate relevant files:
Glob: src/**/*<keyword>*
Grep: "<keyword>" in src/Collect:
- Entry point (controller, command, route handler, event listener)
- Domain / business logic files
- Adapter files (repository, HTTP client, external service)
- Test files (unit + integration)
Step 2: Code Tracing
Read files in dependency order:
- Entry point — what triggers this code path?
- Application layer — what orchestration happens?
- Domain — what business rules apply?
- Adapters — how does the system persist or call out?
Limit: Read at most 8 files. If scope is larger, narrow the argument.
Step 3: Invariant Mapping
Check which invariants apply. The registry is at GLOBAL_INVARIANTS.md.
For each applicable INV:
- Is it currently enforced in the code you read?
- Are there gaps? (Note them — do NOT fix during this skill)
Step 4: Summary Report
## Code Understanding: <argument>
**Entry Point:** <file:line — method/endpoint/event>
**Call Chain:**
<Layer1> → <Layer2> → <Layer3>
**Key Data Flow:**
1. <input> received at <layer>
2. <transformation or validation>
3. <persistence/response>
**Domain Rules:**
- <rule 1>
**Test Coverage:**
- Unit: <files or "none found">
- Integration: <files or "none found">
**Gaps / Risks (observe only — do not fix here):**
- <gap 1>
**Next Step:**
- <if debugging>: hypothesis to test first
- <if modifying>: safe entry point for editsConstraints
- Read-only. Do not edit files.
- Do not propose fixes — only document gaps.
- Do not run tests or gate.
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.

