name: github-modes
description: Comprehensive GitHub integration modes for workflow orchestration, PR management, and repository coordination with batch optimization
tools: mcp__claude-flow__swarm_init, mcp__claude-flow__agent_spawn, mcp__claude-flow__task_orchestrate, Bash, TodoWrite, Read, Write
color: purple
type: development
capabilities:
- GitHub workflow orchestration
- Pull request management and review
- Issue tracking and coordination
- Release management and deployment
- Repository architecture and organization
- CI/CD pipeline coordination
priority: medium
hooks:
pre: |
echo "Starting github-modes..."
echo "Initializing GitHub workflow coordination"
gh auth status || (echo "GitHub CLI authentication required" && exit 1)
git status > $dev$null || (echo "Not in a git repository" && exit 1)
post: |
echo "Completed github-modes"
echo "GitHub operations synchronized"
echo "Workflow coordination finalized"
GitHub Integration Modes
Overview
This document describes all GitHub integration modes available in Claude-Flow with ruv-swarm coordination. Each mode is optimized for specific GitHub workflows and includes batch tool integration for maximum efficiency.
GitHub Workflow Modes
gh-coordinator
GitHub workflow orchestration and coordination
- Coordination Mode: Hierarchical
- Max Parallel Operations: 10
- Batch Optimized: Yes
- Tools: gh CLI commands, TodoWrite, TodoRead, Task, Memory, Bash
- Usage:
$github gh-coordinator <GitHub workflow description>
- Best For: Complex GitHub workflows, multi-repo coordination
pr-manager
Pull request management and review coordination
- Review Mode: Automated
- Multi-reviewer: Yes
- Conflict Resolution: Intelligent
- Tools: gh pr create, gh pr view, gh pr review, gh pr merge, TodoWrite, Task
- Usage:
$github pr-manager <PR management task>
- Best For: PR reviews, merge coordination, conflict resolution
issue-tracker
Issue management and project coordination
- Issue Workflow: Automated
- Label Management: Smart
- Progress Tracking: Real-time
- Tools: gh issue create, gh issue edit, gh issue comment, gh issue list, TodoWrite
- Usage:
$github issue-tracker <issue management task>
- Best For: Project management, issue coordination, progress tracking
release-manager
Release coordination and deployment
- Release Pipeline: Automated
- Versioning: Semantic
- Deployment: Multi-stage
- Tools: gh pr create, gh pr merge, gh release create, Bash, TodoWrite
- Usage:
$github release-manager <release task>
- Best For: Release management, version coordination, deployment pipelines
Repository Management Modes
repo-architect
Repository structure and organization
- Structure Optimization: Yes
- Multi-repo: Support
- Template Management: Advanced
- Tools: gh repo create, gh repo clone, git commands, Write, Read, Bash
- Usage:
$github repo-architect <repository management task>
- Best For: Repository setup, structure optimization, multi-repo management
code-reviewer
Automated code review and quality assurance
- Review Quality: Deep
- Security Analysis: Yes
- Performance Check: Automated
- Tools: gh pr view --json files, gh pr review, gh pr comment, Read, Write
- Usage:
$github code-reviewer <review task>
- Best For: Code quality, security reviews, performance analysis
branch-manager
Branch management and workflow coordination
- Branch Strategy: GitFlow
- Merge Strategy: Intelligent
- Conflict Prevention: Proactive
- Tools: gh api (for branch operations), git commands, Bash
- Usage:
$github branch-manager <branch management task>
- Best For: Branch coordination, merge strategies, workflow management
Integration Commands
sync-coordinator
Multi-package synchronization
- Package Sync: Intelligent
- Version Alignment: Automatic
- Dependency Resolution: Advanced
- Tools: git commands, gh pr create, Read, Write, Bash
- Usage:
$github sync-coordinator <sync task>
- Best For: Package synchronization, version management, dependency updates
ci-orchestrator
CI/CD pipeline coordination
- Pipeline Management: Advanced
- Test Coordination: Parallel
- Deployment: Automated
- Tools: gh pr checks, gh workflow list, gh run list, Bash, TodoWrite, Task
- Usage:
$github ci-orchestrator <CI/CD task>
- Best For: CI/CD coordination, test management, deployment automation
security-guardian
Security and compliance management
- Security Scan: Automated
- Compliance Check: Continuous
- Vulnerability Management: Proactive
- Tools: gh search code, gh issue create, gh secret list, Read, Write
- Usage:
$github security-guardian <security task>
- Best For: Security audits, compliance checks, vulnerability management
Usage Examples
Creating a coordinated pull request workflow:
$github pr-manager "Review and merge feature$new-integration branch with automated testing and multi-reviewer coordination"
Managing repository synchronization:
$github sync-coordinator "Synchronize claude-code-flow and ruv-swarm packages, align versions, and update cross-dependencies"
Setting up automated issue tracking:
$github issue-tracker "Create and manage integration issues with automated progress tracking and swarm coordination"
Batch Operations
All GitHub modes support batch operations for maximum efficiency:
Parallel GitHub Operations Example:
[Single Message with BatchTool]:
Bash("gh issue create --title 'Feature A' --body '...'")
Bash("gh issue create --title 'Feature B' --body '...'")
Bash("gh pr create --title 'PR 1' --head 'feature-a' --base 'main'")
Bash("gh pr create --title 'PR 2' --head 'feature-b' --base 'main'")
TodoWrite { todos: [todo1, todo2, todo3] }
Bash("git checkout main && git pull")
Integration with ruv-swarm
All GitHub modes can be enhanced with ruv-swarm coordination:
// Initialize swarm for GitHub workflow
mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }
mcp__claude-flow__agent_spawn { type: "coordinator", name: "GitHub Coordinator" }
mcp__claude-flow__agent_spawn { type: "reviewer", name: "Code Reviewer" }
mcp__claude-flow__agent_spawn { type: "tester", name: "QA Agent" }
// Execute GitHub workflow with coordination
mcp__claude-flow__task_orchestrate { task: "GitHub workflow", strategy: "parallel" }
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: agent-github-modes3description: Agent skill for github-modes - invoke with $agent-github-modes Use when this capability is needed.4---56---7name: github-modes8description: Comprehensive GitHub integration modes for workflow orchestration, PR management, and repository coordination with batch optimization9tools: mcp__claude-flow__swarm_init, mcp__claude-flow__agent_spawn, mcp__claude-flow__task_orchestrate, Bash, TodoWrite, Read, Write10color: purple11type: development12capabilities:13 - GitHub workflow orchestration14 - Pull request management and review15 - Issue tracking and coordination16 - Release management and deployment17 - Repository architecture and organization18 - CI/CD pipeline coordination19priority: medium20hooks:21 pre: |22 echo "Starting github-modes..."23 echo "Initializing GitHub workflow coordination"24 gh auth status || (echo "GitHub CLI authentication required" && exit 1)25 git status > $dev$null || (echo "Not in a git repository" && exit 1)26 post: |27 echo "Completed github-modes"28 echo "GitHub operations synchronized"29 echo "Workflow coordination finalized"30---3132# GitHub Integration Modes3334## Overview35This document describes all GitHub integration modes available in Claude-Flow with ruv-swarm coordination. Each mode is optimized for specific GitHub workflows and includes batch tool integration for maximum efficiency.3637## GitHub Workflow Modes3839### gh-coordinator40**GitHub workflow orchestration and coordination**41- **Coordination Mode**: Hierarchical42- **Max Parallel Operations**: 1043- **Batch Optimized**: Yes44- **Tools**: gh CLI commands, TodoWrite, TodoRead, Task, Memory, Bash45- **Usage**: `$github gh-coordinator <GitHub workflow description>`46- **Best For**: Complex GitHub workflows, multi-repo coordination4748### pr-manager49**Pull request management and review coordination**50- **Review Mode**: Automated51- **Multi-reviewer**: Yes52- **Conflict Resolution**: Intelligent53- **Tools**: gh pr create, gh pr view, gh pr review, gh pr merge, TodoWrite, Task54- **Usage**: `$github pr-manager <PR management task>`55- **Best For**: PR reviews, merge coordination, conflict resolution5657### issue-tracker58**Issue management and project coordination**59- **Issue Workflow**: Automated60- **Label Management**: Smart61- **Progress Tracking**: Real-time62- **Tools**: gh issue create, gh issue edit, gh issue comment, gh issue list, TodoWrite63- **Usage**: `$github issue-tracker <issue management task>`64- **Best For**: Project management, issue coordination, progress tracking6566### release-manager67**Release coordination and deployment**68- **Release Pipeline**: Automated69- **Versioning**: Semantic70- **Deployment**: Multi-stage71- **Tools**: gh pr create, gh pr merge, gh release create, Bash, TodoWrite72- **Usage**: `$github release-manager <release task>`73- **Best For**: Release management, version coordination, deployment pipelines7475## Repository Management Modes7677### repo-architect78**Repository structure and organization**79- **Structure Optimization**: Yes80- **Multi-repo**: Support81- **Template Management**: Advanced82- **Tools**: gh repo create, gh repo clone, git commands, Write, Read, Bash83- **Usage**: `$github repo-architect <repository management task>`84- **Best For**: Repository setup, structure optimization, multi-repo management8586### code-reviewer87**Automated code review and quality assurance**88- **Review Quality**: Deep89- **Security Analysis**: Yes90- **Performance Check**: Automated91- **Tools**: gh pr view --json files, gh pr review, gh pr comment, Read, Write92- **Usage**: `$github code-reviewer <review task>`93- **Best For**: Code quality, security reviews, performance analysis9495### branch-manager96**Branch management and workflow coordination**97- **Branch Strategy**: GitFlow98- **Merge Strategy**: Intelligent99- **Conflict Prevention**: Proactive100- **Tools**: gh api (for branch operations), git commands, Bash101- **Usage**: `$github branch-manager <branch management task>`102- **Best For**: Branch coordination, merge strategies, workflow management103104## Integration Commands105106### sync-coordinator107**Multi-package synchronization**108- **Package Sync**: Intelligent109- **Version Alignment**: Automatic110- **Dependency Resolution**: Advanced111- **Tools**: git commands, gh pr create, Read, Write, Bash112- **Usage**: `$github sync-coordinator <sync task>`113- **Best For**: Package synchronization, version management, dependency updates114115### ci-orchestrator116**CI/CD pipeline coordination**117- **Pipeline Management**: Advanced118- **Test Coordination**: Parallel119- **Deployment**: Automated120- **Tools**: gh pr checks, gh workflow list, gh run list, Bash, TodoWrite, Task121- **Usage**: `$github ci-orchestrator <CI/CD task>`122- **Best For**: CI/CD coordination, test management, deployment automation123124### security-guardian125**Security and compliance management**126- **Security Scan**: Automated127- **Compliance Check**: Continuous128- **Vulnerability Management**: Proactive129- **Tools**: gh search code, gh issue create, gh secret list, Read, Write130- **Usage**: `$github security-guardian <security task>`131- **Best For**: Security audits, compliance checks, vulnerability management132133## Usage Examples134135### Creating a coordinated pull request workflow:136```bash137$github pr-manager "Review and merge feature$new-integration branch with automated testing and multi-reviewer coordination"138```139140### Managing repository synchronization:141```bash142$github sync-coordinator "Synchronize claude-code-flow and ruv-swarm packages, align versions, and update cross-dependencies"143```144145### Setting up automated issue tracking:146```bash147$github issue-tracker "Create and manage integration issues with automated progress tracking and swarm coordination"148```149150## Batch Operations151152All GitHub modes support batch operations for maximum efficiency:153154### Parallel GitHub Operations Example:155```javascript156[Single Message with BatchTool]:157 Bash("gh issue create --title 'Feature A' --body '...'")158 Bash("gh issue create --title 'Feature B' --body '...'")159 Bash("gh pr create --title 'PR 1' --head 'feature-a' --base 'main'")160 Bash("gh pr create --title 'PR 2' --head 'feature-b' --base 'main'")161 TodoWrite { todos: [todo1, todo2, todo3] }162 Bash("git checkout main && git pull")163```164165## Integration with ruv-swarm166167All GitHub modes can be enhanced with ruv-swarm coordination:168169```javascript170// Initialize swarm for GitHub workflow171mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }172mcp__claude-flow__agent_spawn { type: "coordinator", name: "GitHub Coordinator" }173mcp__claude-flow__agent_spawn { type: "reviewer", name: "Code Reviewer" }174mcp__claude-flow__agent_spawn { type: "tester", name: "QA Agent" }175176// Execute GitHub workflow with coordination177mcp__claude-flow__task_orchestrate { task: "GitHub workflow", strategy: "parallel" }178```179180---181> Converted and distributed by [TomeVault](https://tomevault.io/claim/ruvnet) — claim your Tome and manage your conversions.182<!-- tomevault:4.0:skill_md:2026-04-11 -->