repo-walkthrough
Skill29 starsChanged 7 months agoMITView on GitHub
Walk a user through how a repository works, explaining critical flows at a calibrated simplicity level. Use when user says "walk me through this repo", "explain this repo", "how does this codebase work", or asks to understand a repo. Accepts a simplicity level argument (novice, pro, brief, detailed, etc.).
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- broSkill
- build-skillSkill
- cloudflareSkill
- cold-emailSkill
- composio-cliSkill
- copywritingSkill
- diff-walkthroughSkill
- emailsSkill
- frontend-designSkill
- grill-meSkill
- grill-with-docsSkill
- howSkill
- improve-codebase-architectureSkill
- index-knowledgeSkill
- install-skillSkill
- jira-toolSkill
- librarianSkill
- prospectingSkill
- spec-plannerSkill
- teachSkill
- timesharingSkill
- tmuxSkill
- unslopSkill
- using-git-worktreesSkill
- whySkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
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 22
If no level is specified, default to novice.
- Very specific: line 30
Use the Task tool with the explore agent (thoroughness: "very thorough") to gather repo context.
- Very specific: line 34
Read key files: README, package.json/Cargo.toml/go.mod/pyproject.toml, main entry points, config
- Very specific: line 38
If the explore agent is not available, fall back to using Glob/Read/Grep directly.
- Distinctive: line 40
Do NOT dump raw file listings at the user.
- Distinctive: line 79
After covering the critical flows, ask the user:
- Distinctive: line 85
If the user names a focus area, dive into it with the same level-appropriate depth.
- Distinctive: line 97
Ground everything in code: never speculate about behavior you haven't inspected.
- Distinctive: line 98
One flow at a time: do not overwhelm with a wall of text.
- Distinctive: line 99
Ask, don't assume understanding: after each explanation block, check in with the user.
- Distinctive: line 100
Adapt on the fly: if the user says "too much detail" or "can you simplify?", adjust immediately.
≈ “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
Repo Walkthrough
Guide the user through a repository's architecture and critical flows, calibrated to their level.
Invocation
The user may specify a simplicity level. Parse it from their prompt. Examples:
| User says | Level | Behavior |
| "novice", "beginner", "eli5" | Novice | Plain language, no jargon without definition, analogies welcome |
| "intermediate", "familiar" | Intermediate | Assume basic programming literacy, define domain-specific terms |
| "pro", "expert", "senior" | Pro | Concise, use precise terminology, skip fundamentals |
| "brief", "quick", "overview" | Brief | High-level summary only, minimal detail |
| "detailed", "deep", "thorough" | Detailed | Exhaustive coverage of each flow |
If no level is specified, default to novice.
The level controls vocabulary and depth, not correctness. Never simplify to the point of being wrong.
Workflow
Phase 1: Reconnaissance
Use the Task tool with the explore agent (thoroughness: "very thorough") to gather repo context. Ask it to:
- Map the repo structure: root files, directory layout, config files, entry points
- Identify the tech stack (languages, frameworks, build tools, package managers)
- Read key files: README, package.json/Cargo.toml/go.mod/pyproject.toml, main entry points, config
- Identify the primary domain: what does this software do for its users?
- List the 3-5 most important code paths / critical flows
If the explore agent is not available, fall back to using Glob/Read/Grep directly.
Do NOT dump raw file listings at the user. Synthesize what you find.
Phase 2: Orientation
Present a concise summary to the user:
- What this repo is: one-sentence purpose
- Tech stack: languages, frameworks, key dependencies
- Repo shape: how the code is organized (e.g., "monorepo with packages/", "standard Go project layout", "single SPA with src/")
- Key entry points: where execution begins, where requests arrive, where the CLI dispatches
Adjust detail to the user's level. For novice, explain why the structure exists. For pro, just name the conventions.
Phase 3: Critical Flows
Identify and explain the critical flows -- the 3-5 most important paths through the code that define what this software does. Examples:
- How an HTTP request is handled end-to-end
- How data is ingested, transformed, and stored
- How the CLI parses a command and executes it
- How the build pipeline works
- How auth/session management works
For each critical flow:
- Name the flow clearly
- Trace the path through the code: entry point -> key functions/modules -> output/side-effect
- Reference specific files and line ranges (e.g.,
src/server.ts:45) - At novice level: use analogies, explain why each step exists
- At pro level: focus on non-obvious design decisions, tradeoffs, and gotchas
Present one flow at a time. After each flow, pause and ask the user:
- "Does this make sense?"
- "Want me to go deeper on any part of this?"
- "Ready for the next flow, or want to explore something specific?"
Phase 4: Check Understanding
After covering the critical flows, ask the user:
- Which parts feel clear vs. fuzzy?
- Is there a specific area they want to focus on (e.g., "how does auth work?", "what happens when I run X?")?
- Whether they want to trace a specific scenario end-to-end
If the user names a focus area, dive into it with the same level-appropriate depth.
Phase 5: Wrap-Up
Offer a brief recap of what was covered and suggest next steps:
- Files worth reading in detail
- Areas of the codebase that are complex or under-documented
- Good first tasks if the user wants to contribute
Rules
- Ground everything in code: never speculate about behavior you haven't inspected. Read the files.
- One flow at a time: do not overwhelm with a wall of text. Pause for interaction.
- Ask, don't assume understanding: after each explanation block, check in with the user.
- Adapt on the fly: if the user says "too much detail" or "can you simplify?", adjust immediately.
- Stay focused on critical paths: skip boilerplate, config minutiae, and generated code unless the user asks about them.
- Use the Task tool and Explore agent for broad codebase searches to keep context lean.
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.

