/swe-skills:swe:pr-risk-reviewfrom swe-skills
Reviews open or draft pull requests for engineering risk before merge, focusing on missing validation, hidden coupling, rollout and rollback gaps, migrations, feature flags, and other agent-safe next actions. Use when a user says `review this PR for risk`, `pre-merge review`, `is this PR safe to merge`, or asks for a risk-focused PR review. Do NOT use for post-merge production monitoring, broad code smell review, or commit-scoped bug hunting.
Ships in swe-skills. 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.
Use this skill to review an open or draft pull request before merge and decide where the engineering risk is concentrated.
The expected outcome is a concise risk report that tells the user:
This skill is deliberately narrower than post-merge monitoring and bug hunting. It is about merge readiness, not production impact and not retrospective defect mining.
Use this skill when the user wants to:
Do not use this skill for:
Confirm or infer:
If the request is vague, ask for the PR link or number and the intended review focus before proceeding.
This skill is tool agnostic.
Use the strongest available evidence from:
Prefer the repository's own validation commands and only broaden if the local signals are insufficient.
Capture the PR number or link, title, merge target, and changed files.
If the user gave only a branch name or short description, resolve it to the specific PR before reviewing risk.
Inspect the diff and identify the concrete surfaces likely affected:
Keep the mapping short and concrete. Do not widen the scope beyond what the PR actually touches.
Assess what evidence exists for the change being safe:
Treat missing validation as a real risk signal when the PR changes behavior.
Look specifically for:
If the PR depends on an assumption outside the diff, say so explicitly.
Only report a finding when the evidence supports it.
Bucket observations into:
Do not inflate weak signals into firm findings.
For each strong or moderate finding, recommend one small next action such as:
Keep recommendations tightly scoped and reviewable.
Provide a report with these sections:
For each finding, include:
For each weak-signal observation, include:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (ckorhonen/swe-skills) — no native marketplace selected
npx claudepluginhub p/ckorhonen-swe-skills17 skills in this plugin
/swe:babysit-prBabysits an open pull request end-to-end by polling every minute, triaging new comments and reviews, handling CI failures, iterating on reviewer scores, and stopping only when the PR is ready to merge. Use when a user says `babysit this PR`, `watch this PR until it's merge-ready`, `handle review feedback on my PR`, or `keep iterating on this PR until reviewers are happy`. Do NOT use for a one-shot PR risk review, merged PR production monitoring, or repo-wide CI debugging with no scoped PR./swe:capture-knowledgeAudits a repository's code and docs to find important conventions, workflows, and architectural decisions that are missing from agent-facing guidance, then drafts review-ready updates. Use when a user says `capture repo knowledge`, `document implicit conventions`, `turn repo patterns into agent rules`, or asks what future agents should remember about a codebase. Do NOT use for a generic repo tour, onboarding walkthrough, or architecture summary that does not need reusable guidance updates./swe:change-validation-plannerPlans the narrowest trustworthy validation path for a scoped code change or diff. Use when a user asks what to run before merging, how to validate a specific change, whether the current checks are enough, or wants a bounded command order from narrow to broad. Do NOT use for writing tests, fixing the code change itself, broad QA sweeps, or generic debugging that needs root cause analysis./swe:create-skillCreates or revises `swe:` skills for this repository using a repeatable authoring workflow: define concrete use cases, tune trigger boundaries, apply progressive disclosure, add matching eval assets, and validate the package. Use when adding a new skill, tightening an existing skill that over- or under-triggers, or distilling an external workflow into a repo-ready skill. Do NOT use for generic documentation edits or for executing the workflow the skill would describe./swe:docs-drift-auditAudits a repository for human-facing or operational documentation that drifted from code, config, interfaces, workflows, or repo structure changes. Use when a user says `check docs drift`, `docs are stale`, `update the runbook after this change`, or `what documentation is missing after this change`. Do NOT use for agent-guidance updates, generic documentation rewrites, or writing docs without evidence that they are stale./swe:incident-followup-auditAudits post-incident engineering follow-through after a sev or incident to verify whether the durable follow-up happened: regression tests, monitors, docs, runbooks, ownership updates, tickets, rollback learnings, and remaining backlog. Use when a user asks whether incident follow-up is complete, what still needs to be done after a postmortem, or how to close the engineering loop. Do NOT use for live incident response, root-cause analysis, or a generic bug hunt unrelated to an incident.