shared/code-review/SKILL.md
The code-review skill defines review standards, checklists, and comment conventions that agents follow when reviewing pull requests to maintain code quality and knowledge sharing.
npx skillsauth add 7a336e6e/skills code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Catch defects, share knowledge, and maintain code quality through structured, timely reviews that focus on correctness, security, and maintainability.
Start by understanding the intent. Read the PR summary and linked task before looking at code. Then review the diff file by file, starting with tests to understand expected behavior.
Evaluate every PR against these categories:
Correctness
Security
Performance
Readability
Tests
For non-trivial changes, check out the branch and run the test suite. Verify at least one happy-path scenario manually if the change affects user-facing behavior.
git fetch origin
git checkout backend/TASK-042-password-reset
npm test # or pytest, cargo test, etc.
Prefix every review comment with a category tag so the author can prioritize:
| Prefix | Meaning |
|--------------|--------------------------------------------------|
| blocker: | Must fix before merge — correctness or security issue |
| suggestion:| Recommended improvement, open to discussion |
| question: | Clarification needed to complete the review |
| nit: | Minor style or preference — optional to address |
Examples:
blocker: This query concatenates user input directly into SQL.
Use parameterized queries to prevent injection.
suggestion: Consider extracting this validation into a shared
utility since the same pattern appears in three endpoints.
question: Is there a reason we're not using the existing
TokenService here? It handles expiry checks already.
nit: Trailing whitespace on line 47.
Prioritize your review based on what kind of change the PR introduces:
| Change Type | Focus On | |---------------|---------------------------------------------------| | API changes | Request validation, response shape, status codes, docs | | DB changes | Migrations reversibility, index coverage, data integrity | | Auth changes | Token handling, permission checks, session management | | UI changes | Accessibility, responsive behavior, loading states | | Dependencies | License compatibility, known vulnerabilities, bundle size |
Review comments posted on the pull request using the category-prefixed format. A final summary comment with the approval decision and any outstanding items.
../git-workflow/SKILL.md — PR structure and branch conventions referenced during reviewdevelopment
Implement features using the Red-Green-Refactor cycle to ensure testability and correctness from the start.
data-ai
Manage the `tasks.md` ledger with strict locking and collision avoidance protocols to allow multiple agents to work in parallel safely.
development
The git-workflow skill defines branching conventions, commit message formats, and pull request standards that all agents must follow for consistent version control.
development
The environment-config skill standardizes how agents manage environment variables, secrets, and application configuration across local development and deployed environments.