repo-onboard
Skill1 starsChanged 6 months agoMITView on GitHub
Fast, token-cheap orientation report for an unfamiliar repository using a deterministic git-based pipeline (file map, hot files, entry points, activity) with strict read budgets. Use when the user says things like "explícame este repo", "onboarding", "qué hace este proyecto", "explain this repo", or "give me a tour of this codebase".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- tsbhatia/coding-skills-for-agentstheir own version, first seen Apr 20, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- tsbhatia/coding-skills-for-agents★ 0same 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 repository4 other files it gives its agents.
- changelog-proSkill
- eda-quicklookSkill
- notebook-polishSkill
- token-dietSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 15
Do NOT read whole files "to understand them".
- Very specific: line 16
Do NOT recurse into node_modules, dist, build, vendor, .git, lockfiles.
- Distinctive: line 17
Run the commands of Steps 1-4 before reading any file content.
- Very specific: line 19
If the directory is not a git repo, fall back to find .
- Distinctive: line 94
Prefer files that are both hot AND entry-point candidates.
- Very specific: line 112
Anti-hallucination rule: every architectural claim must cite the file it comes from, e.g.
≈ “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
repo-onboard
Produce an orientation report for the current repository in minutes, not hours.
The pipeline below is deterministic and cheap: almost everything comes from git
metadata and shell one-liners. You only read file contents in Step 5, and only
within the stated line budgets.
Hard rules:
- Do NOT read whole files "to understand them". Respect the budgets in Step 5.
- Do NOT recurse into
node_modules,dist,build,vendor,.git, lockfiles. - Run the commands of Steps 1-4 before reading any file content. Batch independent commands in parallel where possible.
- If the directory is not a git repo, fall back to
find . -type f | head -200for Step 1, skip Steps 2 and 4, and say so in the report.
Step 1 — Map the terrain (no file reads)
git ls-files | head -200
git ls-files | sed -n -e 's#.*/##' -e 's/^[^.].*\.\([A-Za-z0-9][A-Za-z0-9]*\)$/\1/p' | sort | uniq -c | sort -rn | head -10The sed works on the basename only (s#.*/##) and the ^[^.] guard skips
dotfiles (.gitignore is no longer counted as a gitignore extension).
Files with no extension (Makefile, Dockerfile, LICENSE) are intentionally
omitted by this histogram — count those key files separately from the Step 1
listing when detecting the project type.
Detect the project type from key files in the listing — read only the manifests that exist, nothing else:
| File present | Project type | Manifest to read |
package.json | Node/JS/TS | package.json |
pyproject.toml | Python | pyproject.toml |
requirements.txt only | Python (legacy) | requirements.txt |
go.mod | Go | go.mod |
Cargo.toml | Rust | Cargo.toml |
pom.xml / build.gradle | Java/JVM | first 60 lines only |
composer.json | PHP | composer.json |
Gemfile | Ruby | Gemfile |
Dockerfile / compose* | (deploy signal) | first 30 lines only |
Monorepos: if you see multiple manifests (e.g. packages/*/package.json),
note the workspace layout but read only the root manifest.
Step 2 — Hot files (the heart of the repo)
git log --pretty=format: --name-only -200 | sort | uniq -c | sort -rn | head -15The most-touched files are where the real work happens. Filter out noise (lockfiles, generated files, CHANGELOG) mentally. Keep the top 3 source files for Step 5.
Step 3 — Entry points (heuristics, no reads yet)
By project type, look for these in the Step 1 listing:
- Node/TS:
main/bin/exportsandscriptsinpackage.json(already read in Step 1);src/index.*,src/main.*,src/app.*,src/cli.*. - Python:
[project.scripts]/[tool.poetry.scripts]inpyproject.toml;__main__.py,main.py,app.py,cli.py,manage.py,wsgi.py. - Go:
main.go,cmd/*/main.go. - Rust:
src/main.rs,src/bin/*,[[bin]]inCargo.toml. - Generic:
Makefiletargets,docker-composeservices, CI workflow names (.github/workflows/*.ymlfilenames only).
List candidates; do not open them unless they are also hot files.
Step 4 — Activity and people
git log --oneline -15
git shortlog -sn HEAD | head -5 # add HEAD: shortlog reads stdin without it (empty in non-interactive shells)
git log --reverse --format=%ad --date=short | head -1 # repo age (first commit)
git log -1 --format=%ad --date=short # last commitThis tells you: is the repo alive, who owns it, and what the team is working on right now.
Step 5 — Targeted reads (the ONLY content reads, strict budgets)
README*— first 60 lines only.- The 3 most relevant hot files from Step 2 — first 80 lines each. Prefer files that are both hot AND entry-point candidates.
Total budget: ~300 lines of file content for the whole pipeline. If a file is binary or generated, skip it and pick the next hot file.
Step 6 — Report (fixed sections, in the user's language)
Produce exactly these sections:
- Qué es — 2-3 sentences: purpose, project type, stack.
- Arquitectura en 5 líneas — max 5 lines describing how the pieces fit.
- Dónde está cada cosa — short table: concern → directory/file.
- Por dónde empezar a tocar — the 2-3 files a newcomer should open first (hot files + entry points), and the command to run/test the project if the manifest revealed one.
- Riesgos / deuda visible — only what the data shows: stale repo, single contributor (bus factor), huge hot file, no tests visible, no README, etc.
Anti-hallucination rule: every architectural claim must cite the file it
comes from, e.g. "uses Express (package.json)", "auth lives in
src/middleware/auth.ts (hot file, 14 commits)". If you did not see evidence
for a claim in Steps 1-5, either omit it or mark it explicitly as a guess
("probablemente X — no verificado"). Never invent directories, frameworks, or
behavior.
Example output
A finished Step 6 report for a small Node CLI (abridged, in the user's language):
Qué es — CLI de Node/TypeScript que convierte facturas PDF a CSV. Empaqueta con
tsupy se publica como binarioinv2csv(package.json).Arquitectura en 5 líneas —
src/cli.tsparsea argumentos y orquesta;src/parser/extrae campos del PDF (hot file:parser/extract.ts, 22 commits);src/writer.tsserializa a CSV. Sin estado ni red. Tests entest/connode:test.Dónde está cada cosa
Concern Dónde Entry point src/cli.tsExtracción PDF src/parser/Salida CSV src/writer.tsPor dónde empezar a tocar —
src/cli.ts(entry point) ysrc/parser/extract.ts(hot file, 22 commits). Build/test:npm run build && npm test(scripts enpackage.json).Riesgos / deuda visible — un solo contribuidor (bus factor 1,
git shortlog);parser/extract.tsconcentra casi toda la actividad y conviene vigilar su tamaño. Último commit hace 8 meses: repo poco activo.
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.

