git-release-start
Installation
SKILL.md
Git Release Start
Overview
At the start of a version iteration, create a release branch from the main development branch. Core principle: create on remote first, then sync to local — git checkout -b release/X origin/master makes the local branch track origin/master instead of origin/release/X, planting a landmine for later push/pull confusion.
Pairing: git-release-start (iteration start, this skill) ↔ git-release-finish (iteration end, tag + merge).
Platform CLI mapping
| Platform | CLI tool | Create branch on remote |
|---|---|---|
| GitLab (SaaS / self-hosted) | glab |
glab api POST "projects/:fullpath/repository/branches?branch=<NAME>&ref=<BASE>" |
| GitHub | gh |
gh api repos/:owner/:repo/git/refs -f ref=refs/heads/<NAME> -f sha=<BASE_SHA> |
Convention: <GIT_CLI> below stands for the platform's CLI tool — pick the row above that matches your environment, or the equivalent command for other platforms. Core git operations (fetch, checkout) are platform-agnostic.