Git release workflow
Skill causebefore/git-workflow-skills/skills/git-release-workflow
Use when the user wants to publish a software release, promote changes from an integration branch to a stable branch, choose or validate a version number, create a release branch, generate release notes, create or validate tags, create GitHub/GitLab releases, or run release checklists. Do not use for normal feature PRs, daily commits, or emergency production hotfixes unless the hotfix is being released after repair.From its SKILL.md
npx -y skills add causebefore/git-workflow-skills --skill git-release-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.6 KB, as published. Nobody here has run it
Git Release Workflow
Mission
Publish a stable software version from the configured integration branch.
Startup
- Read
.git-workflow.yml. - Resolve shared resources from
${CLAUDE_PLUGIN_ROOT}/shared; if running outside Claude Code, use the nearest ancestor containinggit-workflow-skills.yml. - Inspect worktree, current branch, remotes, and recent CI status when available.
- Confirm version and release path before mutating anything.
Inputs
- Version number.
- Workflow model.
- Source branch and target branch.
- Release note content or release note file path.
- Release artifacts/assets, if the project ships packages, archives, installers, binaries, or other distributable files.
- Tag format.
- CI status.
Release Note Encoding
- Treat release notes as UTF-8 text.
- If the user provides a release note file, read it as UTF-8 and preserve the body verbatim, including Chinese, Unicode, Markdown lists, tables, and code blocks.
- Do not summarize, translate, strip, reorder, or regenerate user-provided release text unless the user explicitly asks for it.
- For GitHub, prefer
gh release create <tag> --notes-file <path>orgh release edit <tag> --notes-file <path>for multi-line release notes. - For GitLab or other providers, prefer the provider's file/body-file option when available; otherwise upload a UTF-8 body from a temporary file after previewing it.
- Avoid passing multi-line Unicode release notes through command-line inline strings,
echo, PowerShell here-strings, or shell interpolation. - If composing a temporary release note file, write it as UTF-8 and read it back before creating the release.
Workflow
- Confirm
source_branchandtarget_branch. - Check that the worktree is clean.
- Check source branch is synchronized with remote.
- Validate version and tag format using config.
- Ask whether this release needs artifacts/assets.
- If artifacts are needed, confirm the source: local file paths, CI artifacts, or no upload for this release.
- Confirm artifact names, checksums if available, and whether they should be uploaded as GitHub/GitLab Release assets.
- Determine release note source: user-provided UTF-8 file, user-provided text, or the release-note template (project-local
.git-workflow/templates/release-note.mdfirst, then sharedshared/templates/release-note.md). - Preserve user-provided release note content verbatim; only append artifact metadata after confirmation.
- Preview release note content before release creation, especially when it contains Chinese or other Unicode text.
- For
simple-dev-main, create source-to-target PR/MR. - For
release-branch, createrelease/<version>before target PR/MR. - Wait for required checks.
- Merge after confirmation.
- Sync target branch, create tag, and create release with a notes file after confirmation.
- Upload confirmed release assets after confirmation.
- Sync integration branch after release.
Safety Gates
PR/MR creation, merge, tag creation, release creation, release note body upload, release asset upload or overwrite, and branch synchronization require confirmation. If the release note contains Chinese or Unicode text, preview the exact body that will be sent before release creation.
Template Override
See shared/references/template-override.md for the standard override mechanism.
Shared Resources
shared/references/template-override.mdshared/templates/release-note.md(useresolve_template("release-note.md")to respect overrides)shared/templates/release-checklist.md(useresolve_template("release-checklist.md")to respect overrides)shared/templates/hotfix-checklist.md(useresolve_template("hotfix-checklist.md")to respect overrides)shared/references/branch-models.md
Handoff
- Normal development work: use
git-feature-workflow. - Commit splitting: use
git-commit-discipline. - Missing strategy: use
git-branch-strategy.
Output
Return release plan, version and tag, release note source, encoding check result, release note preview, artifact list, CI status, PR/MR status, tag/release result, asset upload status, and post-release sync status.