agentleFS
hi-donwihi-donwi/Donwi-Skills/skills/codebase-onboarding/SKILL.md

codebase-onboarding

Skill0 starsChanged 10 days agoMITView on GitHub

Build a concise mental model of an unfamiliar repository: architecture, entry points, workflows, hotspots, and tests. Use when starting work in an unknown codebase.

63 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use nuxt4-patterns, pytorch-patterns 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.
  • loulanyueSkill

    nuxt4-patterns

    Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.

    Also in 5 projects that use this

  • Yog-SothoSkill

    pytorch-patterns

    PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading. Always activate when the user is writing PyTorch models or training scripts, reviewing deep learning code, debugging training loops or data pipelines, optimizing GPU memory or training speed, setting up reproducible experiments, implementing transfer learning or fine-tuning, or asks anything about nn.Module, DataLoader, autograd, AMP, or torch.compile.

    Also in 7 projects that use this

  • Arnav-0Skill

    api-test-suite-builder

    Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.

    Also in 3 projects that use this

  • junimnjwSkill

    continuous-agent-loop

    Patterns for continuous autonomous agent loops with quality gates, evals, and recovery controls.

    Also in 7 projects that use this

  • mar-antayaSkill

    pr-review-expert

    PR Review Expert

    Also in 4 projects that use this

  • mar-antayaSkill

    dependency-auditor

    Dependency Auditor

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 59 edited versions we read keep these.

  • 1

    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
  1. Distinctive:

    Trace one real flow: Follow a representative request/user action from entry point to output/storage.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 59 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.

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

Codebase Onboarding

Overview

Learn the shape of the codebase before changing it.

When to use

  • New repository, unfamiliar module, large refactor, or architecture question.
  • You need to identify entry points, ownership boundaries, or risky files.
  • A task requires understanding before implementation.

Process

  1. Map the repo quickly. List top-level directories, package manifests, build files, test config, and docs.
  2. Find entry points. App routes, server startup, CLI commands, workers, jobs, public APIs, schemas, and generated code boundaries.
  3. Use history when useful. git log, churn, recent commits, and blame can reveal hotspots and bug-prone files.
  4. Trace one real flow. Follow a representative request/user action from entry point to output/storage.
  5. Identify local conventions. Naming, error handling, dependency injection, testing style, state management, and folder ownership.
  6. Produce an onboarding map. Include architecture summary, key files, commands, risks, and recommended next reads.

Red flags

  • Editing before identifying the owning module and tests.
  • Treating generated/vendor/build output as source.
  • Ignoring docs or scripts that define local commands.
  • Summaries with no file references.

Verification

  • The onboarding output names real files and commands.
  • At least one representative flow was traced.
  • Risks and unknowns are explicit.

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.