review-before-commit
Review BiteCampus changes for correctness, security, tests, scope and Git hygiene, then propose a commit for the owner to approve.
Files1
View on GitHubSKILL.md.claude/skills/review-before-commit/SKILL.md
GitHubPre-commit review
git status --shortandgit diff(staged and unstaged).- Block if you find:
.envor secrets, real student data,node_modules/build output, debug logs, unrelated reformatting, unapproved dependencies. - Check authorisation on every new route and ownership checks in services.
- Check database constraints and transactions for any state change.
- Run typecheck, lint and tests; show the results.
- Report findings: Must-fix / Should-fix / Nice-to-have, with file:line.
- Propose a conventional commit message (e.g.
feat(booking): idempotent automatic daily booking) with no Co-Authored-By or tool trailers. - Show the exact PowerShell commands the owner can run, or wait for "commit it". Never push.