Repo Onboarding Standards
When to use
- First session in a new repository.
- Existing repositories lacking standardized AI customization and release/security gates.
- Requests like: "include all global-skills in your initialization process."
Procedure
- Run
global-skills-bootstrapinmode=initfor repository scaffolding. - Provision canonical label taxonomy:
node scripts/global/label-provision.js --repo=<owner/repo>. This seeds alltype:*,status:*,priority:*,role:*,area:*,lane:*,resolution:*, and governance labels required for the baton lifecycle. Manifest:scripts/global/label-manifest.json(Refs #2785). - Classify repository type and risk profile using existing routing skills.
- Generate baseline repo instructions (
.github/copilot-instructions.md) with build/test/gate truth. - Add targeted
.github/instructions/*.instructions.mdfiles for stack-specific rules. - Verify CI has minimum baseline: lint/test, dependency/security review, artifact/release checks.
- Add or update release policy controls (version integrity, docs sync, packaging audit).
- For platforms that support exact-version install/pin, require version-selectability controls:
- immutable artifact retention,
- exact-version install smoke checks,
- canonical version index/source alignment for update prompts,
- documented rollback and version-yank policy.
- Produce an onboarding report with required vs optional controls and evidence.
Required handoffs
- Run
global-skills-bootstrapfirst for new repositories. - Route standards selection via
repo-standards-router. - Route GitHub workflow governance controls via
github-ops-tree-router. - Use
workflow-self-annealonly post-failure/process mismatch.
Output format
repo_classification: type + confidencebaseline_status: complete|partial|missingrequired_controls: must-have controlsoptional_controls: nice-to-have controlsexecution_plan: sequenced rollout tasksevidence: files and checks used for conclusions
Standards
- Prefer smallest correct baseline over over-engineered policy stacks.
- Require objective verification gates for each recommended control.
- Do not claim onboarding complete without evidence for every required control.
- Do not mark release governance complete when an app type can support exact-version installability but lacks enforceable controls for it.