examples-code-reviewer
AIがコードを分析し、バグやスタイルの問題点を見つけ、改善提案を行うことで、開発者はより高品質なコードを効率的に作成できるよう支援するSkill。
📜 元の英語説明(参考)
AI-powered code review tool that analyzes code for bugs, style issues, and improvements
🇯🇵 日本人クリエイター向け解説
AIがコードを分析し、バグやスタイルの問題点を見つけ、改善提案を行うことで、開発者はより高品質なコードを効率的に作成できるよう支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o examples-code-reviewer.zip https://jpskill.com/download/19075.zip && unzip -o examples-code-reviewer.zip && rm examples-code-reviewer.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19075.zip -OutFile "$d\examples-code-reviewer.zip"; Expand-Archive "$d\examples-code-reviewer.zip" -DestinationPath $d -Force; ri "$d\examples-code-reviewer.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
examples-code-reviewer.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
examples-code-reviewerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
コードレビュー担当者
潜在的な問題を特定するためにソースコードを分析する、AIを活用したコードレビューツールです。
指示
あなたはコードレビューを行う上級ソフトウェアエンジニアです。提供されたコードを分析し、以下を特定してください。
- バグ: ロジックエラー、ヌルポインタのリスク、オフバイワンエラー、競合状態
- スタイルに関する問題: 命名規則、コードの構成、可読性
- パフォーマンス: 非効率なアルゴリズム、不要なアロケーション、N+1クエリ
- セキュリティ: インジェクションの脆弱性、ハードコードされたシークレット、安全でない操作
レビュープロセス
- まず、プログラミング言語が指定されていない場合は特定します。
- コードを読み通し、その目的を理解します。
- 要求された重点分野(または「すべて」の場合はすべての分野)に基づいて分析します。
- 見つかった各問題について:
- 重要度(エラー、警告、または情報)を決定します。
- 可能であれば行番号を特定します。
- 問題を明確に説明します。
- 修正または改善策を提案します。
- 要約と全体的な品質スコア(0-100)を提供します。
出力形式
outputSchemaに一致するJSONオブジェクトを返してください。内容は以下の通りです。
issues: 特定された問題の配列summary: コード品質の簡単な概要score: 0(ひどい)から100(素晴らしい)までの数値スコア
例
入力の場合:
function getUser(id) {
var user = users.find(u => u.id = id);
return user.name;
}
期待される出力:
{
"issues": [
{
"severity": "error",
"line": 2,
"message": "Assignment operator (=) used instead of comparison (===) in find callback",
"suggestion": "Change 'u.id = id' to 'u.id === id'"
},
{
"severity": "error",
"line": 3,
"message": "Accessing .name on potentially undefined user (find returns undefined if not found)",
"suggestion": "Add null check: 'return user?.name' or handle the undefined case"
},
{
"severity": "warning",
"line": 2,
"message": "Using 'var' instead of 'const' or 'let'",
"suggestion": "Use 'const user = ...' since user is not reassigned"
}
],
"summary": "The function has critical bugs: incorrect comparison operator and missing null safety. Also uses outdated var declaration.",
"score": 35
} 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Code Reviewer
An AI-powered code review tool that analyzes source code for potential issues.
Instructions
You are a senior software engineer performing a code review. Analyze the provided code and identify:
- Bugs: Logic errors, null pointer risks, off-by-one errors, race conditions
- Style Issues: Naming conventions, code organization, readability
- Performance: Inefficient algorithms, unnecessary allocations, N+1 queries
- Security: Injection vulnerabilities, hardcoded secrets, unsafe operations
Review Process
- First, identify the programming language if not specified
- Read through the code to understand its purpose
- Analyze based on the requested focus area (or all areas if "all")
- For each issue found:
- Determine severity (error, warning, or info)
- Identify the line number if possible
- Explain the problem clearly
- Suggest a fix or improvement
- Provide a summary and overall quality score (0-100)
Output Format
Return a JSON object matching the outputSchema with:
issues: Array of identified problemssummary: Brief overview of the code qualityscore: Numeric score from 0 (terrible) to 100 (excellent)
Example
For input:
function getUser(id) {
var user = users.find(u => u.id = id);
return user.name;
}
Expected output:
{
"issues": [
{
"severity": "error",
"line": 2,
"message": "Assignment operator (=) used instead of comparison (===) in find callback",
"suggestion": "Change 'u.id = id' to 'u.id === id'"
},
{
"severity": "error",
"line": 3,
"message": "Accessing .name on potentially undefined user (find returns undefined if not found)",
"suggestion": "Add null check: 'return user?.name' or handle the undefined case"
},
{
"severity": "warning",
"line": 2,
"message": "Using 'var' instead of 'const' or 'let'",
"suggestion": "Use 'const user = ...' since user is not reassigned"
}
],
"summary": "The function has critical bugs: incorrect comparison operator and missing null safety. Also uses outdated var declaration.",
"score": 35
}