code-quality
Installation
SKILL.md
Code Quality
Review the diff the way a senior reviewer on this client would, then fix what's real. Findings must be specific (file:line + why + fix), and ranked so the dev fixes the important ones first.
Step 1: Get the diff and the context
git fetch origin
git diff origin/main...HEAD --stat
git diff origin/main...HEAD
Use the repo's default branch if it isn't main. Also read: the ticket/PRD (to check scope), the repo map's "How we do X here" section, and any CONTRIBUTING.md / CODING_STANDARDS.md. A documented house rule always beats the generic advice below.
Step 2: Run the tools first
Run whatever the project has configured, so you don't spend review time on things a linter catches: pre-commit run --from-ref origin/main --to-ref HEAD, or ruff/black/isort/flake8/mypy directly, plus: