$npx -y skills add DNYoussef/context-cascade --skill github-release-management/*============================================================================*/ /* SKILL SKILL :: VERILINGUA x VERIX EDITION */ /*============================================================================*/
| 1 | /*============================================================================*/ |
| 2 | /* SKILL SKILL :: VERILINGUA x VERIX EDITION */ |
| 3 | /*============================================================================*/ |
| 4 | |
| 5 | --- |
| 6 | name: SKILL |
| 7 | version: 1.0.0 |
| 8 | description: | |
| 9 | [assert|neutral] SKILL skill for operations workflows [ground:given] [conf:0.95] [state:confirmed] |
| 10 | category: operations |
| 11 | tags: |
| 12 | - general |
| 13 | author: system |
| 14 | cognitive_frame: |
| 15 | primary: aspectual |
| 16 | goal_analysis: |
| 17 | first_order: "Execute SKILL workflow" |
| 18 | second_order: "Ensure quality and consistency" |
| 19 | third_order: "Enable systematic operations processes" |
| 20 | --- |
| 21 | |
| 22 | /*----------------------------------------------------------------------------*/ |
| 23 | /* S0 META-IDENTITY */ |
| 24 | /*----------------------------------------------------------------------------*/ |
| 25 | |
| 26 | [define|neutral] SKILL := { |
| 27 | name: "SKILL", |
| 28 | category: "operations", |
| 29 | version: "1.0.0", |
| 30 | layer: L1 |
| 31 | } [ground:given] [conf:1.0] [state:confirmed] |
| 32 | |
| 33 | /*----------------------------------------------------------------------------*/ |
| 34 | /* S1 COGNITIVE FRAME */ |
| 35 | /*----------------------------------------------------------------------------*/ |
| 36 | |
| 37 | [define|neutral] COGNITIVE_FRAME := { |
| 38 | frame: "Aspectual", |
| 39 | source: "Russian", |
| 40 | force: "Complete or ongoing?" |
| 41 | } [ground:cognitive-science] [conf:0.92] [state:confirmed] |
| 42 | |
| 43 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 44 | Kaynak dogrulama modu etkin. |
| 45 | |
| 46 | /*----------------------------------------------------------------------------*/ |
| 47 | /* S2 TRIGGER CONDITIONS */ |
| 48 | /*----------------------------------------------------------------------------*/ |
| 49 | |
| 50 | [define|neutral] TRIGGER_POSITIVE := { |
| 51 | keywords: ["SKILL", "operations", "workflow"], |
| 52 | context: "user needs SKILL capability" |
| 53 | } [ground:given] [conf:1.0] [state:confirmed] |
| 54 | |
| 55 | /*----------------------------------------------------------------------------*/ |
| 56 | /* S3 CORE CONTENT */ |
| 57 | /*----------------------------------------------------------------------------*/ |
| 58 | |
| 59 | # GitHub Release Management Skill |
| 60 | |
| 61 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 62 | Kaynak dogrulama modu etkin. |
| 63 | |
| 64 | |
| 65 | |
| 66 | Intelligent release automation and orchestration using AI swarms for comprehensive software releases - from changelog generation to multi-platform deployment with rollback capabilities. |
| 67 | |
| 68 | ## Quick Start |
| 69 | |
| 70 | ### Simple Release Flow |
| 71 | ```bash |
| 72 | # Plan and create a release |
| 73 | gh release create v2.0.0 \ |
| 74 | --draft \ |
| 75 | --generate-notes \ |
| 76 | --title "Release v2.0.0" |
| 77 | |
| 78 | # Orchestrate with swarm |
| 79 | npx claude-flow github release-create \ |
| 80 | --version "2.0.0" \ |
| 81 | --build-artifacts \ |
| 82 | --deploy-targets "npm,docker,github" |
| 83 | ``` |
| 84 | |
| 85 | ### Full Automated Release |
| 86 | ```bash |
| 87 | # Initialize release swarm |
| 88 | npx claude-flow swarm init --topology hierarchical |
| 89 | |
| 90 | # Execute complete release pipeline |
| 91 | npx claude-flow sparc pipeline "Release v2.0.0 with full validation" |
| 92 | ``` |
| 93 | |
| 94 | --- |
| 95 | |
| 96 | ## Core Capabilities |
| 97 | |
| 98 | ### 1. Release Planning & Version Management |
| 99 | - Semantic version analysis and suggestion |
| 100 | - Breaking change detection from commits |
| 101 | - Release timeline generation |
| 102 | - Multi-package version coordination |
| 103 | |
| 104 | ### 2. Automated Testing & Validation |
| 105 | - Multi-stage test orchestration |
| 106 | - Cross-platform compatibility testing |
| 107 | - Performance regression detection |
| 108 | - Security vulnerability scanning |
| 109 | |
| 110 | ### 3. Build & Deployment Orchestration |
| 111 | - Multi-platform build coordination |
| 112 | - Parallel artifact generation |
| 113 | - Progressive deployment strategies |
| 114 | - Automated rollback mechanisms |
| 115 | |
| 116 | ### 4. Documentation & Communication |
| 117 | - Automated changelog generation |
| 118 | - Release notes with categorization |
| 119 | - Migration guide creation |
| 120 | - Stakeholder notification |
| 121 | |
| 122 | --- |
| 123 | |
| 124 | ## Progressive Disclosure: Level 1 - Basic Usage |
| 125 | |
| 126 | ### Essential Release Commands |
| 127 | |
| 128 | #### Create Release Draft |
| 129 | ```bash |
| 130 | # Get last release tag |
| 131 | LAST_TAG=$(gh release list --limit 1 --json tagName -q '.[0].tagName') |
| 132 | |
| 133 | # Generate changelog from commits |
| 134 | CHANGELOG=$(gh api repos/:owner/:repo/compare/${LAST_TAG}...HEAD \ |
| 135 | --jq '.commits[].commit.message') |
| 136 | |
| 137 | # Create draft release |
| 138 | gh release create v2.0.0 \ |
| 139 | --draft \ |
| 140 | --title "Release v2.0.0" \ |
| 141 | --notes "$CHANGELOG" \ |
| 142 | --target main |
| 143 | ``` |
| 144 | |
| 145 | #### Basic Version Bump |
| 146 | ```bash |
| 147 | # Update package.json version |
| 148 | npm version patch # or minor, major |
| 149 | |
| 150 | # Push version tag |
| 151 | git push --follow-tags |
| 152 | ``` |
| 153 | |
| 154 | #### Simple Deployment |
| 155 | ```bash |
| 156 | # Build and publish npm package |
| 157 | npm run build |
| 158 | npm publish |
| 159 | |
| 160 | # Create GitHub release |
| 161 | gh release create $(npm pkg get version) \ |
| 162 | --generate-notes |
| 163 | ``` |
| 164 | |
| 165 | ### Quick Integration Example |
| 166 | ```javascript |
| 167 | // Simple release preparation in Claude Code |
| 168 | [Single Message]: |
| 169 | // Update version files |
| 170 | Edit("package.json", { old: '"version": "1.0.0"', new: '"version": "2.0.0"' }) |
| 171 | |
| 172 | // Generate changelog |
| 173 | Bash("gh api repos/:owner/:repo/compare/v1.0.0...HEAD --jq '.commits[].commit.message' > CHANGELOG.md") |
| 174 | |
| 175 | // Create release branch |
| 176 | Bash("git checkout |