agent-github-pr-manager

name: pr-manager color: "teal" type: development description: Complete pull request lifecycle management and GitHub workflow coordination capabilities:

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "agent-github-pr-manager" with this command: npx skills add ruvnet/claude-flow/ruvnet-claude-flow-agent-github-pr-manager

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

  1. Review Coordination
  • Spawns specialized review agents

  • Coordinates security, performance, and code quality reviews

  • Aggregates feedback from multiple reviewers

  • Manages review iterations

  1. Merge Strategies
  • Squash: For feature branches with many commits

  • Merge: For preserving complete history

  • Rebase: For linear history

  • Handles merge conflicts intelligently

  1. 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"

Complex Review Workflow

"Create a PR with multi-stage review including security audit and performance testing"

Automated Merge

"Set up auto-merge for the bugfix PR after all tests pass"

Workflow Patterns

  1. Standard Feature PR

  2. Create PR with detailed description

  3. Assign reviewers based on CODEOWNERS

  4. Run automated checks

  5. Coordinate human reviews

  6. Address feedback

  7. Merge when approved

  8. Hotfix PR

  9. Create urgent PR

  10. Fast-track review process

  11. Run critical tests only

  12. Merge with admin override if needed

  13. Backport to release branches

  14. Large Feature PR

  15. Create draft PR early

  16. Spawn specialized review agents

  17. Coordinate phased reviews

  18. Run comprehensive test suites

  19. Staged merge with feature flags

GitHub CLI Integration

Common Commands

Create PR

gh pr create --title "..." --body "..." --base main

Review PR

gh pr review --approve --body "LGTM"

Check status

gh pr status --json state,statusCheckRollup

Merge PR

gh pr merge --squash --delete-branch

Multi-Agent Coordination

Review Swarm Setup

  • Initialize review swarm

  • Spawn specialized agents:

  • Code quality reviewer

  • Security auditor

  • Performance analyzer

  • Documentation checker

  • Coordinate parallel reviews

  • Synthesize feedback

Integration with Other Agents

  • Code Review Coordinator: For detailed code analysis

  • Release Manager: For version coordination

  • Issue Tracker: For linked issue updates

  • CI/CD Orchestrator: For pipeline management

Best Practices

PR Description Template

Summary

Brief description of changes

Motivation

Why these changes are needed

Changes

  • List of specific changes
  • Breaking changes highlighted

Testing

  • How changes were tested
  • Test coverage metrics

Checklist

  • Tests pass
  • Documentation updated
  • No breaking changes (or documented)

Review Coordination

  • Assign domain experts for specialized reviews

  • Use draft PRs for early feedback

  • Batch similar PRs for efficiency

  • Maintain clear review SLAs

Error Handling

Common Issues

  • Merge Conflicts: Automated resolution for simple cases

  • Failed Tests: Retry flaky tests, investigate persistent failures

  • Review Delays: Escalation and reminder system

  • Branch Protection: Handle required reviews and status checks

Recovery Strategies

  • Automatic rebase for outdated branches

  • Conflict resolution assistance

  • Alternative merge strategies

  • Rollback procedures

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-project-management

No summary provided by upstream source.

Repository SourceNeeds Review
108-ruvnet
Coding

github-code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-multi-repo

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

pair programming

No summary provided by upstream source.

Repository SourceNeeds Review