Add a security-review pass to every PR
언제 쓸까: Your PRs currently go straight from code-review to merge — no security eyes.
사전 조건
- Skills installed — git clone https://github.com/trailofbits/skills ~/.claude/skills/trailofbits
흐름
-
Scope the diffUse trailofbits/pr-review skill on the current PR. List files the skill thinks are security-relevant with reasons.✓ 복사됨→ Concrete file-by-file relevance reasons
-
Deep reviewFor each flagged file, run the appropriate domain skill (crypto, input-validation, auth). Report findings with severity.✓ 복사됨→ Severity-ranked list with code refs
-
Summary for reviewerWrite a 5-bullet PR comment summarizing the findings, non-scary but precise.✓ 복사됨→ Reviewer-friendly summary with exact line citations
결과: A security review comment on every PR that catches real issues without drowning you in false positives.
함정
- Skill flags style issues as security — Calibrate by prompting: "focus on exploitable issues only"