learn-system
Skill30 starsChanged 2 months agoMITView on GitHub
Explore and explain how a system, module, or codebase works. Use when the user is onboarding, trying to understand unfamiliar code, or building a mental model.
In this repository20 other files it gives its agents.
- capSkill
- code-audit-hardcoreSkill
- code-auditSkill
- coding-processSkill
- design-hierarchySkill
- design-masterSkill
- design-windowSkill
- evaluate-skillSkill
- fix-bugSkill
- human-proseSkill
- implement-plan-auditedSkill
- implement-planSkill
- init-phoenixSkill
- plan-largeSkill
- plan-smallSkill
- refactorSkill
- remove-codeSkill
- review-large-prSkill
- review-planSkill
- write-agentSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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 16
Use the active system's exploration subagent when available.
- Distinctive: line 48
Start broad, go deep on specific areas when asked
- Distinctive: line 49
Always trace at least one concrete scenario — abstract explanations don't stick
- Distinctive: line 50
When the user states their understanding, correct misconceptions specifically
- Distinctive: line 51
Use diagrams to compress understanding
- Distinctive: line 52
Write down what you learned — it compounds across sessions
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Learn How Something Works
Process
Entry point exploration:
- What triggers this code to run
- High-level flow (what calls what, in what order)
- Key data structures and how they transform
- Where important decisions/branching happens
Use the active system's exploration subagent when available. Give it a narrow brief and collect its findings.
Visual mental model: Draw a diagram (mermaid or ASCII) showing:
- Main components/modules
- Data flow between them
- External dependencies (DB, APIs, filesystem)
- Error handling boundaries
Save the diagram — visual models compress understanding.
Trace a specific flow: Walk through a concrete scenario step by step:
- Which functions are called, in what order
- What data looks like at each step
- "Interesting" parts (complex logic, non-obvious behavior)
Pick the most common scenario first, then trace edge cases.
Socratic verification (when the user states their understanding):
- What did they get wrong?
- What's missing?
- What would surprise them?
Telling the AI what you think is true and asking for corrections is dramatically more effective than open-ended questions.
- Capture the understanding (if asked): Write a brief architecture doc:
- Purpose and scope
- Key concepts and data flow
- Common modification points
- Gotchas and non-obvious behavior
Rules
- Start broad, go deep on specific areas when asked
- Always trace at least one concrete scenario — abstract explanations don't stick
- When the user states their understanding, correct misconceptions specifically
- Use diagrams to compress understanding
- Write down what you learned — it compounds across sessions
- Big-output discipline. Heavy command output (project check, full
git diff, repo-wide search, long log, large fetch) goes to/tmp/hawk-learn-system-<step>.log, thenrg -n '<pattern>' /tmp/hawk-learn-system-<step>.log | head -50extracts what you need. Read only the required lines from the file. See README → Big-output discipline. Explore subagents must apply the same recipe to their captures.
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.

