
Agent Github Pr Manager
Run the full GitHub pull request lifecycle—create, assign reviews, track CI, resolve conflicts, and merge—with gh CLI and optional swarm reviewers.
Overview
Agent-github-pr-manager is an agent skill most often used in Ship (also Build) that manages GitHub pull requests from creation through review to merge.
Install
npx skills add https://github.com/ruvnet/ruflo --skill agent-github-pr-managerWhat is this skill?
- End-to-end PR creation with descriptions, reviewers, auto-merge, and issue linking
- Pre-hook verifies gh auth status and current git branch
- Spawns specialized review agents for security, performance, and related checks
- Conflict resolution and status tracking across the PR lifecycle
- CI/CD integration and activity logging via memory_store on completion
Adoption & trust: 637 installs on skills.sh; 58.5k GitHub stars; 1/3 security scanners passed (skills.sh audits).
What problem does it solve?
You are ready to merge agent or human work but PR creation, reviews, CI status, and conflicts are eating your shipping time.
Who is it for?
Solo builders using GitHub CLI who want an agent to own PR hygiene and review orchestration on active repos.
Skip if: Repositories not on GitHub or environments where gh CLI cannot be authenticated and git write access is blocked.
When should I use this skill?
Invoke with $agent-github-pr-manager when managing pull request creation, review coordination, conflicts, or merge on a GitHub repository.
What do I get? / Deliverables
A managed PR with coordinated reviews, CI awareness, and merge path—logged for swarm memory after post-hooks complete.
- Created or updated GitHub pull request with description and linked issues
- Coordinated review and CI status toward merge or documented conflict resolution
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
PR management is canonically Ship/review, but the same skill supports late Build integration branches and Launch hotfix merges. Centers on review coordination and merge readiness rather than unit testing authoring or security scanning alone.
Where it fits
Open a PR from your feature branch, assign reviewers, and track CI until merge-ready.
Land an API change PR with linked issues after agent implementation on a long-lived branch.
Shepherd a release PR with coordinated checks before tagging a launch candidate.
How it compares
GitHub PR workflow agent skill, not a replacement for local test suites or static security scanners.
Common Questions / FAQ
Who is agent-github-pr-manager for?
Indie developers and agent-heavy teams on GitHub who need structured PR lifecycle management via gh and optional swarm reviewers.
When should I use agent-github-pr-manager?
In Ship/review when opening or shepherding a merge candidate; in Build/backend when landing integration PRs from agent-generated patches.
Is agent-github-pr-manager safe to install?
Review Security Audits on this page; the skill uses git and gh with network access—confirm scopes and branch protections before auto-merge.
SKILL.md
READMESKILL.md - 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 ### 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" ### 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 ```bash 1. Create PR with detailed description 2. Assign reviewers based on CODEOWNERS 3. Run automated checks 4. Coordinate human reviews 5. Address feedback 6. Merge when approved ``` ### 2. Hotfix PR ```bash 1. Create urgent PR 2. Fast-track review process 3. Run critical tests only 4. Merge with admin override if needed 5. Backport to release branches ``` ### 3. Large Feature PR ```bash 1. Create draft PR early 2. Spawn specialized review agents 3. Coordinate phased reviews 4. Run comprehensive test suites 5. Staged merge with feature flags ``` ## GitHub CLI Integration ### Common Commands ```bash # 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 1. Initialize review swarm 2. Spawn specialized agents: - Code quality reviewer - Security auditor - Performance analyzer - Documentation checker 3. Coordinate parallel reviews 4. 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 ```markdown ## 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) ``` #