
code-review-guideline
by YuheiNakasaka
SKILL.md
name: code-review-guideline description: Code review guidelines for general development and Rails projects. Provides reviewer personality, review perspectives, Rails-specific rules, and test quality standards. Use for code review, PR review, review code, check code quality. user-invocable: false context: fork agent: General-purpose allowed-tools:
- Read
- Glob
- Grep
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
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon