Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By deployhq Verified Orgv1.0.0MIT
Fix PR issues from review comments, test failures, and missing docs
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Fix PR issues (review comments, test failures, missing docs) using Claude Code. Works as both a local CLI plugin and a reusable GitHub Action.
claude plugin install deployhq/claude-fix-pr
Then in any repo with a PR:
/fix-pr # fixes current branch's PR
/fix-pr 123 # fixes PR #123
Add .github/workflows/fix-pr.yml to your repo:
name: Fix PR
on:
check_suite:
types: [completed]
issue_comment:
types: [created]
jobs:
fix-pr:
uses: deployhq/claude-fix-pr/.github/workflows/fix-pr.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
That's it. The action will:
/fix-pr on a PRflowchart TD
A["/fix-pr comment on PR"] --> B["React with eyes emoji"]
C["CI fails on PR branch"] --> D{Protected branch?}
B --> D
D -- Yes --> E["Skip — refuse to modify"]
D -- No --> F["Gather PR context via gh CLI"]
F --> G["Review comments"]
F --> H["CI failure logs"]
F --> I["Documentation feedback"]
F --> J["PR diff"]
G & H & I & J --> K["Fill prompt template"]
K --> L["Run Claude Code with scoped tools"]
L --> M{Changes made?}
M -- Yes --> N["Reply to each addressed comment"]
N --> O["Commit & push fixes"]
O --> Q["Post summary comment on PR"]
M -- No --> P["Comment: no issues found"]
gh CLIgh apiclaude-fix-pr[bot]gh) — authenticatedANTHROPIC_API_KEY — set as environment variable (local) or GitHub secret (CI).claude-plugin/plugin.json — Plugin metadata
commands/fix-pr.md — Local /fix-pr slash command
agents/pr-fixer.md — Subagent for complex fixes
scripts/gather-pr-context.sh — Context gathering (shared by CLI and CI)
prompt-template.md — Prompt template (shared by CLI and CI)
.github/workflows/fix-pr.yml — Reusable GitHub Action workflow
The reusable workflow responds to check_suite (auto) and issue_comment (manual). To limit triggers, override in your calling workflow:
on:
issue_comment:
types: [created] # manual only — no auto-trigger on CI failure
jobs:
fix-pr:
uses: deployhq/claude-fix-pr/.github/workflows/fix-pr.yml@main
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
The workflow allows Claude to run common test commands (bin/rspec, rubocop, go test, yarn test, npm test). To add more, fork the workflow and extend the --allowedTools list.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (deployhq/claude-fix-pr) — no native marketplace selected
npx claudepluginhub p/deployhq-fix-prPlugins from other owners that cover similar ground