codebase-exploration
Skill0 starsChanged 4 months agoMITView on GitHub
Builds a focused, evidence-based map of an unfamiliar repository before modifying it, locating entry points, build, test, and lint commands, architecture boundaries, conventions, the dependency graph, and the nearest agent instructions, then reading tests to learn intended behavior and finding the smallest correct change site. Use when onboarding to a new or unfamiliar codebase, orienting before a change, or answering how a project is structured and where to edit, while staying read-only.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- tdyzzsp47/claude-skillstheir own version, first seen Jun 12, 2026
- kwhorne/elyra-skillstheir own version, first seen May 22, 2026
- DigitalExplorers/agent-skillstheir own version, first seen Apr 29, 2026
- bhaumikmaan/claude-code-master-skillstheir own version, first seen Apr 3, 2026
- giancarloerra/SocratiCodetheir own version, first seen Feb 28, 2026
- belokonm/claude-supercode-skillstheir own version, first seen Jan 12, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- giancarloerra/SocratiCode★ 3.3ksame name
- DigitalExplorers/agent-skills★ 12same name
- belokonm/claude-supercode-skills★ 11same name
- bhaumikmaan/claude-code-master-skills★ 3same name
- kwhorne/elyra-skills★ 1same name
- tdyzzsp47/claude-skills★ 1same 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 repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-tool-interface-designSkill
- code-reviewSkill
- copilot-cloud-agentSkill
- documentation-maintenanceSkill
- external-skill-reviewSkill
- git-and-pr-workflowSkill
- parallel-worktree-deliverySkill
- planning-and-task-breakdownSkill
- refactoring-and-dead-code-removalSkill
- repository-agent-bootstrapSkill
- requirements-and-spec-writingSkill
- security-reviewSkill
- shadow-architectureSkill
- shadow-dreamSkill
- shadow-driftSkill
- shadow-observeSkill
- skill-creatorSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- verification-disciplineSkill
- wayfinder-planningSkill
- web-research-and-verificationSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
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 33
Locate agent instructions first: Read the nearest applicable AGENTS.md, repository instructions, scoped instructions, and contributor …
- Distinctive: line 44
Read the tests: Use existing tests as the specification of intended behavior around the area of interest before proposing any change.
- Distinctive: line 51
Read the exploration playbook for a repeatable order tuned to common project types when the layout is unclear.
- Distinctive: line 60
Do not change tracked files, git state, or remote state during exploration.
- Distinctive: line 61
If a question genuinely requires a mutating action, stop and report it as a next step rather than performing it.
- Distinctive: line 70
Unknown: not determined; state what would resolve it.
- Distinctive: line 71
Do not present inference as fact.
“Common” is measured: kept by at least 6 in 10 of the 5 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
Codebase Exploration
Build a focused map of an unfamiliar repository before changing it, then identify the smallest correct place to make the intended change. Stay read-only while exploring: do not edit files, run mutating commands, or install dependencies to answer a question. Prefer inspection over execution, and never assume a file, command, or convention exists without confirming it.
Goal
Produce a short orientation that a change can be built on:
- Where execution starts and how the project is built, tested, and linted.
- The main architecture boundaries and how they communicate.
- The conventions and agent instructions a change must follow.
- The intended behavior around the change, learned from tests.
- The smallest correct edit site, with evidence paths.
Workflow
- Frame the task. State what change or question motivates the exploration so the map stays scoped. Explore only what that goal requires.
- Locate agent instructions first. Read the nearest applicable
AGENTS.md, repository instructions, scoped instructions, and contributor guidance. These define conventions, commands, and boundaries the change must respect. - Find entry points and commands. Identify how the project starts and how it is built, tested, and linted. Read manifests, task runners, and scripts rather than guessing command names.
- Map architecture boundaries. Identify the major modules, layers, or services and how they depend on and communicate with each other. Note the dependency direction and any obvious ownership.
- Learn conventions. Observe naming, structure, error handling, logging, and test patterns already in use, so a change matches the codebase.
- Read the tests. Use existing tests as the specification of intended behavior around the area of interest before proposing any change.
- Locate the change site. Find the narrowest module, function, or file where the intended change belongs, and confirm nothing else must change with it.
- Report. Deliver the map with evidence paths and clearly separated confidence levels.
Read the exploration playbook for a repeatable order tuned to common project types when the layout is unclear.
Read-Only Discipline
- Inspect files, search, and read command definitions instead of running them.
- Running a read-only build, test, or lint to learn behavior is acceptable only when it does not modify tracked files, write outside build directories, or install packages. Prefer reading configuration first.
- Do not change tracked files, git state, or remote state during exploration.
- If a question genuinely requires a mutating action, stop and report it as a next step rather than performing it.
Evidence and Confidence
- Cite workspace-relative paths, and line ranges when useful, for every claim.
- Separate findings into three explicit groups:
- Verified: directly supported by a cited file, command definition, or test.
- Inferred: a reasonable conclusion from evidence, labeled as inference.
- Unknown: not determined; state what would resolve it.
- Do not present inference as fact. Prefer a small verified map over a large speculative one.
Output Format
Return:
- The task frame and the scope explored.
- Entry points and the exact build, test, and lint commands, with sources.
- Architecture boundaries and the dependency graph at a useful level.
- Conventions and the nearest applicable agent instructions.
- Intended behavior learned from tests, with test paths.
- The proposed smallest change site, with evidence.
- Verified findings, inferences, and unknowns, kept separate.
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.

