What problem does it solve?
This Skill enforces a safe, auditable promotion of a release candidate from staging to production, reducing manual errors when finalizing versions, pushing changes, and opening the production pull request.
Core Features & Use Cases
- Protected branch guard and validation: prevents execution from non-staging branches and stops if there are no commits ahead of master.
- Version detection and finalization: locates the repository version file, validates that it is a release candidate (RC), and strips the RC suffix to produce a stable version.
- Commit analysis and PR composition: analyzes commits and diffs against origin/master, generates a structured release PR body grouped by change type, checks for existing PRs, and uses gh CLI for PR operations with explicit user approvals.
- Use Case: When a release candidate in staging is ready for production, use this Skill to validate the RC, finalize the version file, push staging, and create a production PR with a complete changelog and checklist.
Quick Start
Run this skill from the staging branch to validate the RC version, finalize the version file, push staging, and create the production PR to master after confirming each step.