prbuddy

v1.0.0

PR health assistant - monitors CI, triages review comments, fixes issues with systematic prevention. Uses gh CLI and gh-pr-review extension.

prpull-requestciworkflowreviewcommentsgithubgh
Install Command /plugin install prbuddy@2389-research
View Source
01

Documentation

Full plugin documentation and usage guide

prbuddy

PR health assistant for Claude Code agents. Monitors CI, triages review comments, fixes issues with systematic prevention.

Installation

/plugin install prbuddy@2389-research

Prerequisites

  1. gh CLI - Install and authenticate:
   gh auth login
   
  1. gh-pr-review extension - Required for review comments:
   gh extension install agynio/gh-pr-review
   

Skills

/prbuddy

Full PR health check. Runs CI check, then reviews.

User: /prbuddy
Agent: Checking PR #42...

CI: ✓ All checks passing
Reviews: 2 unresolved threads

[proceeds to handle reviews]

/prbuddy:ci

Direct CI monitoring and fixing.

User: /prbuddy:ci
Agent: Checking CI status...

❌ 1 of 4 checks failed: test

Fetching logs...
Diagnosing...
Fixing...
Adding prevention...

✓ Fix pushed. Monitor with: /prbuddy:ci

/prbuddy:reviews

Direct review comment handling.

User: /prbuddy:reviews
Agent: Fetching review comments...

Found 3 unresolved threads:
- [CRITICAL] Missing validation on user ID
- [NITPICK] Extract helper function
- [NITPICK] Typo in README

[fixes critical, creates issues for nitpicks]

Philosophy

"Fix the acute issue AND prevent the class of error from recurring."

Every fix includes systematic prevention (prefer higher):

  1. Linter rule - ESLint/Prettier/etc. (strongest)
  2. Pre-commit hook - .pre-commit-config.yaml
  3. CI check - Earlier/faster check
  4. Type system - Stricter TypeScript config
  5. Test - Add test for this case
  6. Documentation - CLAUDE.md guidance (weakest)

Checkpoint Discipline

Check CI at key moments (not continuously):

  • After push settles
  • Before requesting review
  • Before declaring done
  • Before merge

Links

02

Quick Install

Get started in seconds

1
Add the marketplace (if not already added) /plugin marketplace add 2389-research/claude-plugins
2
Install this plugin /plugin install prbuddy
3
You're good to go Skills auto-trigger when relevant
Back to Marketplace