Agent github modes

From ngophatneknha/ai-engineering-hub · View interactive version

Agent github modes is an AI agent skill from the GitHub repository ngophatneknha/ai-engineering-hub. Agent skill for github-modes - invoke with $agent-github-modes

How to use this skill

Skill file


name: github-modes

description: Comprehensive GitHub integration modes for workflow orchestration, PR management, and repository coordination with batch optimization

tools: mcpclaude-flowswarm_init, mcpclaude-flowagent_spawn, mcpclaude-flowtask_orchestrate, Bash, TodoWrite, Read, Write

color: purple

type: development

capabilities:

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

pr-manager

Pull request management and review coordination

issue-tracker

Issue management and project coordination

release-manager

Release coordination and deployment

Repository Management Modes

repo-architect

Repository structure and organization

code-reviewer

Automated code review and quality assurance

branch-manager

Branch management and workflow coordination

Integration Commands

sync-coordinator

Multi-package synchronization

ci-orchestrator

CI/CD pipeline coordination

security-guardian

Security and compliance 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 { agentType: "coordinator", name: "GitHub Coordinator" }
mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Code Reviewer" }
mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Agent" }

// Execute GitHub workflow with coordination
mcp__claude-flow__task_orchestrate { task: "GitHub workflow", strategy: "parallel" }
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.