agentleFS
julismanjulisman/virtual-worker/skills/ops/repo-onboarder/SKILL.md

Repo Onboarder

Skill0 starsChanged 29 days agoApache-2.0View on GitHub

Onboard into a code repository in the working folder — map the layout with list_dir/glob/grep, read the key files, and write a concise onboarding doc covering purpose, structure, setup, conventions, and where to start.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Very specific:

    If this agent has wiki tools attached, offer the alternative before writing: wiki_ingest_repo builds a full browsable wiki of the repo — …

    line 32
  2. Very specific:

    Do not read huge/generated folders (node_modules, dist, build, .git, vendored deps, lockfiles beyond a glance at names).

    line 50
  3. Distinctive:

    Read-only except the single output file.

    line 51
  4. Very specific:

    No shell needed for this skill.

    line 53
  5. Distinctive:

    If the folder has no code (empty or docs-only), say so and write a shorter doc instead of padding.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Repo Onboarder

Explore a repository in the working folder and produce one onboarding document a new developer can start from.

Inputs

  • Repo path — relative path inside the working folder. Default: the working folder root.
  • Output file — where to write the doc. Default: ONBOARDING.md at the repo root (ask before overwriting an existing one).
  • Audience — default: a developer new to this codebase.

Steps

  1. list_dir the repo root. Note top-level folders and obvious entry files.
  2. glob for the signals that identify the stack: **/package.json, **/pyproject.toml, **/requirements.txt, **/go.mod, **/Cargo.toml, **/pom.xml, **/Makefile, **/Dockerfile, **/*.config.*, **/.github/workflows/*.
  3. read_file the key files, in this priority: README (any casing), the main manifest(s) from step 2, the entry point (e.g. main.py, index.ts, app.py, cmd/*/main.go), and any CONTRIBUTING/AGENTS/CLAUDE instruction files.
  4. grep to confirm how things wire together: the entry point's imports, route/handler registration, test locations (grep for test_/describe(), and script names in the manifest.
  5. Skim one or two representative source folders with list_dir + read_file on a small file each, to capture naming and layering conventions — do not read the whole tree.
  6. Draft the onboarding doc with these sections, each grounded in files you actually read (cite paths):
    • Purpose — what the project does, one paragraph.
    • Structure — annotated tree of the top-level folders.
    • Setup & run — install, run, and test commands as found in README/manifest/Makefile; mark anything you inferred rather than found.
    • Conventions — language style, naming, where new code of each kind goes.
    • Where to start — 3–5 concrete first files/flows to read, in order.
  7. write_file the doc to the output file and report its path.
  8. If this agent has wiki tools attached, offer the alternative before writing: wiki_ingest_repo builds a full browsable wiki of the repo — ask which the user prefers (quick doc vs full wiki) and do only the chosen one.

Output format

Chat reply:

Onboarding doc written → <path>
Stack: <e.g. Python/FastAPI + React/Vite>
Sections: Purpose · Structure · Setup · Conventions · Where to start
Gaps I could not verify: <list or "none">

The doc itself follows the six-section outline in step 6.

Rules

  • Ground every claim in a file you read; when you infer (e.g. a run command that is not documented), label it "inferred — verify".
  • Do not read huge/generated folders (node_modules, dist, build, .git, vendored deps, lockfiles beyond a glance at names).
  • Read-only except the single output file; never modify repo sources.
  • Large repos: cap exploration at the key files above plus ~10 extra reads; say what you skipped rather than guessing about it.
  • No shell needed for this skill; if the user wants commands executed (e.g. run the tests), that requires the shell tool — say so if it is off.
  • If the folder has no code (empty or docs-only), say so and write a shorter doc instead of padding.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.