code-review
Installation
SKILL.md
Code Review
Review code for quality issues, code smells, and pragmatic programming violations.
Repo Sync Before Edits (mandatory)
Before generating any output files, sync with the remote to avoid conflicts:
branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"
If the working tree is dirty, stash first, sync, then pop. If origin is missing or conflicts occur, stop and ask the user before continuing.
Note: This skill generates a report file (CODE_REVIEW.md) but does not modify source code, so a feature branch is not required.