/prbuddy:prbuddyfrom prbuddy
Monitors PR health by checking CI status and triaging review comments, then fixes issues and implements systematic prevention. Use when CI checks are failing, review comments are unresolved, or the user says "check my PR", "make PR green", "fix PR", "ready to merge", or "handle PR feedback".
Ships in prbuddy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
prbuddy helps agents monitor PR health by checking CI status and triaging review comments. It fixes immediate issues and implements systematic prevention measures.
Philosophy: "Fix the acute issue AND prevent the class of error from recurring."
Sub-skills:
prbuddy:ci - CI/workflow monitoring, failure diagnosis, fix + preventprbuddy:reviews - Review comment triage, fix critical, create issues for nitpicksVerify gh is installed and authenticated:
gh auth status
If not authenticated, run gh auth login.
Required token scopes:
repo - Full control of private repositories (for PR operations)read:org - Read org membership (for issue creation in org repos)workflow - Update GitHub Action workflows (for CI operations)To check scopes: gh auth status shows granted scopes.
This extension is required for review comment handling:
gh extension install agynio/gh-pr-review
Verify installation:
gh pr-review --help
The prbuddy:ci and prbuddy:reviews sub-skills can consult the team's PAL MCP server (mcp__pal__chat) for expert opinion on complex CI failures and review comment analysis. If PAL is unavailable, both sub-skills fall back to direct log analysis and code inspection without it.
gh pr view --json number,title,body,url,headRefName,closingIssuesReferences
If no PR found for current branch, ask user:
gh pr create/prbuddy 123gh pr checks --json name,state,bucket,link
If any checks failed: Route to prbuddy:ci
If checks pending: Report status and suggest checkpoint timing:
If all checks passed: Continue to reviews
Route to prbuddy:reviews
PR #42 Health Check Complete
CI: ✓ All checks passing
Reviews:
- 2 critical comments fixed (with prevention)
- 3 issues created from nitpicks
Ready for: [next action - request review / merge / etc.]
prbuddy:ci:
prbuddy:reviews:
prbuddy (full orchestrator):
prbuddy:ciprbuddy:reviewsNo PR found for current branch 'feature-xyz'.
Options:
1. Create a PR: gh pr create
2. Specify PR number: /prbuddy 123
3. Specify PR URL: /prbuddy https://github.com/owner/repo/pull/123
The gh-pr-review extension is required for review comment handling.
Install it:
gh extension install agynio/gh-pr-review
Then retry: /prbuddy:reviews
GitHub CLI is not authenticated.
Run: gh auth login
Then retry: /prbuddy
This skill assumes write access to the PR branch. For fork-based PRs:
Workaround: Ask the user to push changes manually or grant write access.
To preview changes without committing, tell the agent:
The agent will analyze and report proposed fixes without making changes.
What SKILL.md sets; muted values are Claude Code's defaults
prbuddy@2389-research is listed by 2389-research/claude-plugins — review the source before installing
npx claudepluginhub 2389-research/claude-plugins --plugin prbuddy3 skills in this plugin
/ciprbuddy:ciMonitors CI/workflow status for a PR, diagnoses failures, fixes the root cause, and adds systematic prevention. Use when CI checks are failing, builds are broken, tests are failing, or the user says "CI failing", "workflow failed", "checks red", or "rerun workflows"./reviewsprbuddy:reviewsTriages PR review comments by fixing critical ones (with systematic prevention) and converting nitpicks to tracked GitHub issues. Use when a PR has unresolved review comments, changes have been requested, or the user says "address feedback", "reviewer asked", "changes requested", or "triage reviews".