[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESK2WDDBJ3NPTASNJF2PZK":3,"skill-same:01M6ESK2WDDBJ3NPTASNJF2PZK":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":68,"ownerHtmlUrl":69,"ownerBlogUrl":6,"ownerDescription":70,"updatedAt":71,"install":72,"resources":84},"01M6ESK2WDDBJ3NPTASNJF2PZK","github-workflow-automation",null,"Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI\u002FCD pipelines, and comprehensive repository management","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",66,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdnyoussef\u002Fgithub-workflow-automation\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"github","workflow","automation","Workflow Automation","github workflow automation","github cli","pipelines","management","workflow-automation","swarm-coordination","coordination","swarm","ci-cd","github actions","ci","actions","alpha","git","deployment","security","2026-11-10 10:12:30",false,"---\nname: github-workflow-automation\nversion: 1.0.0\ncategory: github\ndescription: Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI\u002FCD pipelines, and comprehensive repository management\ntags:\n  - github\n  - github-actions\n  - ci-cd\n  - workflow-automation\n  - swarm-coordination\n  - deployment\n  - security\nauthors:\n  - claude-flow\nrequires:\n  - gh (GitHub CLI)\n  - git\n  - claude-flow@alpha\n  - node (v16+)\npriority: high\nprogressive_disclosure: true\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,"tags":52,"authors":54,"version":56,"category":27,"priority":57,"requires":58,"description":7,"progressive_disclosure":62},[27,53,39,35,36,45,46],"github-actions",[55],"claude-flow","1.0.0","high",[59,44,60,61],"gh (GitHub CLI)","claude-flow@alpha","node (v16+)",true,"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fdnyoussef\u002Fgithub-workflow-automation",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":73,"prompt":83,"zipAvailable":62},[74,77,80],{"tool":75,"command":76},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill github-workflow-automation",{"tool":78,"command":79},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill github-workflow-automation",{"tool":81,"command":82},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill github-workflow-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdnyoussef\u002Fgithub-workflow-automation\u002FSKILL.md",[85,91],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"agents\u002Fopenai.yaml","REFERENCE","参考文档",108,"https:\u002F\u002Fgithub.com\u002FAb0umar\u002Fselrs.cc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fscaffold-exercises\u002Fagents\u002Fopenai.yaml",{"path":92,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":93,"sourceHtmlUrl":94},"skill-report.json",12146,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fdnyoussef\u002Fgithub-workflow-automation\u002Fskill-report.json",[96,106,116,125,131,138],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":102,"publishedAt":47},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[101],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[103,104,105],"model","model hierarchy","model hierarchy skill",{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":112,"publishedAt":47},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[111],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[113,114,115],"MCP","zoom","zoom mcp",{"skillNo":117,"name":118,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":47},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[122,123,124,114],"sdk","zoom apps sdk","apps",{"skillNo":126,"name":127,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":47},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[127],{"skillNo":132,"name":133,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":137,"publishedAt":47},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[136],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[133],{"skillNo":139,"name":140,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":47},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[140]]