gh-bootstrap

Installation
SKILL.md

gh-bootstrap

One-shot repository configuration for the merge-queue + squash-merge + auto-release-notes pattern.

This is one-time repo policy, distinct from per-task GitHub operations: how should this repo be configured in the first place?

What gets configured

Concern Result Endpoint
Repo merge defaults Squash-only; PR title → commit subject; delete branches on merge PATCH /repos/{owner}/{repo}
Default branch protection Ruleset with PR and required checks, no force-push, no deletion; optional queue POST /repos/{owner}/{repo}/rulesets
Release notes .github/release.yml with category buckets driven by PR labels File commit
Release workflow (optional) Tag push → gh release create --generate-notes on the discovered default branch File commit

All policy endpoints (repo settings, rulesets, branch protection) run through the gh CLI — gh api for the JSON endpoints, gh repo/gh release where there's a first-class subcommand. The skill writes files (.github/release.yml, the optional release workflow) directly to the working tree.

Protocol

Installs
68
First Seen
Oct 7, 2026