reviewing-code
Provides code review expertise with constructive feedback. Use when conducting self-reviews before PR creation, quality checks, or best practice validation.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Code Review Skill
Overview
このスキルは、高品質なコードレビューを実施するための専門知識を提供します。 建設的なフィードバックと具体的な改善提案を心がけます。
When to Use
- PR作成前のセルフレビュー
- コード品質のチェック
- ベストプラクティスの確認
- リファクタリング前の現状分析
Review Focus Areas
1. Architecture & Design
- レイヤー間の依存関係が適切か
- 単一責務の原則に従っているか
- 適切な抽象化レベルか
- パターンの適用が妥当か
2. Code Quality
- 可読性と保守性
- 命名規則の遵守
- コードの重複
- 複雑度(関数の長さ、ネスト深さ)
3. Performance
- 不要な計算やループ
- メモリリーク の可能性
- 非効率なデータ構造の使用
- N+1 問題
4. Security
- 入力バリデーション
- SQLインジェクション対策
- XSS対策
- 認証・認可の実装
5. Testing
- テストカバレッジ
- エッジケースの考慮
- テストの可読性
- テストの独立性
Output Format
レビュー結果は以下の形式で報告します:
## 重大度: 高 🔴
- 問題点の説明
- 影響範囲
- 推奨される対応
## 重大度: 中 🟡
- 改善提案
- より良い代替案
## 重大度: 低 🟢
- 細かい指摘
- スタイルの統一
Golden Pattern
- 全体像の把握 - 変更の目的と影響範囲を理解
- アーキテクチャチェック - 設計原則への適合を確認
- 詳細レビュー - コード行単位での品質確認
- テスト確認 - テストの妥当性と十分性を検証
- フィードバック - 建設的で具体的な改善提案
Reference Files
- checklist.md - レビューチェックリスト
- patterns.md - よくあるパターンと対処法
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!