Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Review code changes with the Security Review subagent. Computes diffs, launches a security-review subagent, and summarizes findings by severity. Use when the user asks to run /review-security or wants a security-focused code review.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 82% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -29% | 0% |
Use this skill when the user asks to run /review-security.
Launch exactly one security-review subagent with:
readonly: truerun_in_background: false unless explicitly asked to run in backgrounddescription: "Security Review"subagent_type: "security-review"The review subagent computes the local diff from the repository path, so do not compute the diff yourself before launching it. The repository path should be the active workspace or repository root for the code the user wants reviewed.
By default, the review subagent infers the repository's actual base branch, such as main, when computing branch changes. In most cases, do not provide Base Branch. Only provide it if you know the current branch or PR should be compared against a specific branch other than the repository's default base branch, such as when you created the current branch from another branch.
Special case: if the user explicitly asks to review a specific PR or branch, make sure that target is checked out before launching the subagent:
github.com/... /review, review {link}, or review {branch-name}.Use this exact prompt shape:
textFull Repository Path: <absolute repository path> Diff: <one of: "branch changes", "uncommitted changes"> Base Branch: <only include this line when reviewing branch changes against a known specific base branch> Custom Instructions: <only include this line when the user gave specific review instructions>
Default to branch changes, which reviews branch changes against the merge-base with the default/base branch, including committed, staged, and unstaged changes. If the user asks to review only uncommitted, local working tree, dirty, or not-yet-committed changes, use uncommitted changes.
If the review subagent fails before producing findings, inspect the failure text.
Full Repository Path, missing Diff, wrong prompt shape, or wrong subagent type, correct the invocation and retry it once immediately.After the subagent finishes, summarize the result:
file:line.Do not fix findings or rerun review unless the user explicitly asks for that next step.
Other measured skills in the registry, with their headline benchmark lift.