with one click
self-check
Pre-commit self-validation for code quality and security
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
Pre-commit self-validation for code quality and security
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
Apply security fixes based on scan findings
Run ASH (Automated Security Helper) security scan with delta detection
Security-focused code review before committing
| name | self-check |
| description | Pre-commit self-validation for code quality and security |
| allowed-tools | Read, Grep, Glob, Bash(git:*) |
Validate your changes before committing to ensure code quality and security standards are met.
This skill performs a comprehensive self-check on staged changes to catch issues before they are committed. It combines code quality checks with security validation.
/self-check
Run this skill before git commit to validate your changes.
=== Self-Check Results ===
Staged Files: 5
- src/handler.py
- src/utils.py
- tests/test_handler.py
- package.json
- README.md
[PASS] Syntax Check: All files parse correctly
[FAIL] Security Check: 2 issues found
- src/handler.py:25 - Potential SQL injection
- src/utils.py:10 - Hardcoded password
[PASS] Quality Check: No linting errors
[WARN] Coverage: New code in handler.py not covered by tests
Recommendation: Fix security issues before committing
This skill should be run: