codebase-onboarding
Skill54 starsChanged 6 months agoMITView on GitHub
Maps an unfamiliar repo before touching its code.
38 other projects use a version of this.
Adopted by
Most recently taken up by
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- PassionZale/skillstheir own version, first seen Sep 22, 2026
- ZeroTokenClaw/agents-skillstheir own version, first seen Sep 21, 2026
- beelabstudio/aitheir own version, first seen Sep 20, 2026
- mxrsv/agents-skillstheir own version, first seen Sep 19, 2026
- templetongroup/radianttheir own version, first seen Sep 17, 2026
Used with
Projects with it also use pytorch-patterns, continuous-agent-loop and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
mryeastcodeSkillpytorch-patterns
PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.
Also in 5 projects that use this
InfopibeSkillcontinuous-agent-loop
Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls.
Also in 7 projects that use this
tpavanipradeepSkillai-regression-testing
Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code.
Also in 5 projects that use this
tpavanipradeepSkilldata-scraper-agent
Build a fully automated AI-powered data collection agent for any public source — job boards, prices, news, GitHub, sports, anything. Scrapes on a schedule, enriches data with a free LLM (Gemini Flash), stores results in Notion/Sheets/Supabase, and learns from user feedback. Runs 100% free on GitHub Actions. Use when the user wants to monitor, collect, or track any public data automatically.
Also in 5 projects that use this
InfopibeSkillagent-harness-construction
Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates.
Also in 5 projects that use this
xfstudioSkillarchitecture-decision-records
Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation. Use when documenting significant technical decisions, reviewing past architectural choices, or establishing decision processes.
Also in 14 projects that use this
- +5 more from Infopibe
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- loulanyue/awesome-claude-notes★ 272same name
- templetongroup/radiant★ 113same name
- Jamkris/everything-gemini-code★ 87same name
- kumaran-is/claude-code-onboarding★ 36same name
- Hassaan146/claude-skills★ 18same name
- kaizakin/dotfiles★ 16same name
- woxiangyangzhimao/skills★ 14same name
- noah-sheldon/ai-dev-kit★ 13same name
- hukusuke1007/agent-skills★ 8same name
- mxrsv/agents-skills★ 8same name
28 more not listed
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 repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- architecture-sketchingSkill
- autonomous-bug-fixSkill
- behavioral-foundationSkill
- brainstormingSkill
- code-reviewSkill
- debuggingSkill
- demand-eleganceSkill
- derive-nfr-from-driverSkill
- derive-security-from-riskSkill
- dispatching-parallel-agentsSkill
- durable-workSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- plan-before-codeSkill
- pr-workflowSkill
- receiving-code-reviewSkill
- refactoringSkill
- requesting-code-reviewSkill
- requirements-elicitationSkill
- safety-guardrailsSkill
- security-auditSkill
- self-improvementSkill
- subagent-strategySkill
- test-writingSkill
- traceability-gateSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verify-before-doneSkill
- template-skillSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Before making changes to code you have not read.
- Distinctive: line 20
When a project lacks documentation.
- Distinctive: line 23
NOT when you already have a recent mental model of this repo — re-onboarding wastes turns.
- Distinctive: line 27
Read access to the repository.
- Very specific: line 69
Use glob on *, then on src/ (or the equivalent).
- Very specific: line 85
Use glob to locate tests (/*.test.*, /test_*.py, /*_test.go).
- Distinctive: line 89
Write a 5–10 line summary for your own use (and to brief sub-agents):
- Distinctive: line 105
DO NOT: start editing before completing the survey.
- Distinctive: line 106
DO NOT: ask the user what stack it is when the manifest answers the question.
- Distinctive: line 107
DO NOT: read the repo linearly file by file.
“Common” is measured: kept by at least 6 in 10 of the 33 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 Onboarding Skill
Builds a working mental model of an unfamiliar repository before making changes: language, framework, structure, conventions, entry points, and test pattern. Does NOT exhaustively read every file — surveys strategically, then drills in where the work demands it.
When to Use
- Working in a new or unfamiliar repository.
- Before making changes to code you have not read.
- When a project lacks documentation.
- User asks you to "look at this repo" or "understand this project".
- Briefing a sub-agent on context before delegating.
- NOT when you already have a recent mental model of this repo — re-onboarding wastes turns.
Prerequisites
- Read access to the repository.
- The
view,grep, andglobCopilot tools. - The
powershelltool to inspect files outside the source tree (lockfiles, etc.). - Ability to run the project's test command (later, optional).
How to Run
1. Survey the top-level layout with `glob`.
2. Read manifest files (package.json, pyproject.toml, go.mod, *.csproj, pom.xml).
3. Read the README.
4. Identify the architecture pattern from directory names.
5. Open the entry point and one representative test.
6. Note conventions: naming, imports, error handling, test layout.
7. Write a short Quick Map (5–10 lines) for your future self.Quick Reference
| Survey target | Tool | Why |
| Top-level layout | glob '*' | Frames the project |
| Source layout | glob 'src/**' (or repo equivalent) | Spots architecture pattern |
| Manifests | view package.json / view pyproject.toml | Language, framework, scripts |
| README | view README.md | Author's intent |
| Entry point | view src/main.* / view cmd/main.go | How startup actually works |
| Tests | view one representative test | Pattern + framework |
| Directory signal | Architecture clue |
src/controllers/ or src/routes/ | MVC / route-based |
src/features/ or src/modules/ | Feature / domain-driven |
packages/ or apps/ | Monorepo |
src/components/ | Component-based frontend |
cmd/ and internal/ | Go standard layout |
src/main/java/ | Java / Spring |
Dockerfile + docker-compose.yml | Containerized service set |
Procedure
Step 1: Survey the Landscape
Use glob on *, then on src/** (or the equivalent). Note top-level files. Use view on the manifest file for the stack — package.json, pyproject.toml, go.mod, *.csproj, pom.xml.
Step 2: Read the README
Open README.md with view. The author usually states the project's purpose, run instructions, and conventions in the first hundred lines.
Step 3: Identify Architecture
Match the directory layout to the table above. Note any divergence — those are the "interesting" parts.
Step 4: Read the Entry Point
Open the entry file with view: src/main.ts, src/app.py, cmd/main.go, Program.cs. Trace the startup path one level deep. You are mapping shape, not deeply auditing logic.
Step 5: Sample One Test
Use glob to locate tests (**/*.test.*, **/test_*.py, **/*_test.go). Open one with view. Note framework, fixture style, and where tests live relative to source.
Step 6: Capture the Quick Map
Write a 5–10 line summary for your own use (and to brief sub-agents):
## Quick Map: <repo-name>
- Language: TypeScript (strict mode)
- Framework: Next.js 14 (App Router)
- Tests: Vitest, co-located `*.test.ts`
- Patterns: Server Components default, Server Actions for mutations
- Entry: `src/app/layout.tsx`
- API: `src/app/api/`
- Models: `src/lib/models/`
- Build: `npm run build`. Deploy: Vercel.Pitfalls
- DO NOT start editing before completing the survey. You will pick the wrong directory.
- DO NOT ask the user what stack it is when the manifest answers the question.
- DO NOT read the repo linearly file by file. Survey strategically.
- DO NOT impose your preferred conventions. Match the existing style even if you would do it differently.
- DO NOT skip reading at least one existing test — tests are executable docs.
Verification
- Quick Map written (language, framework, tests, entry, build).
- At least one existing test file was opened with
view. - Architecture pattern is named (MVC / monorepo / etc.).
- Run command is identified and recorded.
- Naming/convention rules are noted before any new file is created.
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.

