codebase-onboarding
Installation
SKILL.md
Codebase Onboarding
Overview
Give a new developer a working mental model in minutes: what the project does, how it is organized, how a request flows through it, how to run it, and where to make common changes. Every claim points to a file.
Method
- Identify the project: README, manifests (
package.json,pom.xml,pyproject.toml,go.mod), languages, frameworks, versions. - Find how it runs: scripts,
Makefile,docker-compose.yml,.env.example, CI workflow (the CI file shows the real build and test steps). - Map the structure: top-level folders and what each owns. Find the entry points (server start, routes, CLI main, app root).
- Trace one real flow end to end: for example an HTTP request from route → handler → service → database → response, with file paths.
- Find the conventions: state management, data access, error handling, logging, testing style, naming.
- List the gotchas: required services, generated code, environment quirks, slow or flaky parts, areas without tests.
- Write the guide with the format below. Verify the run commands exist.