| name | github-release-management |
| version | 2.0.0 |
| description | GitHub release orchestration — automated versioning, testing, deployment, and rollback. Use when cutting a release, tagging a version, drafting release notes, or coordinating a deploy/rollback workflow. |
| category | github |
| tags | ["release","deployment","versioning","automation","ci-cd","swarm","orchestration"] |
| author | Claude Flow Team |
| requires | ["gh (GitHub CLI)","claude-flow","ruv-swarm (optional for enhanced coordination)","mcp-github (optional for MCP integration)"] |
| dependencies | ["git","npm or yarn","node >= 20.0.0"] |
| related_skills | ["github-pr-management","github-issue-tracking","github-workflow-automation","multi-repo-coordination"] |
GitHub Release Management Skill
Intelligent release automation and orchestration using AI swarms for comprehensive software releases - from changelog generation to multi-platform deployment with rollback capabilities.
Quick Start
Simple Release Flow
gh release create v2.0.0 \
--draft \
--generate-notes \
--title "Release v2.0.0"
npx claude-flow github release-create \
--version "2.0.0" \
--build-artifacts \
--deploy-targets "npm,docker,github"
Full Automated Release
npx claude-flow swarm init --topology hierarchical
npx claude-flow sparc pipeline "Release v2.0.0 with full validation"
Core Capabilities
1. Release Planning & Version Management
- Semantic version analysis and suggestion
- Breaking change detection from commits
- Release timeline generation
- Multi-package version coordination
2. Automated Testing & Validation
- Multi-stage test orchestration
- Cross-platform compatibility testing
- Performance regression detection
- Security vulnerability scanning
3. Build & Deployment Orchestration
- Multi-platform build coordination
- Parallel artifact generation
- Progressive deployment strategies
- Automated rollback mechanisms
4. Documentation & Communication
- Automated changelog generation
- Release notes with categorization
- Migration guide creation
- Stakeholder notification
Progressive Disclosure: Level 1 - Basic Usage
Essential Release Commands
Create Release Draft
LAST_TAG=$(gh release list --limit 1 --json tagName -q '.[0].tagName')
CHANGELOG=$(gh api repos/:owner/:repo/compare/${LAST_TAG}...HEAD \
--jq '.commits[].commit.message')
gh release create v2.0.0 \
--draft \
--title "Release v2.0.0" \
--notes "$CHANGELOG" \
--target main
Basic Version Bump
npm version patch
git push --follow-tags
Simple Deployment
npm run build
npm publish
gh release create $(npm pkg get version) \
--generate-notes
Quick Integration Example
[Single Message]:
Edit("package.json", { old: '"version": "1.0.0"', new: '"version": "2.0.0"' })
Bash("gh api repos/:owner/:repo/compare/v1.0.0...HEAD --jq '.commits[].commit.message' > CHANGELOG.md")
Bash("git checkout -b release/v2.0.0")
Bash("git add -A && git commit -m 'release: Prepare v2.0.0'")
Bash("gh pr create --title 'Release v2.0.0' --body 'Automated release preparation'")
Reference
The full detail lives in references/ and loads only when needed:
Best Practices & Patterns
Release Planning Guidelines
1. Regular Release Cadence
- Weekly: Patch releases with bug fixes
- Bi-weekly: Minor releases with features
- Quarterly: Major releases with breaking changes
- On-demand: Hotfixes for critical issues
2. Feature Freeze Strategy
- Code freeze 3 days before release
- Only critical bug fixes allowed
- Beta testing period for major releases
- Stakeholder communication plan
3. Version Management Rules
- Strict semantic versioning compliance
- Breaking changes only in major versions
- Deprecation warnings one minor version ahead
- Cross-package version synchronization
Automation Recommendations
1. Comprehensive CI/CD Pipeline
- Automated testing at every stage
- Security scanning before release
- Performance benchmarking
- Documentation generation
2. Progressive Deployment
- Canary releases for early detection
- Staged rollouts with monitoring
- Automated health checks
- Quick rollback mechanisms
3. Monitoring & Observability
- Real-time error tracking
- Performance metrics collection
- User adoption analytics
- Feedback collection automation
Documentation Standards
1. Changelog Requirements
- Categorized changes by type
- Breaking changes highlighted
- Migration guides for major versions
- Contributor attribution
2. Release Notes Content
- High-level feature summaries
- Detailed technical changes
- Upgrade instructions
- Known issues and limitations
3. API Documentation
- Automated API doc generation
- Example code updates
- Deprecation notices
- Version compatibility matrix
Troubleshooting & Common Issues
Issue: Failed Release Build
npx claude-flow@alpha diagnostic-run \
--component build \
--verbose
docker run --rm -v $(pwd):/app node:20 \
bash -c "cd /app && npm ci && npm run build"
Issue: Test Failures in CI
npm run test -- --verbose --coverage
npm run test:ci
npx claude-flow@alpha github compat-test \
--environments "local,ci" \
--compare
Issue: Deployment Rollback Needed
npx claude-flow@alpha github rollback \
--to-version v1.9.9 \
--reason "Critical bug in v2.0.0" \
--preserve-data \
--notify-users
npx claude-flow@alpha github release-analytics \
--version v2.0.0 \
--identify-issues
Issue: Version Conflicts
npx claude-flow@alpha github release-validate \
--checks version-conflicts \
--auto-resolve
npx claude-flow@alpha github version-sync \
--packages "package-a,package-b" \
--strategy semantic
Performance Metrics & Benchmarks
Expected Performance
- Release Planning: < 2 minutes
- Build Process: 3-8 minutes (varies by project)
- Test Execution: 5-15 minutes
- Deployment: 2-5 minutes per target
- Complete Pipeline: 15-30 minutes
Optimization Tips
- Parallel Execution: Use swarm coordination for concurrent tasks
- Caching: Enable build and dependency caching
- Incremental Builds: Only rebuild changed components
- Test Optimization: Run critical tests first, full suite in parallel
Success Metrics
- Release Frequency: Target weekly minor releases
- Lead Time: < 2 hours from commit to production
- Failure Rate: < 2% of releases require rollback
- MTTR: < 30 minutes for critical hotfixes
Related Resources
Documentation
Related Skills
- github-pr-management: PR review and merge automation
- github-workflow-automation: CI/CD workflow orchestration
- multi-repo-coordination: Cross-repository synchronization
- deployment-orchestration: Advanced deployment strategies
Support & Community
Appendix: Release Checklist Template
Pre-Release Checklist
Release Checklist
Post-Release Checklist
Version: 2.0.0
Last Updated: 2025-10-19
Maintained By: Claude Flow Team