スキル一覧に戻る
the-prod-father

code-review

by the-prod-father

Slash commands for Claude Code - a structured AI development workflow

5🍴 1📅 2026年1月21日
GitHubで見るManusで実行

SKILL.md


name: code-review description: Use when reviewing code for security, performance, or quality issues. Provides checklists and patterns for thorough code review. version: 1.0.0

Code Review Skill

Comprehensive knowledge for reviewing code. Use the checklists below and reference detailed guides for specific domains.

Review Process

  1. Understand context - What does this code do? What problem does it solve?
  2. Check correctness - Does it work? Are there logic errors?
  3. Check security - Any vulnerabilities? See security checklist
  4. Check performance - Any bottlenecks? See performance patterns
  5. Check maintainability - Is it readable? Testable? Well-organized?

Quick Security Checklist

  • Input validation on all user data
  • No SQL/NoSQL injection vectors
  • No XSS vulnerabilities (output encoding)
  • Authentication checked on protected routes
  • Authorization verified for data access
  • No hardcoded secrets or credentials
  • Sensitive data not logged
  • CSRF protection where needed

Quick Performance Checklist

  • No N+1 queries
  • Expensive operations are cached or memoized
  • No unnecessary re-renders (React)
  • Database queries use indexes
  • No memory leaks (cleanup in effects)
  • Large lists are virtualized or paginated

Quick Quality Checklist

  • Clear naming (functions, variables, files)
  • Single responsibility principle
  • Error handling covers failure modes
  • No dead code or debug statements
  • Tests cover critical paths
  • Types are accurate (no any abuse)

Severity Levels

LevelCriteriaAction
CRITICALSecurity vulnerability, data loss risk, crashMust fix before merge
HIGHBug, significant performance issue, bad UXShould fix before merge
MEDIUMCode quality, maintainability concernFix soon
LOWStyle, minor improvementOptional

Output Format

## Code Review: [file/feature]

### Summary
One paragraph overall assessment.

### Critical Issues
- **[SEVERITY]** file:line - Description
  - Why it's a problem
  - Suggested fix

### Recommendations
- Improvement suggestions

### What's Good
- Positive observations

Detailed References

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です