$npx -y skills add spencermarx/open-code-review --skill github-release-managementComprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management
| 1 | # GitHub Release Management Skill |
| 2 | |
| 3 | Intelligent release automation and orchestration using AI swarms for comprehensive software releases - from changelog generation to multi-platform deployment with rollback capabilities. |
| 4 | |
| 5 | ## Quick Start |
| 6 | |
| 7 | ### Simple Release Flow |
| 8 | ```bash |
| 9 | # Plan and create a release |
| 10 | gh release create v2.0.0 \ |
| 11 | --draft \ |
| 12 | --generate-notes \ |
| 13 | --title "Release v2.0.0" |
| 14 | |
| 15 | # Orchestrate with swarm |
| 16 | npx claude-flow github release-create \ |
| 17 | --version "2.0.0" \ |
| 18 | --build-artifacts \ |
| 19 | --deploy-targets "npm,docker,github" |
| 20 | ``` |
| 21 | |
| 22 | ### Full Automated Release |
| 23 | ```bash |
| 24 | # Initialize release swarm |
| 25 | npx claude-flow swarm init --topology hierarchical |
| 26 | |
| 27 | # Execute complete release pipeline |
| 28 | npx claude-flow sparc pipeline "Release v2.0.0 with full validation" |
| 29 | ``` |
| 30 | |
| 31 | --- |
| 32 | |
| 33 | ## Core Capabilities |
| 34 | |
| 35 | ### 1. Release Planning & Version Management |
| 36 | - Semantic version analysis and suggestion |
| 37 | - Breaking change detection from commits |
| 38 | - Release timeline generation |
| 39 | - Multi-package version coordination |
| 40 | |
| 41 | ### 2. Automated Testing & Validation |
| 42 | - Multi-stage test orchestration |
| 43 | - Cross-platform compatibility testing |
| 44 | - Performance regression detection |
| 45 | - Security vulnerability scanning |
| 46 | |
| 47 | ### 3. Build & Deployment Orchestration |
| 48 | - Multi-platform build coordination |
| 49 | - Parallel artifact generation |
| 50 | - Progressive deployment strategies |
| 51 | - Automated rollback mechanisms |
| 52 | |
| 53 | ### 4. Documentation & Communication |
| 54 | - Automated changelog generation |
| 55 | - Release notes with categorization |
| 56 | - Migration guide creation |
| 57 | - Stakeholder notification |
| 58 | |
| 59 | --- |
| 60 | |
| 61 | ## Progressive Disclosure: Level 1 - Basic Usage |
| 62 | |
| 63 | ### Essential Release Commands |
| 64 | |
| 65 | #### Create Release Draft |
| 66 | ```bash |
| 67 | # Get last release tag |
| 68 | LAST_TAG=$(gh release list --limit 1 --json tagName -q '.[0].tagName') |
| 69 | |
| 70 | # Generate changelog from commits |
| 71 | CHANGELOG=$(gh api repos/:owner/:repo/compare/${LAST_TAG}...HEAD \ |
| 72 | --jq '.commits[].commit.message') |
| 73 | |
| 74 | # Create draft release |
| 75 | gh release create v2.0.0 \ |
| 76 | --draft \ |
| 77 | --title "Release v2.0.0" \ |
| 78 | --notes "$CHANGELOG" \ |
| 79 | --target main |
| 80 | ``` |
| 81 | |
| 82 | #### Basic Version Bump |
| 83 | ```bash |
| 84 | # Update package.json version |
| 85 | npm version patch # or minor, major |
| 86 | |
| 87 | # Push version tag |
| 88 | git push --follow-tags |
| 89 | ``` |
| 90 | |
| 91 | #### Simple Deployment |
| 92 | ```bash |
| 93 | # Build and publish npm package |
| 94 | npm run build |
| 95 | npm publish |
| 96 | |
| 97 | # Create GitHub release |
| 98 | gh release create $(npm pkg get version) \ |
| 99 | --generate-notes |
| 100 | ``` |
| 101 | |
| 102 | ### Quick Integration Example |
| 103 | ```javascript |
| 104 | // Simple release preparation in Claude Code |
| 105 | [Single Message]: |
| 106 | // Update version files |
| 107 | Edit("package.json", { old: '"version": "1.0.0"', new: '"version": "2.0.0"' }) |
| 108 | |
| 109 | // Generate changelog |
| 110 | Bash("gh api repos/:owner/:repo/compare/v1.0.0...HEAD --jq '.commits[].commit.message' > CHANGELOG.md") |
| 111 | |
| 112 | // Create release branch |
| 113 | Bash("git checkout -b release/v2.0.0") |
| 114 | Bash("git add -A && git commit -m 'release: Prepare v2.0.0'") |
| 115 | |
| 116 | // Create PR |
| 117 | Bash("gh pr create --title 'Release v2.0.0' --body 'Automated release preparation'") |
| 118 | ``` |
| 119 | |
| 120 | --- |
| 121 | |
| 122 | ## Progressive Disclosure: Level 2 - Swarm Coordination |
| 123 | |
| 124 | ### AI Swarm Release Orchestration |
| 125 | |
| 126 | #### Initialize Release Swarm |
| 127 | ```javascript |
| 128 | // Set up coordinated release team |
| 129 | [Single Message - Swarm Initialization]: |
| 130 | mcp__claude-flow__swarm_init { |
| 131 | topology: "hierarchical", |
| 132 | maxAgents: 6, |
| 133 | strategy: "balanced" |
| 134 | } |
| 135 | |
| 136 | // Spawn specialized agents |
| 137 | mcp__claude-flow__agent_spawn { type: "coordinator", name: "Release Director" } |
| 138 | mcp__claude-flow__agent_spawn { type: "coder", name: "Version Manager" } |
| 139 | mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" } |
| 140 | mcp__claude-flow__agent_spawn { type: "reviewer", name: "Release Reviewer" } |
| 141 | mcp__claude-flow__agent_spawn { type: "analyst", name: "Deployment Analyst" } |
| 142 | mcp__claude-flow__agent_spawn { type: "researcher", name: "Compatibility Checker" } |
| 143 | ``` |
| 144 | |
| 145 | #### Coordinated Release Workflow |
| 146 | ```javascript |
| 147 | [Single Message - Full Release Coordination]: |
| 148 | // Create release branch |
| 149 | Bash("gh api repos/:owner/:repo/git/refs --method POST -f ref='refs/heads/release/v2.0.0' -f sha=$(gh api repos/:owner/:repo/git/refs/heads/main --jq '.object.sha')") |
| 150 | |
| 151 | // Orchestrate release preparation |
| 152 | mcp__claude-flow__task_orchestrate { |
| 153 | task: "Prepare release v2.0.0 with comprehensive testing and validation", |
| 154 | strategy: "sequential", |
| 155 | priority: "critical", |
| 156 | maxAgents: 6 |
| 157 | } |
| 158 | |
| 159 | // Update all release files |
| 160 | Write("package.json", "[updated version]" |