# pr-manager

pr-manager coordinates pull request reviews, tests, and merge work through GitHub tools and a swarm of agents. It can also reuse patterns saved from earlier PR tasks.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 850 repo stars
- Author: ruvnet
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ruvnet/agentic-flow/tree/HEAD/agentic-flow/.claude/agents/github/pr-manager.md
- Updated: 2026-10-26
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/pr-manager

## What it does

pr-manager splits pull request work across agents. It can coordinate code reviews, run checks, track PR status, and help resolve conflicts or choose a merge strategy. GitHub tasks use tools for PR management, code review, and metrics; swarm tools handle agent coordination and task orchestration.

A pre-task hook checks `gh` authentication, Git status, and open pull requests, then runs `npm test`. GitHub CLI authentication is required for this check to pass. The agent searches stored patterns for similar work and records outcomes for later use; after a successful task, it can train a pattern through `claude-flow`.

To install it in Claude Code, place the agent file at `.claude/agents/pr-manager.md`. Its tool list includes `mcp__claude-flow__...` and `mcp__agentic-flow__...` tools, which are needed for the described swarm coordination and pattern storage.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/pr-manager.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/pr-manager.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/pr-manager.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ruvnet/agentic-flow/tree/HEAD/agentic-flow/.claude/agents/github/pr-manager.md

## When to use it
- coordinate several reviewers on a pull request
- run PR checks and tests before merging
- find related changes and potential conflicts
- save a successful PR workflow for later tasks

## Example prompts
- Review the open pull request, run the tests, and prepare a merge recommendation.
- Coordinate agent reviews for these changes and check for likely conflicts.
- Check the current branch’s PR status and save the outcome for future tasks.

## Similar
- [detailed-pr-description](https://affpapa.org/en/nevibecode/skills/detailed-pr-description.md) — skill · 800 installs
- [iterate-pr](https://affpapa.org/en/nevibecode/skills/iterate-pr.md) — skill · 4800 installs
- [antfu-create-pr](https://affpapa.org/en/nevibecode/skills/antfu-create-pr.md) — skill · 919 installs
- [review-pr](https://affpapa.org/en/nevibecode/skills/fatih-c-akyon-review-pr.md) — skill · ★ 1216 repo stars
- [gh-stack](https://affpapa.org/en/nevibecode/skills/gh-stack.md) — skill · 21500 installs
- [autofix](https://affpapa.org/en/nevibecode/skills/autofix.md) — skill · 12100 installs

From the same set: [ruvnet/agentic-flow](https://affpapa.org/en/nevibecode/by/ruvnet/agentic-flow.md) — 76 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
