code-review
Installation
SKILL.md
Code review — pre-commit validation
Apply on every pull request review. These checks are blocking. Do not approve a PR until all pass or the author has addressed failures.
Review checklist (run every time)
| # | Gate | Command | On failure |
|---|---|---|---|
| 1 | Commit messages | printf '%s' "$MSG" | pnpm exec commitlint per commit |
Blocking comment + suggested fix |
| 2 | Workspace | test -f node_modules/.modules.yaml |
Request pnpm install |
| 3 | Lint | pnpm run lint |
Blocking; suggest pnpm run lint:fix |
| 4 | Format | pnpm run fmt:check |
Blocking; suggest pnpm run fmt |
Run all commands from the repo root after pnpm install.
Commit messages (commitlint)
Every commit must follow Conventional Commits per commitlint.config.ts (@commitlint/config-conventional).