[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ANP8T85N0RFV3YPHJM1TP":3,"skill-same:01M74ANP8T85N0RFV3YPHJM1TP":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M74ANP8T85N0RFV3YPHJM1TP","github-workflow-automation",null,"Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI\u002FCD pipelines, and comprehensive repository management","aicreator350\u002FaurionOFFICIELLE","aicreator350","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F217751428?v=4","01M731QVHB22WCM6PDX5VFN1RV","01M731QVJ0TAD058M1SW9MY548",0,"MIT","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002F.claude\u002F_archive\u002Fskills-batch2\u002Fgithub-workflow-automation\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: github-workflow-automation\ndescription: |\n  Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI\u002FCD pipelines, and comprehensive repository management\n---\n\n# GitHub Workflow Automation Skill\n\n## Overview\n\nThis skill provides comprehensive GitHub Actions automation with AI swarm coordination. It integrates intelligent CI\u002FCD pipelines, workflow orchestration, and repository management to create self-organizing, adaptive GitHub workflows.\n\n## Quick Start\n\n\u003Cdetails>\n\u003Csummary>💡 Basic Usage - Click to expand\u003C\u002Fsummary>\n\n### Initialize GitHub Workflow Automation\n```bash\n# Start with a simple workflow\nnpx ruv-swarm actions generate-workflow \\\n  --analyze-codebase \\\n  --detect-languages \\\n  --create-optimal-pipeline\n```\n\n### Common Commands\n```bash\n# Optimize existing workflow\nnpx ruv-swarm actions optimize \\\n  --workflow \".github\u002Fworkflows\u002Fci.yml\" \\\n  --suggest-parallelization\n\n# Analyze failed runs\ngh run view \u003Crun-id> --json jobs,conclusion | \\\n  npx ruv-swarm actions analyze-failure \\\n    --suggest-fixes\n```\n\n\u003C\u002Fdetails>\n\n## Core Capabilities\n\n### 🤖 Swarm-Powered GitHub Modes\n\n\u003Cdetails>\n\u003Csummary>Available GitHub Integration Modes\u003C\u002Fsummary>\n\n#### 1. gh-coordinator\n**GitHub workflow orchestration and coordination**\n- **Coordination Mode**: Hierarchical\n- **Max Parallel Operations**: 10\n- **Batch Optimized**: Yes\n- **Best For**: Complex GitHub workflows, multi-repo coordination\n\n```bash\n# Usage example\nnpx claude-flow@alpha github gh-coordinator \\\n  \"Coordinate multi-repo release across 5 repositories\"\n```\n\n#### 2. pr-manager\n**Pull request management and review coordination**\n- **Review Mode**: Automated\n- **Multi-reviewer**: Yes\n- **Conflict Resolution**: Intelligent\n\n```bash\n# Create PR with automated review\ngh pr create --title \"Feature: New capability\" \\\n  --body \"Automated PR with swarm review\" | \\\n  npx ruv-swarm actions pr-validate \\\n    --spawn-agents \"linter,tester,security,docs\"\n```\n\n#### 3. issue-tracker\n**Issue management and project coordination**\n- **Issue Workflow**: Automated\n- **Label Management**: Smart\n- **Progress Tracking**: Real-time\n\n```bash\n# Create coordinated issue workflow\nnpx claude-flow@alpha github issue-tracker \\\n  \"Manage sprint issues with automated tracking\"\n```\n\n#### 4. release-manager\n**Release coordination and deployment**\n- **Release Pipeline**: Automated\n- **Versioning**: Semantic\n- **Deployment**: Multi-stage\n\n```bash\n# Automated release management\nnpx claude-flow@alpha github release-manager \\\n  \"Create v2.0.0 release with changelog and deployment\"\n```\n\n#### 5. repo-architect\n**Repository structure and organization**\n- **Structure Optimization**: Yes\n- **Multi-repo Support**: Yes\n- **Template Management**: Advanced\n\n```bash\n# Optimize repository structure\nnpx claude-flow@alpha github repo-architect \\\n  \"Restructure monorepo with optimal organization\"\n```\n\n#### 6. code-reviewer\n**Automated code review and quality assurance**\n- **Review Quality**: Deep\n- **Security Analysis**: Yes\n- **Performance Check**: Automated\n\n```bash\n# Automated code review\ngh pr view 123 --json files | \\\n  npx ruv-swarm actions pr-validate \\\n    --deep-review \\\n    --security-scan\n```\n\n#### 7. ci-orchestrator\n**CI\u002FCD pipeline coordination**\n- **Pipeline Management**: Advanced\n- **Test Coordination**: Parallel\n- **Deployment**: Automated\n\n```bash\n# Orchestrate CI\u002FCD pipeline\nnpx claude-flow@alpha github ci-orchestrator \\\n  \"Setup parallel test execution with smart caching\"\n```\n\n#### 8. security-guardian\n**Security and compliance management**\n- **Security Scan**: Automated\n- **Compliance Check**: Continuous\n- **Vulnerability Management**: Proactive\n\n```bash\n# Security audit\nnpx ruv-swarm actions security \\\n  --deep-scan \\\n  --compliance-check \\\n  --create-issues\n```\n\n\u003C\u002Fdetails>\n\n### 🔧 Workflow Templates\n\n\u003Cdetails>\n\u003Csummary>Production-Ready GitHub Actions Templates\u003C\u002Fsummary>\n\n#### 1. Intelligent CI with Swarms\n```yaml\n# .github\u002Fworkflows\u002Fswarm-ci.yml\nname: Intelligent CI with Swarms\non: [push, pull_request]\n\njobs:\n  swarm-analysis:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Initialize Swarm\n        uses: ruvnet\u002Fswarm-action@v1\n        with:\n          topology: mesh\n          max-agents: 6\n\n      - name: Analyze Changes\n        run: |\n          npx ruv-swarm actions analyze \\\n            --commit ${{ github.sha }} \\\n            --suggest-tests \\\n            --optimize-pipeline\n```\n\n#### 2. Multi-Language Detection\n```yaml\n# .github\u002Fworkflows\u002Fpolyglot-swarm.yml\nname: Polyglot Project Handler\non: push\n\njobs:\n  detect-and-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Detect Languages\n        id: detect\n        run: |\n          npx ruv-swarm actions detect-stack \\\n            --output json > stack.json\n\n      - name: Dynamic Build Matrix\n        run: |\n          npx ruv-swarm actions create-matrix \\\n            --from stack.json \\\n            --parallel-builds\n```\n\n#### 3. Adaptive Security Scanning\n```yaml\n# .github\u002Fworkflows\u002Fsecurity-swarm.yml\nname: Intelligent Security Scan\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  security-swarm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Security Analysis Swarm\n        run: |\n          SECURITY_ISSUES=$(npx ruv-swarm actions security \\\n            --deep-scan \\\n            --format json)\n\n          echo \"$SECURITY_ISSUES\" | jq -r '.issues[]? | @base64' | while read -r issue; do\n            _jq() {\n              echo ${issue} | base64 --decode | jq -r ${1}\n            }\n            gh issue create \\\n              --title \"$(_jq '.title')\" \\\n              --body \"$(_jq '.body')\" \\\n              --label \"security,critical\"\n          done\n```\n\n#### 4. Self-Healing Pipeline\n```yaml\n# .github\u002Fworkflows\u002Fself-healing.yml\nname: Self-Healing Pipeline\non: workflow_run\n\njobs:\n  heal-pipeline:\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Diagnose and Fix\n        run: |\n          npx ruv-swarm actions self-heal \\\n            --run-id ${{ github.event.workflow_run.id }} \\\n            --auto-fix-common \\\n            --create-pr-complex\n```\n\n#### 5. Progressive Deployment\n```yaml\n# .github\u002Fworkflows\u002Fsmart-deployment.yml\nname: Smart Deployment\non:\n  push:\n    branches: [main]\n\njobs:\n  progressive-deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Analyze Risk\n        id: risk\n        run: |\n          npx ruv-swarm actions deploy-risk \\\n            --changes ${{ github.sha }} \\\n            --history 30d\n\n      - name: Choose Strategy\n        run: |\n          npx ruv-swarm actions deploy-strategy \\\n            --risk ${{ steps.risk.outputs.level }} \\\n            --auto-execute\n```\n\n#### 6. Performance Regression Detection\n```yaml\n# .github\u002Fworkflows\u002Fperformance-guard.yml\nname: Performance Guard\non: pull_request\n\njobs:\n  perf-swarm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Performance Analysis\n        run: |\n          npx ruv-swarm actions perf-test \\\n            --baseline main \\\n            --threshold 10% \\\n            --auto-profile-regression\n```\n\n#### 7. PR Validation Swarm\n```yaml\n# .github\u002Fworkflows\u002Fpr-validation.yml\nname: PR Validation Swarm\non: pull_request\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Multi-Agent Validation\n        run: |\n          PR_DATA=$(gh pr view ${{ github.event.pull_request.number }} --json files,labels)\n\n          RESULTS=$(npx ruv-swarm actions pr-validate \\\n            --spawn-agents \"linter,tester,security,docs\" \\\n            --parallel \\\n            --pr-data \"$PR_DATA\")\n\n          gh pr comment ${{ github.event.pull_request.number }} \\\n            --body \"$RESULTS\"\n```\n\n#### 8. Intelligent Release\n```yaml\n# .github\u002Fworkflows\u002Fintelligent-release.yml\nname: Intelligent Release\non:\n  push:\n    tags: ['v*']\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Release Swarm\n        run: |\n          npx ruv-swarm actions release \\\n            --analyze-changes \\\n            --generate-notes \\\n            --create-artifacts \\\n            --publish-smart\n```\n\n\u003C\u002Fdetails>\n\n### 📊 Monitoring & Analytics\n\n\u003Cdetails>\n\u003Csummary>Workflow Analysis & Optimization\u003C\u002Fsummary>\n\n#### Workflow Analytics\n```bash\n# Analyze workflow performance\nnpx ruv-swarm actions analytics \\\n  --workflow \"ci.yml\" \\\n  --period 30d \\\n  --identify-bottlenecks \\\n  --suggest-improvements\n```\n\n#### Cost Optimization\n```bash\n# Optimize GitHub Actions costs\nnpx ruv-swarm actions cost-optimize \\\n  --analyze-usage \\\n  --suggest-caching \\\n  --recommend-self-hosted\n```\n\n#### Failure Pattern Analysis\n```bash\n# Identify failure patterns\nnpx ruv-swarm actions failure-patterns \\\n  --period 90d \\\n  --classify-failures \\\n  --suggest-preventions\n```\n\n#### Resource Management\n```bash\n# Optimize resource usage\nnpx ruv-swarm actions resources \\\n  --analyze-usage \\\n  --suggest-runners \\\n  --cost-optimize\n```\n\n\u003C\u002Fdetails>\n\n## Advanced Features\n\n### 🧪 Dynamic Test Strategies\n\n\u003Cdetails>\n\u003Csummary>Intelligent Test Selection & Execution\u003C\u002Fsummary>\n\n#### Smart Test Selection\n```yaml\n# Automatically select relevant tests\n- name: Swarm Test Selection\n  run: |\n    npx ruv-swarm actions smart-test \\\n      --changed-files ${{ steps.files.outputs.all }} \\\n      --impact-analysis \\\n      --parallel-safe\n```\n\n#### Dynamic Test Matrix\n```yaml\n# Generate test matrix from code analysis\njobs:\n  generate-matrix:\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - id: set-matrix\n        run: |\n          MATRIX=$(npx ruv-swarm actions test-matrix \\\n            --detect-frameworks \\\n            --optimize-coverage)\n          echo \"matrix=${MATRIX}\" >> $GITHUB_OUTPUT\n\n  test:\n    needs: generate-matrix\n    strategy:\n      matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}\n```\n\n#### Intelligent Parallelization\n```bash\n# Determine optimal parallelization\nnpx ruv-swarm actions parallel-strategy \\\n  --analyze-dependencies \\\n  --time-estimates \\\n  --cost-aware\n```\n\n\u003C\u002Fdetails>\n\n### 🔮 Predictive Analysis\n\n\u003Cdetails>\n\u003Csummary>AI-Powered Workflow Predictions\u003C\u002Fsummary>\n\n#### Predictive Failures\n```bash\n# Predict potential failures\nnpx ruv-swarm actions predict \\\n  --analyze-history \\\n  --identify-risks \\\n  --suggest-preventive\n```\n\n#### Workflow Recommendations\n```bash\n# Get workflow recommendations\nnpx ruv-swarm actions recommend \\\n  --analyze-repo \\\n  --suggest-workflows \\\n  --industry-best-practices\n```\n\n#### Automated Optimization\n```bash\n# Continuously optimize workflows\nnpx ruv-swarm actions auto-optimize \\\n  --monitor-performance \\\n  --apply-improvements \\\n  --track-savings\n```\n\n\u003C\u002Fdetails>\n\n### 🎯 Custom Actions Development\n\n\u003Cdetails>\n\u003Csummary>Build Your Own Swarm Actions\u003C\u002Fsummary>\n\n#### Custom Swarm Action Template\n```javascript\n\u002F\u002F action.yml\nname: 'Swarm Custom Action'\ndescription: 'Custom swarm-powered action'\ninputs:\n  task:\n    description: 'Task for swarm'\n    required: true\nruns:\n  using: 'node16'\n  main: 'dist\u002Findex.js'\n\n\u002F\u002F index.js\nconst { SwarmAction } = require('ruv-swarm');\n\nasync function run() {\n  const swarm = new SwarmAction({\n    topology: 'mesh',\n    agents: ['analyzer', 'optimizer']\n  });\n\n  await swarm.execute(core.getInput('task'));\n}\n\nrun().catch(error => core.setFailed(error.message));\n```\n\n\u003C\u002Fdetails>\n\n## Integration with Claude-Flow\n\n### 🔄 Swarm Coordination Patterns\n\n\u003Cdetails>\n\u003Csummary>MCP-Based GitHub Workflow Coordination\u003C\u002Fsummary>\n\n#### Initialize GitHub Swarm\n```javascript\n\u002F\u002F Step 1: Initialize swarm coordination\nmcp__claude-flow__swarm_init {\n  topology: \"hierarchical\",\n  maxAgents: 8\n}\n\n\u002F\u002F Step 2: Spawn specialized agents\nmcp__claude-flow__agent_spawn { type: \"coordinator\", name: \"GitHub Coordinator\" }\nmcp__claude-flow__agent_spawn { type: \"reviewer\", name: \"Code Reviewer\" }\nmcp__claude-flow__agent_spawn { type: \"tester\", name: \"QA Agent\" }\nmcp__claude-flow__agent_spawn { type: \"analyst\", name: \"Security Analyst\" }\n\n\u002F\u002F Step 3: Orchestrate GitHub workflow\nmcp__claude-flow__task_orchestrate {\n  task: \"Complete PR review and merge workflow\",\n  strategy: \"parallel\",\n  priority: \"high\"\n}\n```\n\n#### GitHub Hooks Integration\n```bash\n# Pre-task: Setup GitHub context\nnpx claude-flow@alpha hooks pre-task \\\n  --description \"PR review workflow\" \\\n  --context \"pr-123\"\n\n# During task: Track progress\nnpx claude-flow@alpha hooks notify \\\n  --message \"Completed security scan\" \\\n  --type \"github-action\"\n\n# Post-task: Export results\nnpx claude-flow@alpha hooks post-task \\\n  --task-id \"pr-review-123\" \\\n  --export-github-summary\n```\n\n\u003C\u002Fdetails>\n\n### 📦 Batch Operations\n\n\u003Cdetails>\n\u003Csummary>Concurrent GitHub Operations\u003C\u002Fsummary>\n\n#### Parallel GitHub CLI Commands\n```javascript\n\u002F\u002F Single message with all GitHub operations\n[Concurrent Execution]:\n  Bash(\"gh issue create --title 'Feature A' --body 'Description A' --label 'enhancement'\")\n  Bash(\"gh issue create --title 'Feature B' --body 'Description B' --label 'enhancement'\")\n  Bash(\"gh pr create --title 'PR 1' --head 'feature-a' --base 'main'\")\n  Bash(\"gh pr create --title 'PR 2' --head 'feature-b' --base 'main'\")\n  Bash(\"gh pr checks 123 --watch\")\n  TodoWrite { todos: [\n    {content: \"Review security scan results\", status: \"pending\"},\n    {content: \"Merge approved PRs\", status: \"pending\"},\n    {content: \"Update changelog\", status: \"pending\"}\n  ]}\n```\n\n\u003C\u002Fdetails>\n\n## Best Practices\n\n### 🏗️ Workflow Organization\n\n\u003Cdetails>\n\u003Csummary>Structure Your GitHub Workflows\u003C\u002Fsummary>\n\n#### 1. Use Reusable Workflows\n```yaml\n# .github\u002Fworkflows\u002Freusable-swarm.yml\nname: Reusable Swarm Workflow\non:\n  workflow_call:\n    inputs:\n      topology:\n        required: true\n        type: string\n\njobs:\n  swarm-task:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Initialize Swarm\n        run: |\n          npx ruv-swarm init --topology ${{ inputs.topology }}\n```\n\n#### 2. Implement Proper Caching\n```yaml\n- name: Cache Swarm Dependencies\n  uses: actions\u002Fcache@v3\n  with:\n    path: ~\u002F.npm\n    key: ${{ runner.os }}-swarm-${{ hashFiles('**\u002Fpackage-lock.json') }}\n```\n\n#### 3. Set Appropriate Timeouts\n```yaml\njobs:\n  swarm-task:\n    timeout-minutes: 30\n    steps:\n      - name: Swarm Operation\n        timeout-minutes: 10\n```\n\n#### 4. Use Workflow Dependencies\n```yaml\njobs:\n  setup:\n    runs-on: ubuntu-latest\n\n  test:\n    needs: setup\n    runs-on: ubuntu-latest\n\n  deploy:\n    needs: [setup, test]\n    runs-on: ubuntu-latest\n```\n\n\u003C\u002Fdetails>\n\n### 🔒 Security Best Practices\n\n\u003Cdetails>\n\u003Csummary>Secure Your GitHub Workflows\u003C\u002Fsummary>\n\n#### 1. Store Configurations Securely\n```yaml\n- name: Setup Swarm\n  env:\n    SWARM_CONFIG: ${{ secrets.SWARM_CONFIG }}\n    API_KEY: ${{ secrets.API_KEY }}\n  run: |\n    npx ruv-swarm init --config \"$SWARM_CONFIG\"\n```\n\n#### 2. Use OIDC Authentication\n```yaml\npermissions:\n  id-token: write\n  contents: read\n\n- name: Configure AWS Credentials\n  uses: aws-actions\u002Fconfigure-aws-credentials@v2\n  with:\n    role-to-assume: arn:aws:iam::123456789012:role\u002FGitHubAction\n    aws-region: us-east-1\n```\n\n#### 3. Implement Least-Privilege\n```yaml\npermissions:\n  contents: read\n  pull-requests: write\n  issues: write\n```\n\n#### 4. Audit Swarm Operations\n```yaml\n- name: Audit Swarm Actions\n  run: |\n    npx ruv-swarm actions audit \\\n      --export-logs \\\n      --compliance-report\n```\n\n\u003C\u002Fdetails>\n\n### ⚡ Performance Optimization\n\n\u003Cdetails>\n\u003Csummary>Maximize Workflow Performance\u003C\u002Fsummary>\n\n#### 1. Cache Swarm Dependencies\n```yaml\n- uses: actions\u002Fcache@v3\n  with:\n    path: |\n      ~\u002F.npm\n      node_modules\n    key: ${{ runner.os }}-swarm-${{ hashFiles('**\u002Fpackage-lock.json') }}\n```\n\n#### 2. Use Appropriate Runner Sizes\n```yaml\njobs:\n  heavy-task:\n    runs-on: ubuntu-latest-4-cores\n    steps:\n      - name: Intensive Swarm Operation\n```\n\n#### 3. Implement Early Termination\n```yaml\n- name: Quick Fail Check\n  run: |\n    if ! npx ruv-swarm actions pre-check; then\n      echo \"Pre-check failed, terminating early\"\n      exit 1\n    fi\n```\n\n#### 4. Optimize Parallel Execution\n```yaml\nstrategy:\n  matrix:\n    include:\n      - runner: ubuntu-latest\n        task: test\n      - runner: ubuntu-latest\n        task: lint\n      - runner: ubuntu-latest\n        task: security\n  max-parallel: 3\n```\n\n\u003C\u002Fdetails>\n\n## Debugging & Troubleshooting\n\n### 🐛 Debug Tools\n\n\u003Cdetails>\n\u003Csummary>Debug GitHub Workflow Issues\u003C\u002Fsummary>\n\n#### Debug Mode\n```yaml\n- name: Debug Swarm\n  run: |\n    npx ruv-swarm actions debug \\\n      --verbose \\\n      --trace-agents \\\n      --export-logs\n  env:\n    ACTIONS_STEP_DEBUG: true\n```\n\n#### Performance Profiling\n```bash\n# Profile workflow performance\nnpx ruv-swarm actions profile \\\n  --workflow \"ci.yml\" \\\n  --identify-slow-steps \\\n  --suggest-optimizations\n```\n\n#### Failure Analysis\n```bash\n# Analyze failed runs\ngh run view \u003Crun-id> --json jobs,conclusion | \\\n  npx ruv-swarm actions analyze-failure \\\n    --suggest-fixes \\\n    --auto-retry-flaky\n```\n\n#### Log Analysis\n```bash\n# Download and analyze logs\ngh run download \u003Crun-id>\nnpx ruv-swarm actions analyze-logs \\\n  --directory .\u002Flogs \\\n  --identify-errors\n```\n\n\u003C\u002Fdetails>\n\n## Real-World Examples\n\n### 🚀 Complete Workflows\n\n\u003Cdetails>\n\u003Csummary>Production-Ready Integration Examples\u003C\u002Fsummary>\n\n#### Example 1: Full-Stack Application CI\u002FCD\n```yaml\nname: Full-Stack CI\u002FCD with Swarms\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n\njobs:\n  initialize:\n    runs-on: ubuntu-latest\n    outputs:\n      swarm-id: ${{ steps.init.outputs.swarm-id }}\n    steps:\n      - id: init\n        run: |\n          SWARM_ID=$(npx ruv-swarm init --topology mesh --output json | jq -r '.id')\n          echo \"swarm-id=${SWARM_ID}\" >> $GITHUB_OUTPUT\n\n  backend:\n    needs: initialize\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - name: Backend Tests\n        run: |\n          npx ruv-swarm agents spawn --type tester \\\n            --task \"Run backend test suite\" \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n\n  frontend:\n    needs: initialize\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - name: Frontend Tests\n        run: |\n          npx ruv-swarm agents spawn --type tester \\\n            --task \"Run frontend test suite\" \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n\n  security:\n    needs: initialize\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - name: Security Scan\n        run: |\n          npx ruv-swarm agents spawn --type security \\\n            --task \"Security audit\" \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n\n  deploy:\n    needs: [backend, frontend, security]\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy\n        run: |\n          npx ruv-swarm actions deploy \\\n            --strategy progressive \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n```\n\n#### Example 2: Monorepo Management\n```yaml\nname: Monorepo Coordination\non: push\n\njobs:\n  detect-changes:\n    runs-on: ubuntu-latest\n    outputs:\n      packages: ${{ steps.detect.outputs.packages }}\n    steps:\n      - uses: actions\u002Fcheckout@v3\n        with:\n          fetch-depth: 0\n\n      - id: detect\n        run: |\n          PACKAGES=$(npx ruv-swarm actions detect-changes \\\n            --monorepo \\\n            --output json)\n          echo \"packages=${PACKAGES}\" >> $GITHUB_OUTPUT\n\n  build-packages:\n    needs: detect-changes\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        package: ${{ fromJson(needs.detect-changes.outputs.packages) }}\n    steps:\n      - name: Build Package\n        run: |\n          npx ruv-swarm actions build \\\n            --package ${{ matrix.package }} \\\n            --parallel-deps\n```\n\n#### Example 3: Multi-Repo Synchronization\n```bash\n# Synchronize multiple repositories\nnpx claude-flow@alpha github sync-coordinator \\\n  \"Synchronize version updates across:\n   - github.com\u002Forg\u002Frepo-a\n   - github.com\u002Forg\u002Frepo-b\n   - github.com\u002Forg\u002Frepo-c\n\n   Update dependencies, align versions, create PRs\"\n```\n\n\u003C\u002Fdetails>\n\n## Command Reference\n\n### 📚 Quick Command Guide\n\n\u003Cdetails>\n\u003Csummary>All Available Commands\u003C\u002Fsummary>\n\n#### Workflow Generation\n```bash\nnpx ruv-swarm actions generate-workflow [options]\n  --analyze-codebase       Analyze repository structure\n  --detect-languages       Detect programming languages\n  --create-optimal-pipeline Generate optimized workflow\n```\n\n#### Optimization\n```bash\nnpx ruv-swarm actions optimize [options]\n  --workflow \u003Cpath>        Path to workflow file\n  --suggest-parallelization Suggest parallel execution\n  --reduce-redundancy      Remove redundant steps\n  --estimate-savings       Estimate time\u002Fcost savings\n```\n\n#### Analysis\n```bash\nnpx ruv-swarm actions analyze [options]\n  --commit \u003Csha>           Analyze specific commit\n  --suggest-tests          Suggest test improvements\n  --optimize-pipeline      Optimize pipeline structure\n```\n\n#### Testing\n```bash\nnpx ruv-swarm actions smart-test [options]\n  --changed-files \u003Cfiles>  Files that changed\n  --impact-analysis        Analyze test impact\n  --parallel-safe          Only parallel-safe tests\n```\n\n#### Security\n```bash\nnpx ruv-swarm actions security [options]\n  --deep-scan             Deep security analysis\n  --format \u003Cformat>       Output format (json\u002Ftext)\n  --create-issues         Auto-create GitHub issues\n```\n\n#### Deployment\n```bash\nnpx ruv-swarm actions deploy [options]\n  --strategy \u003Ctype>       Deployment strategy\n  --risk \u003Clevel>          Risk assessment level\n  --auto-execute          Execute automatically\n```\n\n#### Monitoring\n```bash\nnpx ruv-swarm actions analytics [options]\n  --workflow \u003Cname>       Workflow to analyze\n  --period \u003Cduration>     Analysis period\n  --identify-bottlenecks  Find bottlenecks\n  --suggest-improvements  Improvement suggestions\n```\n\n\u003C\u002Fdetails>\n\n## Integration Checklist\n\n### ✅ Setup Verification\n\n\u003Cdetails>\n\u003Csummary>Verify Your Setup\u003C\u002Fsummary>\n\n- [ ] GitHub CLI (`gh`) installed and authenticated\n- [ ] Git configured with user credentials\n- [ ] Node.js v16+ installed\n- [ ] `claude-flow@alpha` package available\n- [ ] Repository has `.github\u002Fworkflows` directory\n- [ ] GitHub Actions enabled on repository\n- [ ] Necessary secrets configured\n- [ ] Runner permissions verified\n\n#### Quick Setup Script\n```bash\n#!\u002Fbin\u002Fbash\n# setup-github-automation.sh\n\n# Install dependencies\nnpm install -g claude-flow@alpha\n\n# Verify GitHub CLI\ngh auth status || gh auth login\n\n# Create workflow directory\nmkdir -p .github\u002Fworkflows\n\n# Generate initial workflow\nnpx ruv-swarm actions generate-workflow \\\n  --analyze-codebase \\\n  --create-optimal-pipeline > .github\u002Fworkflows\u002Fci.yml\n\necho \"✅ GitHub workflow automation setup complete\"\n```\n\n\u003C\u002Fdetails>\n\n## Related Skills\n\n- `github-pr-enhancement` - Advanced PR management\n- `release-coordination` - Release automation\n- `swarm-coordination` - Multi-agent orchestration\n- `ci-cd-optimization` - Pipeline optimization\n\n## Support & Documentation\n\n- **GitHub CLI Docs**: https:\u002F\u002Fcli.github.com\u002Fmanual\u002F\n- **GitHub Actions**: https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions\n- **Claude-Flow**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fclaude-flow\n- **Ruv-Swarm**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fruv-swarm\n\n## Version History\n\n- **v1.0.0** (2025-01-19): Initial skill consolidation\n  - Merged workflow-automation.md (441 lines)\n  - Merged github-modes.md (146 lines)\n  - Added progressive disclosure\n  - Enhanced with swarm coordination patterns\n  - Added comprehensive examples and best practices\n\n---\n\n**Skill Status**: ✅ Production Ready\n**Last Updated**: 2025-01-19\n**Maintainer**: claude-flow team\n","# GitHub Workflow Automation Skill\n\n## Overview\n\nThis skill provides comprehensive GitHub Actions automation with AI swarm coordination. It integrates intelligent CI\u002FCD pipelines, workflow orchestration, and repository management to create self-organizing, adaptive GitHub workflows.\n\n## Quick Start\n\n\u003Cdetails>\n\u003Csummary>💡 Basic Usage - Click to expand\u003C\u002Fsummary>\n\n### Initialize GitHub Workflow Automation\n```bash\n# Start with a simple workflow\nnpx ruv-swarm actions generate-workflow \\\n  --analyze-codebase \\\n  --detect-languages \\\n  --create-optimal-pipeline\n```\n\n### Common Commands\n```bash\n# Optimize existing workflow\nnpx ruv-swarm actions optimize \\\n  --workflow \".github\u002Fworkflows\u002Fci.yml\" \\\n  --suggest-parallelization\n\n# Analyze failed runs\ngh run view \u003Crun-id> --json jobs,conclusion | \\\n  npx ruv-swarm actions analyze-failure \\\n    --suggest-fixes\n```\n\n\u003C\u002Fdetails>\n\n## Core Capabilities\n\n### 🤖 Swarm-Powered GitHub Modes\n\n\u003Cdetails>\n\u003Csummary>Available GitHub Integration Modes\u003C\u002Fsummary>\n\n#### 1. gh-coordinator\n**GitHub workflow orchestration and coordination**\n- **Coordination Mode**: Hierarchical\n- **Max Parallel Operations**: 10\n- **Batch Optimized**: Yes\n- **Best For**: Complex GitHub workflows, multi-repo coordination\n\n```bash\n# Usage example\nnpx claude-flow@alpha github gh-coordinator \\\n  \"Coordinate multi-repo release across 5 repositories\"\n```\n\n#### 2. pr-manager\n**Pull request management and review coordination**\n- **Review Mode**: Automated\n- **Multi-reviewer**: Yes\n- **Conflict Resolution**: Intelligent\n\n```bash\n# Create PR with automated review\ngh pr create --title \"Feature: New capability\" \\\n  --body \"Automated PR with swarm review\" | \\\n  npx ruv-swarm actions pr-validate \\\n    --spawn-agents \"linter,tester,security,docs\"\n```\n\n#### 3. issue-tracker\n**Issue management and project coordination**\n- **Issue Workflow**: Automated\n- **Label Management**: Smart\n- **Progress Tracking**: Real-time\n\n```bash\n# Create coordinated issue workflow\nnpx claude-flow@alpha github issue-tracker \\\n  \"Manage sprint issues with automated tracking\"\n```\n\n#### 4. release-manager\n**Release coordination and deployment**\n- **Release Pipeline**: Automated\n- **Versioning**: Semantic\n- **Deployment**: Multi-stage\n\n```bash\n# Automated release management\nnpx claude-flow@alpha github release-manager \\\n  \"Create v2.0.0 release with changelog and deployment\"\n```\n\n#### 5. repo-architect\n**Repository structure and organization**\n- **Structure Optimization**: Yes\n- **Multi-repo Support**: Yes\n- **Template Management**: Advanced\n\n```bash\n# Optimize repository structure\nnpx claude-flow@alpha github repo-architect \\\n  \"Restructure monorepo with optimal organization\"\n```\n\n#### 6. code-reviewer\n**Automated code review and quality assurance**\n- **Review Quality**: Deep\n- **Security Analysis**: Yes\n- **Performance Check**: Automated\n\n```bash\n# Automated code review\ngh pr view 123 --json files | \\\n  npx ruv-swarm actions pr-validate \\\n    --deep-review \\\n    --security-scan\n```\n\n#### 7. ci-orchestrator\n**CI\u002FCD pipeline coordination**\n- **Pipeline Management**: Advanced\n- **Test Coordination**: Parallel\n- **Deployment**: Automated\n\n```bash\n# Orchestrate CI\u002FCD pipeline\nnpx claude-flow@alpha github ci-orchestrator \\\n  \"Setup parallel test execution with smart caching\"\n```\n\n#### 8. security-guardian\n**Security and compliance management**\n- **Security Scan**: Automated\n- **Compliance Check**: Continuous\n- **Vulnerability Management**: Proactive\n\n```bash\n# Security audit\nnpx ruv-swarm actions security \\\n  --deep-scan \\\n  --compliance-check \\\n  --create-issues\n```\n\n\u003C\u002Fdetails>\n\n### 🔧 Workflow Templates\n\n\u003Cdetails>\n\u003Csummary>Production-Ready GitHub Actions Templates\u003C\u002Fsummary>\n\n#### 1. Intelligent CI with Swarms\n```yaml\n# .github\u002Fworkflows\u002Fswarm-ci.yml\nname: Intelligent CI with Swarms\non: [push, pull_request]\n\njobs:\n  swarm-analysis:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Initialize Swarm\n        uses: ruvnet\u002Fswarm-action@v1\n        with:\n          topology: mesh\n          max-agents: 6\n\n      - name: Analyze Changes\n        run: |\n          npx ruv-swarm actions analyze \\\n            --commit ${{ github.sha }} \\\n            --suggest-tests \\\n            --optimize-pipeline\n```\n\n#### 2. Multi-Language Detection\n```yaml\n# .github\u002Fworkflows\u002Fpolyglot-swarm.yml\nname: Polyglot Project Handler\non: push\n\njobs:\n  detect-and-build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n\n      - name: Detect Languages\n        id: detect\n        run: |\n          npx ruv-swarm actions detect-stack \\\n            --output json > stack.json\n\n      - name: Dynamic Build Matrix\n        run: |\n          npx ruv-swarm actions create-matrix \\\n            --from stack.json \\\n            --parallel-builds\n```\n\n#### 3. Adaptive Security Scanning\n```yaml\n# .github\u002Fworkflows\u002Fsecurity-swarm.yml\nname: Intelligent Security Scan\non:\n  schedule:\n    - cron: '0 0 * * *'\n  workflow_dispatch:\n\njobs:\n  security-swarm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Security Analysis Swarm\n        run: |\n          SECURITY_ISSUES=$(npx ruv-swarm actions security \\\n            --deep-scan \\\n            --format json)\n\n          echo \"$SECURITY_ISSUES\" | jq -r '.issues[]? | @base64' | while read -r issue; do\n            _jq() {\n              echo ${issue} | base64 --decode | jq -r ${1}\n            }\n            gh issue create \\\n              --title \"$(_jq '.title')\" \\\n              --body \"$(_jq '.body')\" \\\n              --label \"security,critical\"\n          done\n```\n\n#### 4. Self-Healing Pipeline\n```yaml\n# .github\u002Fworkflows\u002Fself-healing.yml\nname: Self-Healing Pipeline\non: workflow_run\n\njobs:\n  heal-pipeline:\n    if: ${{ github.event.workflow_run.conclusion == 'failure' }}\n    runs-on: ubuntu-latest\n    steps:\n      - name: Diagnose and Fix\n        run: |\n          npx ruv-swarm actions self-heal \\\n            --run-id ${{ github.event.workflow_run.id }} \\\n            --auto-fix-common \\\n            --create-pr-complex\n```\n\n#### 5. Progressive Deployment\n```yaml\n# .github\u002Fworkflows\u002Fsmart-deployment.yml\nname: Smart Deployment\non:\n  push:\n    branches: [main]\n\njobs:\n  progressive-deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Analyze Risk\n        id: risk\n        run: |\n          npx ruv-swarm actions deploy-risk \\\n            --changes ${{ github.sha }} \\\n            --history 30d\n\n      - name: Choose Strategy\n        run: |\n          npx ruv-swarm actions deploy-strategy \\\n            --risk ${{ steps.risk.outputs.level }} \\\n            --auto-execute\n```\n\n#### 6. Performance Regression Detection\n```yaml\n# .github\u002Fworkflows\u002Fperformance-guard.yml\nname: Performance Guard\non: pull_request\n\njobs:\n  perf-swarm:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Performance Analysis\n        run: |\n          npx ruv-swarm actions perf-test \\\n            --baseline main \\\n            --threshold 10% \\\n            --auto-profile-regression\n```\n\n#### 7. PR Validation Swarm\n```yaml\n# .github\u002Fworkflows\u002Fpr-validation.yml\nname: PR Validation Swarm\non: pull_request\n\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Multi-Agent Validation\n        run: |\n          PR_DATA=$(gh pr view ${{ github.event.pull_request.number }} --json files,labels)\n\n          RESULTS=$(npx ruv-swarm actions pr-validate \\\n            --spawn-agents \"linter,tester,security,docs\" \\\n            --parallel \\\n            --pr-data \"$PR_DATA\")\n\n          gh pr comment ${{ github.event.pull_request.number }} \\\n            --body \"$RESULTS\"\n```\n\n#### 8. Intelligent Release\n```yaml\n# .github\u002Fworkflows\u002Fintelligent-release.yml\nname: Intelligent Release\non:\n  push:\n    tags: ['v*']\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Release Swarm\n        run: |\n          npx ruv-swarm actions release \\\n            --analyze-changes \\\n            --generate-notes \\\n            --create-artifacts \\\n            --publish-smart\n```\n\n\u003C\u002Fdetails>\n\n### 📊 Monitoring & Analytics\n\n\u003Cdetails>\n\u003Csummary>Workflow Analysis & Optimization\u003C\u002Fsummary>\n\n#### Workflow Analytics\n```bash\n# Analyze workflow performance\nnpx ruv-swarm actions analytics \\\n  --workflow \"ci.yml\" \\\n  --period 30d \\\n  --identify-bottlenecks \\\n  --suggest-improvements\n```\n\n#### Cost Optimization\n```bash\n# Optimize GitHub Actions costs\nnpx ruv-swarm actions cost-optimize \\\n  --analyze-usage \\\n  --suggest-caching \\\n  --recommend-self-hosted\n```\n\n#### Failure Pattern Analysis\n```bash\n# Identify failure patterns\nnpx ruv-swarm actions failure-patterns \\\n  --period 90d \\\n  --classify-failures \\\n  --suggest-preventions\n```\n\n#### Resource Management\n```bash\n# Optimize resource usage\nnpx ruv-swarm actions resources \\\n  --analyze-usage \\\n  --suggest-runners \\\n  --cost-optimize\n```\n\n\u003C\u002Fdetails>\n\n## Advanced Features\n\n### 🧪 Dynamic Test Strategies\n\n\u003Cdetails>\n\u003Csummary>Intelligent Test Selection & Execution\u003C\u002Fsummary>\n\n#### Smart Test Selection\n```yaml\n# Automatically select relevant tests\n- name: Swarm Test Selection\n  run: |\n    npx ruv-swarm actions smart-test \\\n      --changed-files ${{ steps.files.outputs.all }} \\\n      --impact-analysis \\\n      --parallel-safe\n```\n\n#### Dynamic Test Matrix\n```yaml\n# Generate test matrix from code analysis\njobs:\n  generate-matrix:\n    outputs:\n      matrix: ${{ steps.set-matrix.outputs.matrix }}\n    steps:\n      - id: set-matrix\n        run: |\n          MATRIX=$(npx ruv-swarm actions test-matrix \\\n            --detect-frameworks \\\n            --optimize-coverage)\n          echo \"matrix=${MATRIX}\" >> $GITHUB_OUTPUT\n\n  test:\n    needs: generate-matrix\n    strategy:\n      matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}\n```\n\n#### Intelligent Parallelization\n```bash\n# Determine optimal parallelization\nnpx ruv-swarm actions parallel-strategy \\\n  --analyze-dependencies \\\n  --time-estimates \\\n  --cost-aware\n```\n\n\u003C\u002Fdetails>\n\n### 🔮 Predictive Analysis\n\n\u003Cdetails>\n\u003Csummary>AI-Powered Workflow Predictions\u003C\u002Fsummary>\n\n#### Predictive Failures\n```bash\n# Predict potential failures\nnpx ruv-swarm actions predict \\\n  --analyze-history \\\n  --identify-risks \\\n  --suggest-preventive\n```\n\n#### Workflow Recommendations\n```bash\n# Get workflow recommendations\nnpx ruv-swarm actions recommend \\\n  --analyze-repo \\\n  --suggest-workflows \\\n  --industry-best-practices\n```\n\n#### Automated Optimization\n```bash\n# Continuously optimize workflows\nnpx ruv-swarm actions auto-optimize \\\n  --monitor-performance \\\n  --apply-improvements \\\n  --track-savings\n```\n\n\u003C\u002Fdetails>\n\n### 🎯 Custom Actions Development\n\n\u003Cdetails>\n\u003Csummary>Build Your Own Swarm Actions\u003C\u002Fsummary>\n\n#### Custom Swarm Action Template\n```javascript\n\u002F\u002F action.yml\nname: 'Swarm Custom Action'\ndescription: 'Custom swarm-powered action'\ninputs:\n  task:\n    description: 'Task for swarm'\n    required: true\nruns:\n  using: 'node16'\n  main: 'dist\u002Findex.js'\n\n\u002F\u002F index.js\nconst { SwarmAction } = require('ruv-swarm');\n\nasync function run() {\n  const swarm = new SwarmAction({\n    topology: 'mesh',\n    agents: ['analyzer', 'optimizer']\n  });\n\n  await swarm.execute(core.getInput('task'));\n}\n\nrun().catch(error => core.setFailed(error.message));\n```\n\n\u003C\u002Fdetails>\n\n## Integration with Claude-Flow\n\n### 🔄 Swarm Coordination Patterns\n\n\u003Cdetails>\n\u003Csummary>MCP-Based GitHub Workflow Coordination\u003C\u002Fsummary>\n\n#### Initialize GitHub Swarm\n```javascript\n\u002F\u002F Step 1: Initialize swarm coordination\nmcp__claude-flow__swarm_init {\n  topology: \"hierarchical\",\n  maxAgents: 8\n}\n\n\u002F\u002F Step 2: Spawn specialized agents\nmcp__claude-flow__agent_spawn { type: \"coordinator\", name: \"GitHub Coordinator\" }\nmcp__claude-flow__agent_spawn { type: \"reviewer\", name: \"Code Reviewer\" }\nmcp__claude-flow__agent_spawn { type: \"tester\", name: \"QA Agent\" }\nmcp__claude-flow__agent_spawn { type: \"analyst\", name: \"Security Analyst\" }\n\n\u002F\u002F Step 3: Orchestrate GitHub workflow\nmcp__claude-flow__task_orchestrate {\n  task: \"Complete PR review and merge workflow\",\n  strategy: \"parallel\",\n  priority: \"high\"\n}\n```\n\n#### GitHub Hooks Integration\n```bash\n# Pre-task: Setup GitHub context\nnpx claude-flow@alpha hooks pre-task \\\n  --description \"PR review workflow\" \\\n  --context \"pr-123\"\n\n# During task: Track progress\nnpx claude-flow@alpha hooks notify \\\n  --message \"Completed security scan\" \\\n  --type \"github-action\"\n\n# Post-task: Export results\nnpx claude-flow@alpha hooks post-task \\\n  --task-id \"pr-review-123\" \\\n  --export-github-summary\n```\n\n\u003C\u002Fdetails>\n\n### 📦 Batch Operations\n\n\u003Cdetails>\n\u003Csummary>Concurrent GitHub Operations\u003C\u002Fsummary>\n\n#### Parallel GitHub CLI Commands\n```javascript\n\u002F\u002F Single message with all GitHub operations\n[Concurrent Execution]:\n  Bash(\"gh issue create --title 'Feature A' --body 'Description A' --label 'enhancement'\")\n  Bash(\"gh issue create --title 'Feature B' --body 'Description B' --label 'enhancement'\")\n  Bash(\"gh pr create --title 'PR 1' --head 'feature-a' --base 'main'\")\n  Bash(\"gh pr create --title 'PR 2' --head 'feature-b' --base 'main'\")\n  Bash(\"gh pr checks 123 --watch\")\n  TodoWrite { todos: [\n    {content: \"Review security scan results\", status: \"pending\"},\n    {content: \"Merge approved PRs\", status: \"pending\"},\n    {content: \"Update changelog\", status: \"pending\"}\n  ]}\n```\n\n\u003C\u002Fdetails>\n\n## Best Practices\n\n### 🏗️ Workflow Organization\n\n\u003Cdetails>\n\u003Csummary>Structure Your GitHub Workflows\u003C\u002Fsummary>\n\n#### 1. Use Reusable Workflows\n```yaml\n# .github\u002Fworkflows\u002Freusable-swarm.yml\nname: Reusable Swarm Workflow\non:\n  workflow_call:\n    inputs:\n      topology:\n        required: true\n        type: string\n\njobs:\n  swarm-task:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Initialize Swarm\n        run: |\n          npx ruv-swarm init --topology ${{ inputs.topology }}\n```\n\n#### 2. Implement Proper Caching\n```yaml\n- name: Cache Swarm Dependencies\n  uses: actions\u002Fcache@v3\n  with:\n    path: ~\u002F.npm\n    key: ${{ runner.os }}-swarm-${{ hashFiles('**\u002Fpackage-lock.json') }}\n```\n\n#### 3. Set Appropriate Timeouts\n```yaml\njobs:\n  swarm-task:\n    timeout-minutes: 30\n    steps:\n      - name: Swarm Operation\n        timeout-minutes: 10\n```\n\n#### 4. Use Workflow Dependencies\n```yaml\njobs:\n  setup:\n    runs-on: ubuntu-latest\n\n  test:\n    needs: setup\n    runs-on: ubuntu-latest\n\n  deploy:\n    needs: [setup, test]\n    runs-on: ubuntu-latest\n```\n\n\u003C\u002Fdetails>\n\n### 🔒 Security Best Practices\n\n\u003Cdetails>\n\u003Csummary>Secure Your GitHub Workflows\u003C\u002Fsummary>\n\n#### 1. Store Configurations Securely\n```yaml\n- name: Setup Swarm\n  env:\n    SWARM_CONFIG: ${{ secrets.SWARM_CONFIG }}\n    API_KEY: ${{ secrets.API_KEY }}\n  run: |\n    npx ruv-swarm init --config \"$SWARM_CONFIG\"\n```\n\n#### 2. Use OIDC Authentication\n```yaml\npermissions:\n  id-token: write\n  contents: read\n\n- name: Configure AWS Credentials\n  uses: aws-actions\u002Fconfigure-aws-credentials@v2\n  with:\n    role-to-assume: arn:aws:iam::123456789012:role\u002FGitHubAction\n    aws-region: us-east-1\n```\n\n#### 3. Implement Least-Privilege\n```yaml\npermissions:\n  contents: read\n  pull-requests: write\n  issues: write\n```\n\n#### 4. Audit Swarm Operations\n```yaml\n- name: Audit Swarm Actions\n  run: |\n    npx ruv-swarm actions audit \\\n      --export-logs \\\n      --compliance-report\n```\n\n\u003C\u002Fdetails>\n\n### ⚡ Performance Optimization\n\n\u003Cdetails>\n\u003Csummary>Maximize Workflow Performance\u003C\u002Fsummary>\n\n#### 1. Cache Swarm Dependencies\n```yaml\n- uses: actions\u002Fcache@v3\n  with:\n    path: |\n      ~\u002F.npm\n      node_modules\n    key: ${{ runner.os }}-swarm-${{ hashFiles('**\u002Fpackage-lock.json') }}\n```\n\n#### 2. Use Appropriate Runner Sizes\n```yaml\njobs:\n  heavy-task:\n    runs-on: ubuntu-latest-4-cores\n    steps:\n      - name: Intensive Swarm Operation\n```\n\n#### 3. Implement Early Termination\n```yaml\n- name: Quick Fail Check\n  run: |\n    if ! npx ruv-swarm actions pre-check; then\n      echo \"Pre-check failed, terminating early\"\n      exit 1\n    fi\n```\n\n#### 4. Optimize Parallel Execution\n```yaml\nstrategy:\n  matrix:\n    include:\n      - runner: ubuntu-latest\n        task: test\n      - runner: ubuntu-latest\n        task: lint\n      - runner: ubuntu-latest\n        task: security\n  max-parallel: 3\n```\n\n\u003C\u002Fdetails>\n\n## Debugging & Troubleshooting\n\n### 🐛 Debug Tools\n\n\u003Cdetails>\n\u003Csummary>Debug GitHub Workflow Issues\u003C\u002Fsummary>\n\n#### Debug Mode\n```yaml\n- name: Debug Swarm\n  run: |\n    npx ruv-swarm actions debug \\\n      --verbose \\\n      --trace-agents \\\n      --export-logs\n  env:\n    ACTIONS_STEP_DEBUG: true\n```\n\n#### Performance Profiling\n```bash\n# Profile workflow performance\nnpx ruv-swarm actions profile \\\n  --workflow \"ci.yml\" \\\n  --identify-slow-steps \\\n  --suggest-optimizations\n```\n\n#### Failure Analysis\n```bash\n# Analyze failed runs\ngh run view \u003Crun-id> --json jobs,conclusion | \\\n  npx ruv-swarm actions analyze-failure \\\n    --suggest-fixes \\\n    --auto-retry-flaky\n```\n\n#### Log Analysis\n```bash\n# Download and analyze logs\ngh run download \u003Crun-id>\nnpx ruv-swarm actions analyze-logs \\\n  --directory .\u002Flogs \\\n  --identify-errors\n```\n\n\u003C\u002Fdetails>\n\n## Real-World Examples\n\n### 🚀 Complete Workflows\n\n\u003Cdetails>\n\u003Csummary>Production-Ready Integration Examples\u003C\u002Fsummary>\n\n#### Example 1: Full-Stack Application CI\u002FCD\n```yaml\nname: Full-Stack CI\u002FCD with Swarms\non:\n  push:\n    branches: [main, develop]\n  pull_request:\n\njobs:\n  initialize:\n    runs-on: ubuntu-latest\n    outputs:\n      swarm-id: ${{ steps.init.outputs.swarm-id }}\n    steps:\n      - id: init\n        run: |\n          SWARM_ID=$(npx ruv-swarm init --topology mesh --output json | jq -r '.id')\n          echo \"swarm-id=${SWARM_ID}\" >> $GITHUB_OUTPUT\n\n  backend:\n    needs: initialize\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - name: Backend Tests\n        run: |\n          npx ruv-swarm agents spawn --type tester \\\n            --task \"Run backend test suite\" \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n\n  frontend:\n    needs: initialize\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - name: Frontend Tests\n        run: |\n          npx ruv-swarm agents spawn --type tester \\\n            --task \"Run frontend test suite\" \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n\n  security:\n    needs: initialize\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v3\n      - name: Security Scan\n        run: |\n          npx ruv-swarm agents spawn --type security \\\n            --task \"Security audit\" \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n\n  deploy:\n    needs: [backend, frontend, security]\n    if: github.ref == 'refs\u002Fheads\u002Fmain'\n    runs-on: ubuntu-latest\n    steps:\n      - name: Deploy\n        run: |\n          npx ruv-swarm actions deploy \\\n            --strategy progressive \\\n            --swarm-id ${{ needs.initialize.outputs.swarm-id }}\n```\n\n#### Example 2: Monorepo Management\n```yaml\nname: Monorepo Coordination\non: push\n\njobs:\n  detect-changes:\n    runs-on: ubuntu-latest\n    outputs:\n      packages: ${{ steps.detect.outputs.packages }}\n    steps:\n      - uses: actions\u002Fcheckout@v3\n        with:\n          fetch-depth: 0\n\n      - id: detect\n        run: |\n          PACKAGES=$(npx ruv-swarm actions detect-changes \\\n            --monorepo \\\n            --output json)\n          echo \"packages=${PACKAGES}\" >> $GITHUB_OUTPUT\n\n  build-packages:\n    needs: detect-changes\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        package: ${{ fromJson(needs.detect-changes.outputs.packages) }}\n    steps:\n      - name: Build Package\n        run: |\n          npx ruv-swarm actions build \\\n            --package ${{ matrix.package }} \\\n            --parallel-deps\n```\n\n#### Example 3: Multi-Repo Synchronization\n```bash\n# Synchronize multiple repositories\nnpx claude-flow@alpha github sync-coordinator \\\n  \"Synchronize version updates across:\n   - github.com\u002Forg\u002Frepo-a\n   - github.com\u002Forg\u002Frepo-b\n   - github.com\u002Forg\u002Frepo-c\n\n   Update dependencies, align versions, create PRs\"\n```\n\n\u003C\u002Fdetails>\n\n## Command Reference\n\n### 📚 Quick Command Guide\n\n\u003Cdetails>\n\u003Csummary>All Available Commands\u003C\u002Fsummary>\n\n#### Workflow Generation\n```bash\nnpx ruv-swarm actions generate-workflow [options]\n  --analyze-codebase       Analyze repository structure\n  --detect-languages       Detect programming languages\n  --create-optimal-pipeline Generate optimized workflow\n```\n\n#### Optimization\n```bash\nnpx ruv-swarm actions optimize [options]\n  --workflow \u003Cpath>        Path to workflow file\n  --suggest-parallelization Suggest parallel execution\n  --reduce-redundancy      Remove redundant steps\n  --estimate-savings       Estimate time\u002Fcost savings\n```\n\n#### Analysis\n```bash\nnpx ruv-swarm actions analyze [options]\n  --commit \u003Csha>           Analyze specific commit\n  --suggest-tests          Suggest test improvements\n  --optimize-pipeline      Optimize pipeline structure\n```\n\n#### Testing\n```bash\nnpx ruv-swarm actions smart-test [options]\n  --changed-files \u003Cfiles>  Files that changed\n  --impact-analysis        Analyze test impact\n  --parallel-safe          Only parallel-safe tests\n```\n\n#### Security\n```bash\nnpx ruv-swarm actions security [options]\n  --deep-scan             Deep security analysis\n  --format \u003Cformat>       Output format (json\u002Ftext)\n  --create-issues         Auto-create GitHub issues\n```\n\n#### Deployment\n```bash\nnpx ruv-swarm actions deploy [options]\n  --strategy \u003Ctype>       Deployment strategy\n  --risk \u003Clevel>          Risk assessment level\n  --auto-execute          Execute automatically\n```\n\n#### Monitoring\n```bash\nnpx ruv-swarm actions analytics [options]\n  --workflow \u003Cname>       Workflow to analyze\n  --period \u003Cduration>     Analysis period\n  --identify-bottlenecks  Find bottlenecks\n  --suggest-improvements  Improvement suggestions\n```\n\n\u003C\u002Fdetails>\n\n## Integration Checklist\n\n### ✅ Setup Verification\n\n\u003Cdetails>\n\u003Csummary>Verify Your Setup\u003C\u002Fsummary>\n\n- [ ] GitHub CLI (`gh`) installed and authenticated\n- [ ] Git configured with user credentials\n- [ ] Node.js v16+ installed\n- [ ] `claude-flow@alpha` package available\n- [ ] Repository has `.github\u002Fworkflows` directory\n- [ ] GitHub Actions enabled on repository\n- [ ] Necessary secrets configured\n- [ ] Runner permissions verified\n\n#### Quick Setup Script\n```bash\n#!\u002Fbin\u002Fbash\n# setup-github-automation.sh\n\n# Install dependencies\nnpm install -g claude-flow@alpha\n\n# Verify GitHub CLI\ngh auth status || gh auth login\n\n# Create workflow directory\nmkdir -p .github\u002Fworkflows\n\n# Generate initial workflow\nnpx ruv-swarm actions generate-workflow \\\n  --analyze-codebase \\\n  --create-optimal-pipeline > .github\u002Fworkflows\u002Fci.yml\n\necho \"✅ GitHub workflow automation setup complete\"\n```\n\n\u003C\u002Fdetails>\n\n## Related Skills\n\n- `github-pr-enhancement` - Advanced PR management\n- `release-coordination` - Release automation\n- `swarm-coordination` - Multi-agent orchestration\n- `ci-cd-optimization` - Pipeline optimization\n\n## Support & Documentation\n\n- **GitHub CLI Docs**: https:\u002F\u002Fcli.github.com\u002Fmanual\u002F\n- **GitHub Actions**: https:\u002F\u002Fdocs.github.com\u002Fen\u002Factions\n- **Claude-Flow**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fclaude-flow\n- **Ruv-Swarm**: https:\u002F\u002Fgithub.com\u002Fruvnet\u002Fruv-swarm\n\n## Version History\n\n- **v1.0.0** (2025-01-19): Initial skill consolidation\n  - Merged workflow-automation.md (441 lines)\n  - Merged github-modes.md (146 lines)\n  - Added progressive disclosure\n  - Enhanced with swarm coordination patterns\n  - Added comprehensive examples and best practices\n\n---\n\n**Skill Status**: ✅ Production Ready\n**Last Updated**: 2025-01-19\n**Maintainer**: claude-flow team\n",{"name":5,"description":7},"main","5593cf3c72898ea9fc67225d452fe38f866ba6dd",".claude\u002F_archive\u002Fskills-batch2\u002Fgithub-workflow-automation","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE","https:\u002F\u002Fgithub.com\u002Faicreator350","2026-05-18 03:39:30",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add aicreator350\u002FaurionOFFICIELLE --skill github-workflow-automation",{"tool":35,"command":36},"bunx","bunx skills add aicreator350\u002FaurionOFFICIELLE --skill github-workflow-automation",{"tool":38,"command":39},"pnpm","pnpm dlx skills add aicreator350\u002FaurionOFFICIELLE --skill github-workflow-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002F.claude\u002F_archive\u002Fskills-batch2\u002Fgithub-workflow-automation\u002FSKILL.md",true,[],[44,53,60,67,74,81],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":48,"licenseFileUrl":49,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M74CAJWR9WB6DX1HF2V461Y0","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M74CAFWC2H75GJ81B39C9RSW","web-design-guidelines","Review UI code for Web Interface Guidelines compliance. Use when asked to \"review my UI\", \"check accessibility\", \"audit design\", \"review UX\", or \"check my site against best practices\".","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M74CA9N2HTGCKJ93AE9NQMHA","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-react-view-transitions\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M74CA364D4EVDXZZQRVK1Z73","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M74C9YQZX1GVS18V0AYCYPZE","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M74C9SEYD6F764Q1JACZX3A6","vercel-cli-with-tokens","Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. \"deploy to vercel\", \"set up vercel\", \"add environment variables to vercel\".","https:\u002F\u002Fgithub.com\u002Faicreator350\u002FaurionOFFICIELLE\u002Fblob\u002Fmain\u002Fskills\u002Fvercel-cli-with-tokens\u002FSKILL.md",[],[]]