code-review-gate
Installation
SKILL.md
Code Review Gate
Run this skill before every commit to main or before approving a PR. It produces a structured review that catches common problems automatically.
When to Use
- Before merging any PR
- Before committing to main
- When asked "review this code" or "is this ready to ship?"
Steps
-
Identify changed files. Run
git diff --name-only main...HEAD(or equivalent). If no git repo, ask the user which files to review. -
For each changed file, check these categories: