branch-deploy-convention

Installation
SKILL.md

Branch and deploy convention

The convention

  • main — default branch. Deploys the staging environment.
  • release — deploys production. Promoted by merging main → release.

staging and production are environment names. They are never branch names. A branch called staging that deploys production is worse than the name it replaced, because it invites a "safe" push to the live site.

Write the mapping in a comment at the top of every deploy workflow, so the next reader does not have to infer it:

Installs
1
GitHub Stars
1
First Seen
Nov 15, 2026