code-review
Installation
SKILL.md
Code Review
Review the code changes for compliance with project conventions defined in AGENTS.md files.
Instructions
-
Identify changed files - Determine what to review:
- If on a feature branch:
git diff main...HEADto see all changes vs main - If reviewing staged changes:
git diff --cached - If user specifies files in
$ARGUMENTS: review those directly
To list only changed file paths:
git diff main...HEAD --name-only - If on a feature branch:
-
Read and check each changed file against the relevant checklist below
-
Report violations with specific line numbers and fix suggestions
-
Praise compliant code briefly when patterns are followed correctly