security-review/SKILL.md
Security review
SKILL.md lists threat checks, dependency scan, and secret-handling rules for each PR.
When to trigger (SKILL.md description)
Before merge or when reviewing auth, payments, or external APIs
Steps in the skill body
- Map trust boundaries and new external calls in the diff.
- Check authz, input validation, and secret handling (no keys in logs).
- Run dependency audit; note CVEs and mitigations.
- Summarize findings by severity with concrete file references.
Sample SKILL.md
---
name: security-review
description: Use before merge or when changes touch auth, payments, or external APIs.
---
# Security review
- List new endpoints and data flows.
- Verify least-privilege and input validation.
- Scan dependencies; flag hardcoded secrets.
- Output: severity, file:line, recommended fix.Where to install
Add `security-review/SKILL.md` under your project or user skills directory for Cursor or Claude Code.
Platform guides: Cursor · Claude Code