frontend-code-review
Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o frontend-code-review.zip https://jpskill.com/download/19571.zip && unzip -o frontend-code-review.zip && rm frontend-code-review.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19571.zip -OutFile "$d\frontend-code-review.zip"; Expand-Archive "$d\frontend-code-review.zip" -DestinationPath $d -Force; ri "$d\frontend-code-review.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
frontend-code-review.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
frontend-code-reviewフォルダができる - 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
- 同梱ファイル
- 4
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
フロントエンドのコードレビュー
目的
ユーザーがフロントエンドのコード(特に .tsx、.ts、または .js ファイル)のレビューを依頼した際に、このスキルを使用します。2つのレビューモードをサポートしています。
- 保留中の変更のレビュー – コミット予定のステージング/ワーキングツリーのファイルを検査し、提出前にチェックリスト違反を指摘します。
- ファイル指定レビュー – ユーザーが指定した特定のファイルをレビューし、関連するチェックリストの指摘を報告します。
適用可能なすべてのファイルとモードについて、以下のチェックリストに従ってください。
チェックリスト
カテゴリ別に分類された最新のチェックリストについては、references/code-quality.md、references/performance.md、references/business-logic.md を参照してください。これらを従うべき規範的なルールセットとして扱ってください。
各ルール違反には緊急度メタデータを付けて指摘し、将来のレビュー担当者が修正の優先順位を付けられるようにしてください。
レビュープロセス
- 関連するコンポーネント/モジュールを開きます。クラス名、React Flow hooks、prop のメモ化、スタイリングに関連する行を収集します。
- レビューポイントの各ルールについて、コードが逸脱している箇所を特定し、代表的なスニペットをキャプチャします。
- 以下のテンプレートに従ってレビューセクションを作成します。違反はまずUrgentフラグでグループ化し、次にカテゴリ順(Code Quality、Performance、Business Logic)でグループ化します。
必須出力
呼び出された際、応答は以下の2つのテンプレートのいずれかに厳密に従う必要があります。
テンプレート A (指摘事項がある場合)
# Code review
Found <N> urgent issues need to be fixed:
## 1 <brief description of bug>
FilePath: <path> line <line>
<relevant code snippet or pointer>
### Suggested fix
<brief description of suggested fix>
---
... (repeat for each urgent issue) ...
Found <M> suggestions for improvement:
## 1 <brief description of suggestion>
FilePath: <path> line <line>
<relevant code snippet or pointer>
### Suggested fix
<brief description of suggested fix>
---
... (repeat for each suggestion) ...
緊急の指摘事項がない場合は、そのセクションを省略してください。提案がない場合は、そのセクションを省略してください。
指摘事項の数が10を超える場合は、「10+ urgent issues」または「10+ suggestions」と要約し、最初の10件の指摘事項のみを出力してください。
セクション間の空白行は圧縮せず、可読性のためにそのまま保持してください。
テンプレート A を使用し(つまり、修正すべき指摘事項があり)、かつ少なくとも1つの指摘事項がコード変更を必要とする場合、構造化された出力の後に、ユーザーが提案された修正を適用したいかどうかを尋ねる簡単なフォローアップの質問を追加してください。例:「Suggested fix セクションを使用して、これらの指摘事項に対処しますか?」
テンプレート B (指摘事項がない場合)
## Code review
No issues found. 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Frontend Code Review
Intent
Use this skill whenever the user asks to review frontend code (especially .tsx, .ts, or .js files). Support two review modes:
- Pending-change review – inspect staged/working-tree files slated for commit and flag checklist violations before submission.
- File-targeted review – review the specific file(s) the user names and report the relevant checklist findings.
Stick to the checklist below for every applicable file and mode.
Checklist
See references/code-quality.md, references/performance.md, references/business-logic.md for the living checklist split by category—treat it as the canonical set of rules to follow.
Flag each rule violation with urgency metadata so future reviewers can prioritize fixes.
Review Process
- Open the relevant component/module. Gather lines that relate to class names, React Flow hooks, prop memoization, and styling.
- For each rule in the review point, note where the code deviates and capture a representative snippet.
- Compose the review section per the template below. Group violations first by Urgent flag, then by category order (Code Quality, Performance, Business Logic).
Required output
When invoked, the response must exactly follow one of the two templates:
Template A (any findings)
# Code review
Found <N> urgent issues need to be fixed:
## 1 <brief description of bug>
FilePath: <path> line <line>
<relevant code snippet or pointer>
### Suggested fix
<brief description of suggested fix>
---
... (repeat for each urgent issue) ...
Found <M> suggestions for improvement:
## 1 <brief description of suggestion>
FilePath: <path> line <line>
<relevant code snippet or pointer>
### Suggested fix
<brief description of suggested fix>
---
... (repeat for each suggestion) ...
If there are no urgent issues, omit that section. If there are no suggestions, omit that section.
If the issue number is more than 10, summarize as "10+ urgent issues" or "10+ suggestions" and just output the first 10 issues.
Don't compress the blank lines between sections; keep them as-is for readability.
If you use Template A (i.e., there are issues to fix) and at least one issue requires code changes, append a brief follow-up question after the structured output asking whether the user wants you to apply the suggested fix(es). For example: "Would you like me to use the Suggested fix section to address these issues?"
Template B (no issues)
## Code review
No issues found. 同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (2,848 bytes)
- 📎 references/business-logic.md (619 bytes)
- 📎 references/code-quality.md (1,409 bytes)
- 📎 references/performance.md (928 bytes)