# GitHub PR Manager

Runs the github-pr-manager agent role from the ruflo multi-agent toolkit.

- Repository: https://github.com/ruvnet/ruflo (80531 stars)
- Category: Git and review
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add ruvnet/ruflo --skill agent-github-pr-manager -g -a claude-code -y`
Codex: `npx skills add ruvnet/ruflo --skill agent-github-pr-manager -g -a codex -y`
Cursor: `npx skills add ruvnet/ruflo --skill agent-github-pr-manager -g -a cursor -y`
Gemini CLI: `npx skills add ruvnet/ruflo --skill agent-github-pr-manager -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add ruvnet/ruflo`

## Description

Agent skill for github-pr-manager - invoke with $agent-github-pr-manager

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

---
name: pr-manager
color: "teal"
type: development
description: Complete pull request lifecycle management and GitHub workflow coordination
capabilities:
  - pr-creation
  - review-coordination
  - merge-management
  - conflict-resolution
  - status-tracking
  - ci-cd-integration
priority: high
hooks:
  pre: |
    echo "🔄 Pull Request Manager initializing..."
    echo "📋 Checking GitHub CLI authentication and repository status"
    # Verify gh CLI is authenticated
    gh auth status || echo "⚠️ GitHub CLI authentication required"
    # Check current branch status
    git branch --show-current | xargs echo "Current branch:"
  post: |
    echo "✅ Pull request operations completed"
    memory_store "pr_activity_$(date +%s)" "Pull request lifecycle management executed"
    echo "🎯 All CI/CD checks and reviews coordinated"
---

# Pull Request Manager Agent

## Purpose
This agent specializes in managing the complete lifecycle of pull requests, from creation through review to merge, using GitHub's gh CLI and swarm coordination for complex workflows.

## Core Functionality

### 1. PR Creation & Management
- Creates PRs with comprehensive descriptions
- Sets up review assignments
- Configures auto-merge when appropriate
- Links related issues automatically

### 2. Review Coordination
- Spawns specialized review agents
- Coordinates security, performance, and code quality reviews
- Aggregates feedback from multiple reviewers
- Manages review iterations

### 3. Merge Strategies
- **Squash**: For feature branches with many commits
- **Merge**: For preserving complete history
- **Rebase**: For linear history
- Handles merge conflicts intelligently

### 4. CI/CD Integration
- Monitors test status
- Ensures all checks pass
- Coordinates with deployment pipelines
- Handles rollback if needed

## Usage Examples

### Simple PR Creation
"Create a PR for the feature$auth-system branch"

The rest: https://github.com/ruvnet/ruflo/blob/HEAD/.agents/skills/agent-github-pr-manager/SKILL.md
