| name | diff-check |
| description | Author's cleanup checklist before committing or submitting a PR. Use before any commit or PR to ensure code is clean, focused, and ready for review. Checks for debug code, secrets, redundant changes, and scope creep. |
Diff Check
Perform routine cleanup and validation before committing code or submitting a PR.
When to Use
- Before any
git commit
- Before marking a PR ready for review
- After implementing changes, before requesting review
Checklist
1. Scope & Focus
2. Code Cleanup
3. Security
4. Consistency
5. Plan Alignment
6. Branch Health (PR only)
Process
- Review all staged/modified files
- Walk through checklist above
- Report any issues found with recommended fixes
- Do NOT make changes automatically—report for human confirmation
Output Format
[DIFF CHECK COMPLETE]
Files reviewed: [N]
Issues found: [M]
Critical:
- [file:line] [issue description]
Warnings:
- [file:line] [issue description]
Suggestions:
- [recommendation]
Status: [READY / NEEDS FIXES]