codebase-scouting
Skill0 starsChanged yesterdayMITView on GitHub
Investigate unclear repository ownership, dependencies, or affected
In this repository34 other files it gives its agents.
- astroSkill
- bun-standardsSkill
- postgresSkill
- react-engineeringSkill
- rust-standardsSkill
- spring-bootSkill
- tailwind-v4Skill
- typescript-standardsSkill
- vitest-testingSkill
- api-designSkill
- architecture-reviewSkill
- benchmark-readiness-reviewSkill
- cli-designSkill
- code-review-findingsSkill
- config-projection-reviewSkill
- documentation-hygieneSkill
- domain-modelingSkill
- formal-verificationSkill
- implementation-planningSkill
- orchestration-workflowSkill
- problem-clarificationSkill
- product-copySkill
- refactorSkill
- repository-text-hygieneSkill
- researchSkill
- security-scope-reviewSkill
- setup-canastaSkill
- system-designSkill
- task-closeoutSkill
- tddSkill
- technical-writingSkill
- upstream-contributionSkill
- writing-issuesSkill
- writing-prSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill for unclear ownership, uncertain dependencies, architecture-sensitive behavior, or an explicit impact investigation.
- Distinctive: line 23
Read the task and repository contract.
- Distinctive: line 37
Prefer repository-native dependency graphs, build metadata, compiler or language-server references, and executable traces.
- Distinctive: line 41
Check edges static analysis commonly misses: registration, configuration, reflection, code generation, dependency injection, plugins, …
- Distinctive: line 50
Stop when ownership, contracts, consumer paths, verification ownership, and material unknowns are mapped well enough for a bounded planning …
- Distinctive: line 57
Every impacted file or target needs a causal path from the task or change seed.
- Distinctive: line 60
Do not propose unrelated refactors.
≈ “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
Codebase Scouting
Use this skill for unclear ownership, uncertain dependencies, architecture-sensitive behavior, or an explicit impact investigation. Multiple edited files alone do not require scouting. Reuse established evidence. Scouting establishes a defensible change boundary; it does not design the implementation. It investigates repository evidence, not external source research. Route current external claims, official documentation, standards, papers, and market evidence to the research workflow; use both only when the decision requires an explicit repository-to-external comparison.
Workflow:
- Read the task and repository contract. Start from the named behavior, changed files, symbols, failing tests, or observable entry point instead of surveying the whole repository. When scouting a diff, record the exact comparison base and include uncommitted changes.
- Identify the owning bounded context, package, and surface. Separate stable contracts from implementation details and note dirty-worktree overlap. Locate durable rationale only when a non-obvious persistent decision cannot be understood safely from code, tests, contracts, and current architecture.
- Trace evidence in both directions:
- inward to dependencies, schemas, configuration, and authorities the behavior relies on;
- outward to callers, adapters, DTOs, events, projections, build targets, tests, and user-facing consumers. Classify each relationship as direct, transitive, or uncertain.
- Prefer repository-native dependency graphs, build metadata, compiler or language-server references, and executable traces. Treat text search and naming proximity as leads, not dependency proof. Record the graph or tool and the assumptions behind its affected set.
- Check edges static analysis commonly misses: registration, configuration, reflection, code generation, dependency injection, plugins, scripts, serialization, database contracts, environment variables, and external APIs.
- Map verification ownership. Name the smallest focused tests that exercise the direct behavior, then the downstream contract, integration, package, or workspace gates justified by the impact map. Focused affected tests are a fast-feedback gate, not proof of complete impact coverage. Widen verification for shared contracts, build or dependency changes, dynamic edges, or uncertain reachability.
- Stop when ownership, contracts, consumer paths, verification ownership, and material unknowns are mapped well enough for a bounded planning decision. Record searched and unsearched surfaces; do not inventory the repository for its own sake.
Evidence discipline:
- Facts, inferences, and unknowns must be distinguishable.
- Every impacted file or target needs a causal path from the task or change seed.
- Absence of a text reference is not evidence that a runtime consumer does not exist.
- Do not propose unrelated refactors. Do not turn the map into an implementation plan.
Output:
- scope seed and owning boundary;
- stable contracts and implementation details;
- direct, transitive, and uncertain consumers with evidence-backed file or target references;
- verification map, hidden-edge checks, and material unsearched surface;
- smallest defensible change boundary and open risks for planning or specialist review.
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.

