1---2name: repo-onboarding3description: repository discovery, entrypoint mapping, and fast onboarding for unfamiliar codebases. use when the repo is new, mixed, legacy, monorepo-shaped, poorly documented, or when the next safe step is blocked on understanding layout, ownership, and commands.4---56# Repository Onboarding78## Trigger Signals910- the repository is unfamiliar, mixed, legacy, or monorepo-shaped11- the next safe step is blocked on understanding layout, ownership, or workflow12- docs are sparse, stale, or scattered across many entrypoints1314## Inspect First1516- repo root files such as `README.md`, top-level manifests, CI config, container config, and deployment hints17- `AGENTS.md`, `.agents/skills/`, `.specify/`, or other repo-native guidance surfaces when present18- top-level source, app, package, service, infra, and test directories19- `CODEOWNERS`, contribution docs, issue or PR templates, and other health signals when present2021## Workflow22231. identify the repo archetype and dominant implementation surfaces242. map build, test, run, deploy, and validation entrypoints253. infer ownership, boundaries, and high-risk hotspots from structure and metadata264. call out drift, missing validation, generated code, or conflicting conventions275. recommend the next best action and the best repo surfaces to load before changing code2829## Output Contract3031- repository summary with dominant languages, runtimes, and repo shape32- key commands and entrypoints for build, test, run, and release33- hotspots, blockers, and missing information that affect safe changes34- recommended next action with the specific files or dirs to inspect next3536## Failure Modes3738- repo layout is too large to inspect safely in one pass39- generated or vendored code hides the real ownership boundaries40- no reliable build or validation entrypoints can be found4142## Escalation4344- escalate when ownership or architecture cannot be inferred safely45- escalate when there is no trustworthy validation path for a risky change46- escalate when docs and code disagree about the active workflow4748## References4950- `skills/repo-onboarding/references/output-template.md`51- `skills/repo-onboarding/references/discovery-checklist.md`52- `skills/repo-onboarding/references/repo-archetypes.md`53- `skills/repo-onboarding/references/ownership-and-health-signals.md`54- `skills/repo-onboarding/references/command-discovery.md`55- `skills/repo-onboarding/references/monorepo-signals.md`56- `skills/repo-onboarding/references/examples.md`