release-gate
Check deployment, staging, rollback, and health verification before release. Use for user-facing, infrastructure, CI/CD, integration, or high-risk changes.
SKILL.mdskills/engineering/release-gate/SKILL.md
GitHubRelease Gate
Use this before staging or production release.
Workflow
- Confirm the reviewed commit or artifact being released.
- Confirm environment and deployment mechanism.
- If the release introduces or changes a required config/secret name, reconcile required config/secret names against the target environment and block on any gap (
reconcile_config) — see configuration preflight. - If a secret-delivery path is new or changed, run a non-secret canary through that path and block until the canary confirms delivery works (
run_canary) — see configuration preflight. - Run the smallest deployment validation available.
- Smoke-test the critical route or workflow.
- Record rollback path.
- Create a HITL issue if deployment needs missing human-held access. This is for access that does not exist yet and only a human can create or grant it (e.g., nobody has been given the third-party account/credential itself) — distinct from step 3's reconciliation, which is for config/secret names already obtainable through an existing provisioning process that simply haven't been set in the target environment yet.
Scope & Exemption Rules
Apply this gate selectively based on risk level to prevent release gridlock:
- Exempt (Skip this gate): Low-risk changes per
AI_ENGINEERING_WORKFLOW.md(documentation-only edits, comments, minor styling/CSS tweaks, test-only additions, and narrow bug fixes with no business-rule change, data schema, auth, or infrastructure changes) skip the full staging/rollback release gate. - Mandatory (Do not skip): Medium and High-risk changes (user-facing features, business logic changes, migrations, authentication/permissions, deployment pipelines, and third-party integrations) must satisfy all checks below before release.
Required For Medium/High Risk
- CI status
- Review status
- Target environment
- Smoke test command
- Rollback command or previous artifact
- Health check signal
- Configuration completeness and secret-delivery verification, for changes that introduce or change required config/secrets (see configuration preflight)
Guardrails
- Prefer deploying reviewed artifacts over rebuilding unreviewed source.
- Do not deploy production from unreviewed PRs.
- Do not silently work around missing secrets, DNS, or account permissions.
- Test database safety (disposable/dedicated storage, staging backup timing) follows
system-level/core.md(Test Database Safety) — this gate does not relax it.