Gate pull requests with targeted diff-aware AI security review using Claude Code Security Review
Run a Claude Code powered security review pass on trusted pull requests so suspicious auth, secret, injection, and unsafe logic changes surface before merge.
Prerequisites
GitHub Actions, Claude API access, pull request workflows on trusted repositories
Installation
Choose whichever fits your setup:
- Copy this skill folder into your local skills directory.
- Clone the repo and symlink or copy the skill into your agent workspace.
- Add the repo as a git submodule if you manage shared skills centrally.
- Install it through your internal provisioning or packaging workflow.
- Download the folder directly from GitHub and place it in your skills collection.
Install command or upstream instructions:
Add anthropics/claude-code-security-review to a GitHub Actions workflow that runs on trusted pull_request events, then configure the Claude API secret and any optional scan or filtering inputs.