code-review-specialist
できること
このスキルは、エージェントがコードのセキュリティリスク、遅い処理のパターン、品質の問題を確認し、それぞれを分かりやすく報告するよう導きます。コードやプルリクエストを丁寧に見直したい開発者向けです。
使う場面
- ✓コードやプルリクエストに、セキュリティ上の問題がないか確認してほしいとき。
- ✓リリース前に、遅い処理や性能の問題を見つけたいとき。
- ✓命名、構造、テストカバレッジなど、コードの品質を確認したいとき。
スキルのリンク
https://github.com/luongnv89/claude-howto/blob/main/03-skills/code-review-specialist/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このログインモジュールのセキュリティ問題を確認して、特に深刻なものの修正方法を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはレビュー用のチェックリストと指摘事項のテンプレートを読み、分野ごとにコードを調べます。各指摘には深刻度、場所、影響をまとめます。コードに対してメトリクス用のスクリプトを実行することもできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Code Review Skill
This skill provides comprehensive code review capabilities focusing on:
Security Analysis
- Authentication/authorization issues
- Data exposure risks
- Injection vulnerabilities
- Cryptographic weaknesses
- Sensitive data logging
Performance Review
- Algorithm efficiency (Big O analysis)
- Memory optimization
- Database query optimization
- Caching opportunities
- Concurrency issues
Code Quality
- SOLID principles
- Design patterns
- Naming conventions
- Documentation
- Test coverage
Maintainability
- Code readability
- Function size (should be < 50 lines)
- Cyclomatic complexity
- Dependency management
- Type safety
Reference Files
This skill includes supporting files that you should read when performing reviews:
templates/review-checklist.md— Structured checklist covering security, performance, quality, and testing. Read this file and use it as a guide to ensure no category is missed during review.templates/finding-template.md— Standard template for documenting individual findings with severity, location, code examples, and impact analysis. Read this file and use its format when reporting issues.scripts/analyze-metrics.py— Python script that calculates code metrics (function count, class count, average line length, complexity score). Run this on the file under review to gather quantitative data.scripts/compare-complexity.py— Python script that compares cyclomatic and cognitive complexity between two versions of a file. Run this with the before and after versions when reviewing refactoring changes.
Review Template
For each piece of code reviewed, provide:
Summary
- Overall quality assessment (1-5)
- Key findings count
- Recommended priority areas
Critical Issues (if any)
- Issue: Clear description
- Location: File and line number
- Impact: Why this matters
- Severity: Critical/High/Medium
- Fix: Code example
Findings by Category
Security (if issues found)
List security vulnerabilities with examples
Performance (if issues found)
List performance problems with complexity analysis
Quality (if issues found)
List code quality issues with refactoring suggestions
Maintainability (if issues found)
List maintainability problems with improvements
Version History
- v1.0.0 (2024-12-10): Initial release with security, performance, quality, and maintainability analysis
Last Updated: August 4, 2026 Claude Code Version: 2.1.220 Sources:
- https://code.claude.com/docs/en/skills Compatible Models: Claude Fable 5, Claude Opus 5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 4.5
よくある質問
どの分野を確認しますか?
セキュリティ、性能、コード品質、保守性を確認します。テストカバレッジも含みます。
指摘はどのように報告されますか?
各指摘は、深刻度、場所、コード例、影響を含む共通のテンプレートに沿って報告されます。
特別なツールが必要ですか?
スキルに含まれるPythonのメトリクススクリプトを使うため、Pythonが使える必要があります。
詳細
作者による元の説明
Comprehensive code review with security, performance, and quality analysis. Use when users ask to review code, analyze code quality, evaluate pull requests, or mention code review, security analysis, or performance optimization.
repo: luongnv89/claude-howto
人気
- GitHubのスター
- 46k
- ランキング
- #6322
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
lesson-quiz
46kClaude Codeのチュートリアルの1つのレッスンについて、10問のクイズを出し、回答を採点して、復習すべき項目を指摘します。
self-assessment
46kClaude Codeの10の機能領域についてクイズを出し、トピック別の点数と、次に学ぶ内容の学習パスを示します。
blog-draft
46kアイデアと情報源からブログ記事を下書きする作業を、段階を追って案内します。各段階で版を追跡し、あなたの承認を得ながら進めます。
claude-md
46kエージェントがCLAUDE.mdファイルを作成・改善できるよう支援します。CLAUDE.mdは、AIエージェントにプロジェクトを紹介するガイドです。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。