code-review
Installation
SKILL.md
Security-Focused Code Review
Review current git changes with a focus on security issues and code quality.
Parse the user's input to determine scope:
$code-review→ review all changes (staged + unstaged)$code-review staged→ only staged changes$code-review unstaged→ only unstaged changes
Steps
-
Determine scope from user input (default: all)
- staged:
git diff --staged - unstaged:
git diff - all: both
git diffandgit diff --staged
- staged:
-
Run
git statusfor the full picture -
Read the full content of each changed file for context (not just the diff)