| name | git-workflow-manager |
| description | This skill should be used when the user asks to "create a release", "bump version", "update changelog", "follow conventional commits", "semantic versioning", "commit with conventional format", "prepare a release", "create release notes", "tag a version", mentions "Keep a Changelog", or needs guidance on git workflow standards, conventional commit types (feat:, fix:, chore:, docs:), semantic version bumps (MAJOR.MINOR.PATCH), CHANGELOG.md format, or GitHub release creation with gh CLI. |
Git Workflow Manager
Overview
Enforces consistent git workflows: conventional commits, semantic versioning, changelog updates, and release notes format.
Commit Convention
<type>: <description>
| Type | Description | Version Bump |
|---|
feat | New feature | MINOR |
fix | Bug fix | PATCH |
docs | Documentation | — |
refactor | Code change | — |
chore | Maintenance | — |
Breaking change: feat!: or fix!: → MAJOR
Version Bump Rules
Current: 1.2.3
feat: → 1.3.0 (MINOR)
fix: → 1.2.4 (PATCH)
feat!: → 2.0.0 (MAJOR)
docs: → no bump
Workflow: Commit
git add .
git commit -m "feat: add new feature"
git commit -m "$(cat <<'EOF'
feat: add feature
Detailed description here.
EOF
)"
Workflow: Release
git log $(git describe --tags --abbrev=0)..HEAD --oneline
git add CHANGELOG.md
git commit -m "docs: update changelog for v1.3.0"
git tag -a v1.3.0 -m "Release v1.3.0"
git push && git push --tags
gh release create v1.3.0 \
--title "v1.3.0 — Short Description" \
--notes-file /tmp/release-notes.md
Release Notes Template
## What's New
### Feature Name
Brief description.
**Key points:**
- Point 1
- Point 2
### Installation (if applicable)
\`\`\`bash
command here
\`\`\`
---
**Full Changelog**: https://github.com/USER/REPO/compare/vPREV...vNEW
CHANGELOG.md Format
# Changelog
## [Unreleased]
## [1.3.0] - 2026-01-23
### Added
- Feature description
### Changed
- Change description
### Fixed
- Fix description
[Unreleased]: https://github.com/.../compare/v1.3.0...HEAD
[1.3.0]: https://github.com/.../compare/v1.2.0...v1.3.0
Sections: Added, Changed, Deprecated, Removed, Fixed, Security
Quick Commands
| Task | Command |
|---|
| Last tag | git describe --tags --abbrev=0 |
| Commits since tag | git log $(git describe --tags --abbrev=0)..HEAD --oneline |
| Create release | gh release create vX.Y.Z --title "vX.Y.Z — Title" |
| Edit release | gh release edit vX.Y.Z --title "New Title" --notes "..." |
| List releases | gh release list |
Common Mistakes
| Mistake | Fix |
|---|
| No conventional prefix | Always use feat:, fix:, etc. |
| Forgot CHANGELOG | Update before tagging |
| Tag without release | Always gh release create after tag |
| Inconsistent title | Format: vX.Y.Z — Short Description |
| Missing comparison link | Add **Full Changelog**: compare/... |