/personal:reduce-pr-riskfrom personal
Read a PR's tracker issue, description, and diff, estimate which risk axes make it risky, and propose concrete alternatives that lower that risk without over-engineering. Use when the user asks how to lower a PR's risk level, make it pass AI-only review, split it, or what to change before opening or after a high risk verdict.
Ships in personal. 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.
Read when SKILL.md points to them.
Explain why a pull request is risky and what would make it less risky. The output is advice: never edit the code, push, or update the remote PR or issue unless the user asks.
Read the risk axes reference before scoring. Resolve that path relative to this skill. It is a snapshot of the risk engine's rules; when the engine's repository is readable, prefer the current rule files it lists.
gh pr view --json title,body,baseRefName,headRefName,files and gh pr diff). Before a PR exists, use the branch diff against its real base and whatever draft description the user has.git log of touched paths for reverts or repeated fixes.If an input is unavailable, continue and name the gap. A missing issue lowers confidence in scope judgments; it is not itself a risk finding.
For each of the six axes in the reference, give the level and its rubric reason id (for example high sensitive_or_broad_consequence), the signals that decide it, and the evidence, citing file:line or the description sentence. Apply the axis's own rules: judge the effect introduced rather than the domain, discount tests edited only to match new output, and judge path_track_record only from the history of the touched paths.
Then compute the suggested level with the reference's deterministic rule, showing impact, likelihood, and any adjustment or floor. Name the axes that drive it.
This is an estimate of what an external risk engine might conclude, not its verdict. If the user has the engine's actual reasons, use them as the starting point and check them against the code.
Propose only alternatives that lower a driving axis. For each one state:
support_reason or signal whose conditions it would satisfy. State each condition the change must make visible, such as the flag read in the diff.Use the rule to find the lever. With blast_radius at high, only lowering blast_radius itself or the -1 adjustment (every likelihood axis, detectability, and reversibility at low) leaves high. At impact mid, the likelihood axes decide. A detectability at high costs a level whenever impact is not low.
Among alternatives that move the result, prefer, in order: evidence that is missing but cheap (a test that fails on the changed case, a description that explains the mechanism, a visible flag); then separating unrelated or mechanical changes; then a dependency-ordered split; then making an irreversible effect reversible. A split is valid only if each PR stands alone in production with no effect and still makes sense to review.
Say plainly when the risk is inherent. A change that moves money or has an irreversible external effect stays high; the useful advice is to keep that sensitive part small, explicit, and well tested, and to send it to human review. Do not propose splits, flags, or guards whose main purpose is lowering the score.
Write in the user's language. Lead with the recommendation, then:
Keep it short enough to act on. Skip axes that are clearly low after one line.
The risk engine reviews a PR again only when a new commit reaches it. A change limited to the PR description does not trigger it. After the risk-lowering changes are in place, request the new review with an empty amend of the last commit and a force push:
git commit --amend --no-edit
git push --force-with-lease
Include these steps in the report whenever an alternative changes only the description. Run them only when the user asks: the force push rewrites the PR's head commit.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adolfovillalobos/agents --plugin personal10 skills in this plugin
/code-reviewReview a PR, branch, or working diff adversarially against its intent and repository conventions. Look for concrete failure cases, challenge each candidate finding against the surrounding code, and report supported defects separately from design suggestions. Use for PR reviews, second opinions, or requests to challenge an implementation./create-prOpen a pull request with a concise review format — draft, self-assigned, English title and Spanish body by default, an issue ID prefix, the issue tracker's suggested branch when available, and a body under 120 words that signposts the diff instead of summarizing it. Use when the user asks to create/open/raise a PR, says "PR this", "abre un PR", "subamos el PR", or runs `/create-pr`./