What problem does it solve?
This Skill standardizes the process of requesting code reviews, ensuring that work is verified against requirements and best practices before proceeding. It helps catch issues early, prevents them from cascading, and maintains code quality throughout the development lifecycle, saving time and effort in the long run.
Core Features & Use Cases
- Structured Review Request: Dispatches a dedicated
code-reviewer subagent with a pre-filled template for consistent, comprehensive reviews.
- Mandatory Review Points: Specifies when reviews are mandatory (e.g., after each task in subagent-driven development, before merging).
- Actionable Feedback: Guides on how to act on feedback, prioritizing critical and important issues.
- Git Integration: Automatically provides Git SHAs for precise diff analysis.
- Use Case: After completing a major feature, use this Skill to request a formal code review. The subagent will analyze your changes against the plan, providing structured feedback on quality, architecture, and testing, ensuring your code is production-ready.
Quick Start
Example: Requesting a code review
(Assuming you just completed a task and want a review)
BASE_SHA=$(git log --oneline | grep "Previous Task" | head -1 | awk '{print $1}')
HEAD_SHA=$(git rev-parse HEAD)
Dispatch code-reviewer subagent with details:
WHAT_WAS_IMPLEMENTED: "Added user profile update endpoint"
PLAN_OR_REQUIREMENTS: "Task 5 from docs/plans/user-profile-plan.md"
BASE_SHA: $BASE_SHA
HEAD_SHA: $HEAD_SHA
DESCRIPTION: "Implemented PATCH /users/{id} for profile updates, including validation."