security-review
Installation
SKILL.md
Review the change adversarially — assume the diff is hostile until proven safe. Report only findings you can tie to a concrete failure scenario; do not pad with generic advice.
Scope the diff
- Establish the base:
git diff <base>...HEADfor a branch,gh pr diff <n>for a PR, orgit difffor the working tree. Read enough surrounding context to judge each hunk — never review a hunk in isolation. - If the change is large, fan out: one reviewer per trust boundary (auth, input parsing, secrets, CI/exec, file I/O), then dedupe. A single pass misses cross-cutting issues.