| name | codebase-onboarding |
| description | Rapidly map an unfamiliar research or engineering codebase, identify entry points, execution paths, configuration layers, tests, and risky modules. Use when inheriting a project, preparing a reproduction, reviewing a repo for collaboration, or locating where to modify a model, runtime, compiler, or hardware flow. |
Codebase Onboarding
Use this skill to compress the first day of repo reading into a structured map.
Core Workflow
- Identify build system, runtime entry points, and test commands.
- Map the top-level architecture and the config surface.
- Trace one representative execution path end to end.
- Separate generated code, vendor code, and owned code.
- Produce the minimal file list needed for the user's task.
Execution Rules
- Prefer concrete paths and functions over vague architecture prose.
- Distinguish authoritative config from defaults and examples.
- Call out dead ends, stale docs, and scripts that appear unused.
- End with the smallest safe edit surface.
Output Contract
Return:
- Architecture map.
- Entry points.
- Config and dependency map.
- Highest-risk modules.
- Recommended reading or edit order.