$npx -y skills add DNYoussef/context-cascade --skill github-multi-repo/*============================================================================*/ /* 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 Multi-Repository Coordination Skill |
| 60 | |
| 61 | ## Kanitsal Cerceve (Evidential Frame Activation) |
| 62 | Kaynak dogrulama modu etkin. |
| 63 | |
| 64 | |
| 65 | |
| 66 | ## Overview |
| 67 | |
| 68 | Advanced multi-repository coordination system that combines swarm intelligence, package synchronization, and repository architecture optimization. This skill enables organization-wide automation, cross-project collaboration, and scalable repository management. |
| 69 | |
| 70 | ## Core Capabilities |
| 71 | |
| 72 | ### 🔄 Multi-Repository Swarm Coordination |
| 73 | Cross-repository AI swarm orchestration for distributed development workflows. |
| 74 | |
| 75 | ### 📦 Package Synchronization |
| 76 | Intelligent dependency resolution and version alignment across multiple packages. |
| 77 | |
| 78 | ### 🏗️ Repository Architecture |
| 79 | Structure optimization and template management for scalable projects. |
| 80 | |
| 81 | ### 🔗 Integration Management |
| 82 | Cross-package integration testing and deployment coordination. |
| 83 | |
| 84 | ## Quick Start |
| 85 | |
| 86 | ### Initialize Multi-Repo Coordination |
| 87 | ```bash |
| 88 | # Basic swarm initialization |
| 89 | npx claude-flow skill run github-multi-repo init \ |
| 90 | --repos "org/frontend,org/backend,org/shared" \ |
| 91 | --topology hierarchical |
| 92 | |
| 93 | # Advanced initialization with synchronization |
| 94 | npx claude-flow skill run github-multi-repo init \ |
| 95 | --repos "org/frontend,org/backend,org/shared" \ |
| 96 | --topology mesh \ |
| 97 | --shared-memory \ |
| 98 | --sync-strategy eventual |
| 99 | ``` |
| 100 | |
| 101 | ### Synchronize Packages |
| 102 | ```bash |
| 103 | # Synchronize package versions and dependencies |
| 104 | npx claude-flow skill run github-multi-repo sync \ |
| 105 | --packages "claude-code-flow,ruv-swarm" \ |
| 106 | --align-versions \ |
| 107 | --update-docs |
| 108 | ``` |
| 109 | |
| 110 | ### Optimize Architecture |
| 111 | ```bash |
| 112 | # Analyze and optimize repository structure |
| 113 | npx claude-flow skill run github-multi-repo optimize \ |
| 114 | --analyze-structure \ |
| 115 | --suggest-improvements \ |
| 116 | --create-templates |
| 117 | ``` |
| 118 | |
| 119 | ## Features |
| 120 | |
| 121 | ### 1. Cross-Repository Swarm Orchestration |
| 122 | |
| 123 | #### Repository Discovery |
| 124 | ```javascript |
| 125 | // Auto-discover related repositories with gh CLI |
| 126 | const REPOS = Bash(`gh repo list my-organization --limit 100 \ |
| 127 | --json name,description,languages,topics \ |
| 128 | --jq '.[] | select(.languages | keys | contains(["TypeScript"]))'`) |
| 129 | |
| 130 | // Analyze repository dependencies |
| 131 | const DEPS = Bash(`gh repo list my-organization --json name | \ |
| 132 | jq -r '.[].name' | while read -r repo; do |
| 133 | gh api repos/my-organization/$repo/contents/package.json \ |
| 134 | --jq '.content' 2>/dev/null | base64 -d | jq '{name, dependencies}' |
| 135 | done | jq -s '.'`) |
| 136 | |
| 137 | // Initialize swarm with discovered repositories |
| 138 | mcp__claude-flow__swarm_init({ |
| 139 | topology: "hierarchical", |
| 140 | maxAgents: 8, |
| 141 | metadata: { repos: REPOS, dependencies: DEPS } |
| 142 | }) |
| 143 | ``` |
| 144 | |
| 145 | #### Synchronized Operations |
| 146 | ```javascript |
| 147 | // Execute synchronized changes across repositories |
| 148 | [Parallel Multi-Repo Operations]: |
| 149 | // Spawn coordination agents |
| 150 | Task("Repository Coordinator", "Coordinate changes across all repositories", "coordinator") |
| 151 | Task(" |