New Repository Bootstrap Checklist
Use this checklist after starting-a-new-repository.md (empty repo + gh plate bootstrap --greenfield --apply). It separates steps that can be standardized from ones that still require human judgment.
Adopting into an existing/mature repo? Do not use only this greenfield checklist.
See docs/migration/adoption-guide.md and prefer:gh plate import-payload --strategy conservative(dry-run) →--apply, thengh plate bootstrap --adopt --applyfor GitHub-side labels/wiki/.plate/branches.
Fast Path
From the repository root (after bootstrap has copied the scaffold), choose the script for your operating system:
macOS / Linux / WSL (bash):
bash scripts/bootstrap_github.sh --repo OWNER/REPO --local-repo . --owner-handle @your-handle --remove-default-labels --protect-branch main
# Add --init-wiki only if you plan to enable wiki sync.
# Add --skip-delete-branch-on-merge only if this repository intentionally keeps merged branches.
Windows (PowerShell):
.\scripts\BootstrapGitHub.ps1 -Repo OWNER/REPO -LocalRepo . -OwnerHandle @your-handle -RemoveDefaultLabels -ProtectBranch main
# Add -InitWiki only if you plan to enable wiki sync.
# Add -SkipDeleteBranchOnMerge only if this repository intentionally keeps merged branches.
Both scripts require only gh (GitHub CLI) and git. They cover the repeatable GitHub bootstrap work that otherwise gets missed in brand-new repositories.
Automatable Steps
| Step | Why It Matters | Covered by Helper |
|---|---|---|
Sync canonical PLATE labels from .github/labels.yml |
The label taxonomy drives routing, enforcement, and review semantics. | Yes |
| Remove conflicting default GitHub labels | Default labels such as documentation and enhancement create drift from the canonical PLATE taxonomy. |
Yes |
Replace @PLATE_REPO_OWNER in .github/CODEOWNERS |
Placeholder owners break review routing and code-owner protection. | Yes |
| Enable delete-branch-on-merge (default; configurable off) | Keeps the repository clean after reviewed work lands while still allowing explicit opt-out for repositories that need to preserve merged branches. | Yes |
Initialize the wiki from docs/wiki/Home.md |
Prevents the GitHub wiki from starting empty when the repository-managed source already exists. | Yes, when --init-wiki / -InitWiki is passed |
| Seed the Goals wiki page (docs/wiki/Goals.md) from convention template | Provides the canonical high-level mission/intent page for agents (Information Audits, #218) and humans. | Yes (via bootstrap goals init; flag/interactive support added for #266) |
Seed a baseline root .plate config |
Gives the repo a durable local configuration surface that gh plate config show/validate and MCP tools can inspect or repair later. |
Yes |
| Apply conservative baseline branch protection | Provides immediate protection against force-pushes and branch deletion while requiring conversation resolution. | Yes, when --protect-branch BRANCH / -ProtectBranch BRANCH is passed |
Human Decisions Still Required
| Step | Why Human Review Is Still Needed |
|---|---|
| Decide the final branch protection policy | Approval counts, code-owner review, required checks, and linear history depend on team size and merge model. |
| Configure GitHub Projects fields | Project field names and lifecycle shape should match the team’s planning model. Now supported via get_epic_status(..., project_number=N) + get_project_v2_items / add_issue_to_project_v2 (GraphQL, optional, graceful degrade; see #268). |
| Replace placeholder product language in docs | Only a human product owner can define the initial repository’s real intent and public claims. |
| Create the first real GitHub milestone for Epic work | Milestones are the canonical Epic container and should reflect the project’s actual roadmap. |
| Tune CI, release, pages, and audit workflows | The template ships scaffolds, but real commands and release policy depend on the project stack. |
| Decide whether to enable wiki sync | Write automation, token scope, and wiki publication policy require explicit approval. |
| Customize the Goals page content | The bootstrap seeds a placeholder; replace with project-specific mission, principles, etc. |
Common Bootstrap Failure Modes
- Default GitHub labels remain in place, so pull requests get labeled with
documentationinstead ofDocumentation. .github/CODEOWNERSstill contains@PLATE_REPO_OWNER, so review ownership is never actually configured.- The GitHub wiki exists but stays empty even though
docs/wiki/Home.mdalready defines the intended homepage. - The repository claims GitHub Projects should hold mutable planning state, but no actual project fields have been created yet.
- Branch protection is missing or too weak for a GitHub-first workflow.
- No root
.platefile exists, so local configuration and extension intent remain invisible togh plate config/ MCP surfaces until someone runs bootstrap orgh plate config init --apply.
Recommended First Follow-Up Issue
Create the repository’s first real Epic milestone, then open a Research, Design, Feature, or optional companion Epic issue that points at that milestone so implementation PRs can stay traceable from the start.