pr-review-fix

pr-review-fix is a skill for Claude Code from TencentCloudBase/CloudBase-AI-Toolkit. It costs 66 tokens per session (1,031 once invoked), scanned A, original, MIT.

A workflow for inspecting open GitHub pull requests, which are proposed sets of code changes, and fixing failed checks or requested review changes.

In plain words
What is it for?
Use it to check PR health, diagnose failed builds or tests, respond to reviewer comments, and prepare fixes on PR branches. It does not merge pull requests or create new features.
Why use it?
It gathers CI failures, review feedback, conflicts, and quality issues in one pass so problems across several pull requests are not missed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cloudbase-ai-toolkit plugin — 49 skills, 3 commands, 4 agents, 2 MCP servers, 2 plugins shipped together

Good fit Use it to check PR health, diagnose failed builds or tests, respond to reviewer comments, and prepare fixes on PR branches. It does not merge pull requests or create new features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix
About the project

CloudBase AI Toolkit is an integration layer that lets AI coding tools use Tencent CloudBase as an application backend, including databases, authentication, functions, storage, and deployments. Developers use it to have coding agents build and operate CloudBase-backed applications through skills, plugins, commands, and chat-accessible tools. The catalogue entries are the toolkit’s own skills, agents, hooks, plugins, rules, instructions, and MCP tools.

TencentCloudBase/CloudBase-AI-Toolkit · 1,103 stars · on GitHub · docs.cloudbase.net

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill pr-review-fix
Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit

Made for: Claude Code.

Or install cloudbase-ai-toolkit, the plugin that ships this one along with the rest of its 49 skills, 3 commands, 4 agents, 2 MCP servers, 2 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-review-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix/github.svg)](https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix)
Your own site
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-review-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/pr-review-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,031 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01031
Opus 5 $0.00033 $0.00515
Sonnet 5 $0.00013 $0.00206
Haiku 4.5 $0.00007 $0.00103

Measured 9d ago against content hash bbc873140b79, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pr-review-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pr-review-fix/SKILL.md · 112 lines

How it starts

The opening of the file, as written. The whole thing — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PR Review & Fix

Systematically analyze open pull requests for CI failures, code review feedback, and code quality issues — then fix them efficiently.

When to use this skill

Use this skill when you need to:

  • Check the status of all open PRs (CI, reviews, conflicts)
  • Triage and fix CI build/test failures on PR branches
  • Address code review feedback (reviewer comments, requested changes)
  • Run a scheduled health check across all open PRs
  • Fix multiple PRs in a single session without losing context

Do NOT use for:

  • Creating new PRs or new features
  • Merging PRs (that's a manual decision)
  • General code refactoring unrelated to PR feedback
  • Reviewing code as a reviewer (this skill is for responding to reviews)

Workflow

Phase 1 — Discovery

  1. Read references/discovery.md for the full discovery procedure.
  2. Fetch the list of open PRs from GitHub:
    gh pr list --state open --json number,title,headRefName,statusCheckRollup,reviewDecision,mergeable --limit 30
    
  3. For each PR, classify its health status:
    • 🔴 CI Failed — at least one required check failed
    • 🟡 Changes Requested — reviewer left requested changes
    • 🟢 Healthy — CI passing + approved or no review yet
    • ⚪ Conflict — merge conflicts detected

Phase 2 — Triage

  1. Read references/triage.md for prioritization rules.
  2. Prioritize by severity: CI failures > review changes > conflicts.
  3. For each failing PR, identify root cause category:
    • Build error — TypeScript/webpack compilation failure
    • Test failure — vitest/jest test assertion or timeout
    • Lint/type error — ESLint, type-check, or format issues
    • Review feedback — code style, logic, security, or design concerns
  4. Present a summary table to the user before proceeding to fixes.

Phase 3 — Fix

  1. Read references/fix-workflow.md for the fix procedure.
  2. For each PR to fix (in priority order): a. Stash current work: git stash b. Check out the PR branch: git checkout -B <branch> github/<branch> c. Reproduce the issue locally (build, test, or lint) d. Apply the fix e. Verify locally: build → test → lint f. Commit with conventional-changelog format: fix(<scope>): 🔧 <description> g. Push: git push github <branch> h. Return to original branch: git checkout <original> && git stash pop
  3. After all fixes, present a completion summary.

Read the full file on GitHub · 112 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 112 lines · 66 tokens per session scan A bbc873140b79

Subscribe to this mod's changes

pr-review-fix is a skill published in the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit (1,103 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 1,031 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens

bridge

Use when the user wants hyperflow's behavioral rules to apply outside the terminal CLI — in Claude Code Desktop, claude.ai web, or IDE extensions that don't load CLI plugins. Writes a managed doctrine block into the project's CLAUDE.md so autonomy + intent-routing + commit cadence + role separation + file-first rules…

jeremylongshore/tons-of-skills-marketplace · 126 tokens

github-contributor

End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…

daymade/claude-code-skills · 133 tokens

revdiff

Review diffs, files, and documents with inline annotations in a TUI overlay, or answer questions about revdiff usage, configuration, themes, and keybindings. Opens revdiff in agterm/tmux/zellij/herdr/kitty/wezterm/cmux/ghostty/iterm2/emacs-vterm, captures annotations, and addresses them. Works in git, hg, and jj repos…

umputun/revdiff · 248 tokens