Generate a structured mental model of an unfamiliar codebase — entry points, data flow, key abstractions, and gotchas. Use when starting on a new repo, when the user says "explain this codebase", "how does this work", "onboard me", or before making large changes to unfamiliar code.
npx @senso-ai/shipables install KeyanVakil/codebase-mapBuild a map before you start digging.
Read these files first (in order):
README.md, CONTRIBUTING.md, CLAUDE.md (if present)package.json / pyproject.toml / go.mod — dependencies reveal a lot about the architecturemain.*, index.*, app.*, server.*.env.example, docker-compose.yml, vercel.json, railway.jsonRead a representative sample of source files — at least one from each top-level directory under src/ or app/.
Produce the map in this format:
One paragraph. The product/tool in plain English.
The minimum commands to get it running locally.
[Request/Event]
↓
[Entry point] (file:line)
↓
[Key layer 1] — what it does
↓
[Key layer 2] — what it does
↓
[Data store / external service]
| File/Directory | Owns |
|---|---|
src/... | ... |
The 3–5 concepts you must understand to work in this codebase. For each: name, what it is, where it's defined, and what depends on it.
The main entities and how they relate. A simple list of tables/types + their key fields is enough.
For common tasks in this codebase, where to look: