Starting a new repository
PLATE scaffold ships in plate-core and the gh plate extension. Do not use GitHub's "Use this template" on akasper/plate_template or any other template repo.
Install (once per machine)
Pin the same version for Python and the extension (see root README.md for the current pin):
pip install -U 'plate-core==0.12.0'
python3 -c "import plate_core; print(plate_core.__version__)"
gh extension install akasper/gh-plate # or: gh extension upgrade plate
Greenfield: empty GitHub repository
Create an empty repo (no template):
gh repo create OWNER/NAME --privateNever pass
--templateor forkakasper/plate_template.Clone it (or
cdinto your local root) and plan bootstrap:gh plate bootstrap --repo OWNER/NAME --greenfieldApply when the plan looks right:
gh plate bootstrap --repo OWNER/NAME --greenfield --apply
gh plate bootstrap --apply is required for adoption: it materializes the scaffold, applies the canonical label set, seeds starter issues, and writes baseline .plate / GitHub settings per project policy (#1193). Dry-run (no --apply) is the default.
Follow new-repository-checklist.md for human decisions after bootstrap.
Existing local codebase
Add PLATE without replacing your product code:
Plan import (default is dry-run):
gh plate import-payload --strategy conservativeApply:
gh plate import-payload --strategy conservative --applyFinish GitHub-side adoption:
gh plate bootstrap --adopt --apply
See adoption-guide.md for readiness checks and the full under-30m sequence.
Agents
Never clone, fork, or gh repo create --template from plate_template (or hand-copy files from src/plate_core/template_payload/). Use gh plate bootstrap and gh plate import-payload only.