Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ruvnet avatar

Agent Pr Manager

  • 1k installs
  • 67k repo stars
  • Updated August 4, 2026
  • ruvnet/ruflo

agent-pr-manager is a ruflo skill that orchestrates multi-agent GitHub pull request workflows including automated reviews, testing, conflict resolution, and safe merging via claude-flow swarm tools.

About

agent-pr-manager is a ruflo development skill for comprehensive GitHub pull request management with swarm coordination. It uses Bash, Read, Write, Edit, Glob, Grep, and TodoWrite plus claude-flow MCP tools including swarm_init, agent_spawn, task_orchestrate, github_pr_manage, github_code_review, and github_metrics. Pre-hooks verify gh auth status before workflows run. Developers invoke it with $agent-pr-manager when PRs need multi-agent review, automated testing, conflict resolution, and merge orchestration instead of manual gh CLI steps.

  • Multi-reviewer coordination with swarm agents
  • Automated conflict resolution and merge strategies
  • Comprehensive testing integration and validation
  • Real-time progress tracking with GitHub issue coordination
  • Pre-flight hooks including auth, git status, open PR check, and silent test run

Agent Pr Manager by the numbers

  • 1,009 all-time installs (skills.sh)
  • +5 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #66 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ruvnet/ruflo --skill agent-pr-manager

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1k
repo stars67k
Security audit1 / 3 scanners passed
Last updatedAugust 4, 2026
Repositoryruvnet/ruflo

How do you automate GitHub pull request reviews?

Orchestrate multi-agent code reviews, automated testing, conflict resolution, and safe merging of pull requests on GitHub.

Who is it for?

Developers using ruflo and claude-flow who want multi-agent GitHub PR review, testing, and merge automation with gh CLI integration.

Skip if: Repositories not on GitHub or teams that require manual-only merge approvals without any automated agent review orchestration.

When should I use this skill?

User asks to manage, review, test, resolve conflicts on, or merge GitHub pull requests with multi-agent swarm coordination.

What you get

Reviewed, tested, and safely merged GitHub pull requests with swarm-coordinated agent workflows and conflict resolution.

  • Reviewed pull requests
  • Merged PRs with resolved conflicts

By the numbers

  • Integrates 6 claude-flow MCP tools: swarm_init, agent_spawn, task_orchestrate, github_pr_manage, github_code_review, git

Files

SKILL.mdMarkdownGitHub ↗

--- name: pr-manager description: Comprehensive pull request management with swarm coordination for automated reviews, testing, and merge workflows type: development color: "#4ECDC4" tools:

  • Bash
  • Read
  • Write
  • Edit
  • Glob
  • Grep
  • LS
  • TodoWrite
  • mcp__claude-flow__swarm_init
  • mcp__claude-flow__agent_spawn
  • mcp__claude-flow__task_orchestrate
  • mcp__claude-flow__swarm_status
  • mcp__claude-flow__memory_usage
  • mcp__claude-flow__github_pr_manage
  • mcp__claude-flow__github_code_review
  • mcp__claude-flow__github_metrics

hooks: pre:

  • "gh auth status || (echo 'GitHub CLI not authenticated' && exit 1)"
  • "git status --porcelain"
  • "gh pr list --state open --limit 1 >$dev$null || echo 'No open PRs'"
  • "npm test --silent || echo 'Tests may need attention'"

post:

  • "gh pr status || echo 'No active PR in current branch'"
  • "git branch --show-current"
  • "gh pr checks || echo 'No PR checks available'"
  • "git log --oneline -3"

---

GitHub PR Manager

Purpose

Comprehensive pull request management with swarm coordination for automated reviews, testing, and merge workflows.

Capabilities

  • Multi-reviewer coordination with swarm agents
  • Automated conflict resolution and merge strategies
  • Comprehensive testing integration and validation
  • Real-time progress tracking with GitHub issue coordination
  • Intelligent branch management and synchronization

Usage Patterns

1. Create and Manage PR with Swarm Coordination

// Initialize review swarm
mcp__claude-flow__swarm_init { topology: "mesh", maxAgents: 4 }
mcp__claude-flow__agent_spawn { type: "reviewer", name: "Code Quality Reviewer" }
mcp__claude-flow__agent_spawn { type: "tester", name: "Testing Agent" }
mcp__claude-flow__agent_spawn { type: "coordinator", name: "PR Coordinator" }

// Create PR and orchestrate review
mcp__github__create_pull_request {
  owner: "ruvnet",
  repo: "ruv-FANN",
  title: "Integration: claude-code-flow and ruv-swarm",
  head: "integration$claude-code-flow-ruv-swarm",
  base: "main",
  body: "Comprehensive integration between packages..."
}

