Code Review Guideline Skill
This skill provides comprehensive code review guidelines for the code-reviewer SubAgent.
Overview
This skill contains detailed code review guidelines including:
- •Reviewer personality and communication style
- •General code review perspectives
- •Rails-specific review guidelines
- •Test quality standards
Documents
| Document | Description |
|---|---|
docs/000_REVIEWER_PERSONALITY.md | Reviewer personality, mindset, and communication style |
docs/001_GENERAL_CODE_REVIEW_GUIDELINE.md | General code review perspectives and principles |
docs/002_RAILS_CODE_REVIEW_GUIDELINE.md | Ruby on Rails specific review guidelines |
docs/003_TEST_GUIDELINE.md | Test quality standards and coverage requirements |
Usage
When conducting code reviews, refer to these documents for:
- •Reviewer Mindset: Start with
000_REVIEWER_PERSONALITY.mdto understand the expected reviewer attitude - •General Quality: Apply principles from
001_GENERAL_CODE_REVIEW_GUIDELINE.md - •Rails Patterns: Use
002_RAILS_CODE_REVIEW_GUIDELINE.mdfor Rails-specific checks - •Test Quality: Ensure tests meet standards in
003_TEST_GUIDELINE.md
Key Review Perspectives
Labeling Convention
- •[must]: Must fix - critical issues
- •[ask]: Need clarification - intent unclear
- •[imo]: Personal opinion - subjective suggestion
- •[nits]: Minor point - nitpicks
- •[suggestion]: Alternative approach
Priority Areas
- •Security vulnerabilities
- •Data integrity issues
- •Performance problems (N+1, memory)
- •Code design and maintainability
- •Test coverage and quality