Review changes for implicit contracts, duplicated security rules, invalid states, oversized modules and validation or errors handled away from their boundary.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Security Review?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/naidx0-security-review)
---
name: security-review
description: Review changes for implicit contracts, duplicated security rules, invalid states, oversized modules and validation or errors handled away from their boundary.
---
# Security review
Adapted from `.agents/skills/code-smells/SKILL.md`.
Review only the changed code. Check for:
- Implicit coupling through shared strings, field order or side effects. Prefer a named type or shared function.
- Duplicated rules that must change together. Keep one source of truth.
- Illegal combinations of flags or options. Represent valid states with an enum or tagged union.
- A god file or shotgun surgery. Group behavior by feature and reason to change.
- Pass-through wrappers. Call the underlying operation directly.
- Validation performed deep inside, or errors swallowed and re-thrown as strings. Validate at input boundaries and handle typed errors once.
For each finding, state where it occurs, why it matters here, and the smallest fix. Fix only what this change touches; note other findings. Keep the test-first rule.