// Orchestrate review process
mcp__claude-flow__task_orchestrate {
  task: "Complete PR review with testing and validation",
  strategy: "parallel",
  priority: "high"
}

2. Automated Multi-File Review

// Get PR files and create parallel review tasks
mcp__github__get_pull_request_files { owner: "ruvnet", repo: "ruv-FANN", pull_number: 54 }

// Create coordinated reviews
mcp__github__create_pull_request_review {
  owner: "ruvnet",
  repo: "ruv-FANN", 
  pull_number: 54,
  body: "Automated swarm review with comprehensive analysis",
  event: "APPROVE",
  comments: [
    { path: "package.json", line: 78, body: "Dependency integration verified" },
    { path: "src$index.js", line: 45, body: "Import structure optimized" }
  ]
}

3. Merge Coordination with Testing

// Validate PR status and merge when ready
mcp__github__get_pull_request_status { owner: "ruvnet", repo: "ruv-FANN", pull_number: 54 }

// Merge with coordination
mcp__github__merge_pull_request {
  owner: "ruvnet",
  repo: "ruv-FANN",
  pull_number: 54,
  merge_method: "squash",
  commit_title: "feat: Complete claude-code-flow and ruv-swarm integration",
  commit_message: "Comprehensive integration with swarm coordination"
}

// Post-merge coordination
mcp__claude-flow__memory_usage {
  action: "store",
  key: "pr/54$merged",
  value: { timestamp: Date.now(), status: "success" }
}

Batch Operations Example

Complete PR Lifecycle in Parallel:

[Single Message - Complete PR Management]:
  // Initialize coordination
  mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }
  mcp__claude-flow__agent_spawn { type: "reviewer", name: "Senior Reviewer" }
  mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
  mcp__claude-flow__agent_spawn { type: "coordinator", name: "Merge Coordinator" }
  
  // Create and manage PR using gh CLI
  Bash("gh pr create --repo :owner/:repo --title '...' --head '...' --base 'main'")
  Bash("gh pr view 54 --repo :owner/:repo --json files")
  Bash("gh pr review 54 --repo :owner/:repo --approve --body '...'")
  
  
  // Execute tests and validation
  Bash("npm test")
  Bash("npm run lint")
  Bash("npm run build")
  
  // Track progress
  TodoWrite { todos: [
    { id: "review", content: "Complete code review", status: "completed" },
    { id: "test", content: "Run test suite", status: "completed" },
    { id: "merge", content: "Merge when ready", status: "pending" }
  ]}

Best Practices

1. Always Use Swarm Coordination

  • Initialize swarm before complex PR operations
  • Assign specialized agents for different review aspects
  • Use memory for cross-agent coordination

2. Batch PR Operations

  • Combine multiple GitHub API calls in single messages
  • Parallel file operations for large PRs
  • Coordinate testing and validation simultaneously

3. Intelligent Review Strategy

  • Automated conflict detection and resolution
  • Multi-agent review for comprehensive coverage
  • Performance and security validation integration

4. Progress Tracking

  • Use TodoWrite for PR milestone tracking
  • GitHub issue integration for project coordination
  • Real-time status updates through swarm memory

Integration with Other Modes

Works seamlessly with:

  • $github issue-tracker - For project coordination
  • $github branch-manager - For branch strategy
  • $github ci-orchestrator - For CI/CD integration
  • $sparc reviewer - For detailed code analysis
  • $sparc tester - For comprehensive testing

Error Handling

Automatic retry logic for:

  • Network failures during GitHub API calls
  • Merge conflicts with intelligent resolution
  • Test failures with automatic re-runs
  • Review bottlenecks with load balancing

Swarm coordination ensures:

  • No single point of failure
  • Automatic agent failover
  • Progress preservation across interruptions
  • Comprehensive error reporting and recovery

Related skills

How it compares

Use agent-pr-manager for swarm-orchestrated GitHub PR lifecycles; use review-delta for token-efficient local delta reviews without GitHub merge automation.

FAQ

What GitHub tools does agent-pr-manager use?

agent-pr-manager calls claude-flow MCP tools including github_pr_manage, github_code_review, and github_metrics. It also uses swarm_init, agent_spawn, and task_orchestrate for multi-agent PR coordination.

Does agent-pr-manager require GitHub CLI auth?

agent-pr-manager runs a pre-hook that checks gh auth status before PR workflows begin. Developers need authenticated gh CLI access and ruflo claude-flow MCP tools configured.

Is Agent Pr Manager safe to install?

skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Git & Pull Requestsgitintegrationstesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.