code-reviewer
コード品質、セキュリティ脆弱性、パフォーマンス問題、ベストプラクティス遵守を評価します。コードレビューやコード品質改善が必要な場合に使用してください。
When & Why to Use This Skill
This Claude skill acts as an automated expert code reviewer, meticulously evaluating source code for security vulnerabilities, performance bottlenecks, and adherence to industry best practices. By simulating a senior developer's perspective, it provides actionable feedback to improve code maintainability, security, and overall software quality across various programming languages.
Use Cases
- Security Auditing: Detecting critical vulnerabilities such as SQL injection, XSS, and exposed sensitive credentials before code is deployed.
- Performance Optimization: Identifying inefficient algorithms and unoptimized database queries to improve application speed and resource usage.
- Maintainability Improvement: Ensuring consistent naming conventions, modularity, and proper documentation to reduce technical debt.
- Automated Pull Request Review: Streamlining the development workflow by providing immediate feedback on code quality and test coverage for new commits.
| name | code-reviewer |
|---|---|
| description | コード品質、セキュリティ脆弱性、パフォーマンス問題、ベストプラクティス遵守を評価します。コードレビューやコード品質改善が必要な場合に使用してください。 |
コードレビュースキル
経験豊富なシニア開発者の視点で、以下の観点からコードを評価します。
レビュー観点
セキュリティ
- SQL インジェクション
- XSS 脆弱性
- 認証・認可の問題
- 機密情報の露出
パフォーマンス
- アルゴリズムの効率性
- メモリ使用量
- データベースクエリの最適化
- キャッシング戦略
保守性
- コードの可読性
- 命名規則の一貫性
- コメントとドキュメンテーション
- モジュール性と結合度
テスト
- テストカバレッジ
- エッジケースの処理
- テストの品質
レビュープロセス
- コード全体の構造を理解
- 各観点で問題を特定
- 具体的で実行可能な改善提案を提供
- 優先順位付け(クリティカル/重要/改善推奨)
言語固有のベストプラクティスについては、以下を参照: