with one click
code-review
Security-focused code review before committing
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Security-focused code review before committing
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | code-review |
| description | Security-focused code review before committing |
| allowed-tools | Read, Grep, Glob |
Review code changes for security issues before committing.
This skill performs a security-focused code review to catch common vulnerabilities before they make it into the codebase. Run this before committing to self-check your changes.
When reviewing code, check for:
/code-review
Run this skill before committing to perform a self-check on your changes.
The skill will:
git diff[HIGH] src/api.py:42 - Hardcoded API key detected
โ Move to environment variable: os.getenv('API_KEY')
[MEDIUM] src/db.py:15 - SQL query uses string formatting
โ Use parameterized query: cursor.execute("SELECT * FROM users WHERE id = ?", (user_id,))
[LOW] src/utils.py:8 - Debug print statement
โ Remove before committing
Apply security fixes based on scan findings
Run ASH (Automated Security Helper) security scan with delta detection
Pre-commit self-validation for code quality and security