Skip to content
Agentmart
Submit a tool

pr-shepherd

Use when a pull request needs one coordinated workflow covering review state, fixes, checks, branch updates, and merge readiness.

Skill by nexttylabs

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nexttylabs-pr-shepherd

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when a pull request needs one coordinated workflow covering review state, fixes, checks, branch updates, and merge readiness.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pr-shepherd

What's inside

Skill name
pr-shepherd
Description
Use when a pull request needs one coordinated workflow covering review state, fixes, checks, branch updates, and merge readiness.
License
MIT
Instructions
69 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# PR Shepherd

Use this skill when the user wants one workflow to handle a pull request from review through merge readiness.

## Preconditions

- `gh auth status` succeeds
- The PR belongs to the current repository
- `AGENTS.md` defines the quality gate for the project

## Phase 1: Situational Awareness

1. Read `AGENTS.md`.
2. Fetch PR metadata with `gh pr view`.
3. Determine:
   - review state
   - CI status
   - mergeability
   - unresolved comments
4. Check out the PR branch with `gh pr checkout`.

## Phase 2: Triage

If the PR already has review comments:
- fetch comments and reviews
- group them by concern
- classify them as code change, reply only, or user decision

If there are no comments or the user asked for a fresh review:
- read the changed files in full
- review for correctness, edge cases, security, tests, documentation, and architecture

## Phase 3: Fix

For each approved code change:
1. implement the fix
2. update tests if behavior changed
3. self-review the result

## Phase 4: Quality Gate

Run the checks defined in `AGENTS.md` in order. If a step fails, fix it and re-run.

## Phase 5: Push and Follow Through

1. Stage and commit the approved fixes.
2. Push when the user wants the branch updated.
3. Reply to resolved GitHub threads with a short explanation of what changed.
4. Watch CI and, if it fails, diagnose, fix, and repeat within a bounded retry loop.

## Phase 6: Merge Decision

Only recommend merge when:
- CI is green
- no blocking review comments remain
- the PR is mergeable
- the user explicitly wants to merge

## Output Format

Return these sections in order:

1. Current PR state
2. Triage summary
3. Applied fixes
4. Verification and CI status
5. Merge recommendation

From nexttylabs/kubebar, MIT.

More from nexttylabs/kubebar

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Apr 18, 2026 (6 months ago)
Last release
Oct 4, 2026 (24 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nexttylabs

Cite this page

pr-shepherd skill. Agent Mart. https://agentmart.dev/skills/nexttylabs-pr-shepherd (last updated 2026-10-24)