| name | code-review |
| description | Code review checklist - use for checking Python code quality, bugs, security issues, and best practices |
Code Review Skill
Apply this checklist when reviewing code, with emphasis on bugs, risks, regressions, security, and missing tests.
Use this skill when:
- A user asks for a code review
- You need to assess whether a change is safe to merge
- You need to review AI-agent code, prompts, or orchestration logic for production risk
Code Quality Checklist
Input Validation Checklist
Security Checklist
Testing Checklist
AI/Agent-Specific Checklist
Output Format
Present findings in severity order. Findings are the primary output, not a generic checklist dump.
Use this structure:
## Code Review: [filename]
### Critical Issues
- [ISSUE] Description with file/line reference and impact
### High Priority
- [ISSUE] Description with file/line reference and impact
### Medium Priority
- [ISSUE] Description with file/line reference and impact
### Open Questions
- [QUESTION] Assumption, ambiguity, or missing context
### Summary
- [X] critical, [Y] high, [Z] medium issues found
If no issues are found, state that explicitly and mention any residual risks or testing gaps.
Steps
- Read the file(s) to be reviewed
- Identify behavioral changes, risky assumptions, and missing tests first
- Use the checklist to support findings, not replace them
- Report issues in descending severity with concrete evidence
- Summarize residual risk, testing gaps, or confirm no findings