Frontend Code Reviewのロゴ

Frontend Code Review

コミュニティ
DNM03
frontend-code-review

Review React, Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui, TanStack Query, and frontend UI code. Use when reviewing a PR, branch, diff, page, component, hook, Server Action, route handler, or API client; debugging frontend behavior; assessing production readiness; or checking runtime bugs, client/server boundaries, data fetching, security, accessibility, UX states, responsive layout, performance, SEO metadata, i18n, and maintainability.

概要

公開者DNM03
リポジトリfrontend-code-review
スキル名frontend-code-review
スター
5
フォーク
0
同梱ファイル
14
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 14個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    DNM03がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Frontend Code Review」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-review
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DNM03/frontend-code-review.git /tmp/frontend-code-review
mkdir -p .claude/skills
cp -r /tmp/frontend-code-review/skills/frontend-code-review .claude/skills/frontend-code-review
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFrontend Code Reviewを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFrontend Code Reviewを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Frontend Code Reviewは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Frontend Code Review Skill

Purpose

Review frontend code like a practical production frontend developer.

This skill helps an agent inspect React/Next.js projects and return useful, concrete review feedback instead of vague advice. It prioritizes real production risk, user impact, and maintainability.

Review scope

Review the code or diff relevant to the user's request. Expand into adjacent modules only when needed to verify behavior, contracts, or user impact.

Isolated snippet rules

When reviewing a pasted snippet:

  • Use only the supplied snippet unless the user explicitly requests repository-context review.
  • Do not infer product requirements, framework context, localization requirements, or missing surrounding behavior.
  • Do not introduce framework-specific considerations unless the snippet identifies that framework.
  • Treat placeholder-looking handlers such as console.log, mock data, and stubs as verified issues only when the user states that the snippet is complete production code. Otherwise list them under ## Context-dependent considerations.
  • Label context-dependent concerns as conditional.
  • Put unverified concerns under ## Context-dependent considerations.
  • Do not classify a conditional concern as critical or use it to block merging.
  • Return Safe to merge based on the supplied snippet when no verified issue exists.

Core workflow

  1. Understand the feature, page, component, or bug being reviewed.
  2. Inspect the relevant code before making claims. For repository reviews, inspect package.json, next.config.*, and adjacent modules when framework behavior depends on them.
  3. Identify production-breaking issues first.
  4. Check framework boundaries:
    • React rendering and hooks
    • Next.js Server/Client Component boundary
    • data fetching and cache behavior
    • routing, metadata, redirects, and environment variables
    • Server Actions, route handlers, and frontend security boundaries
  5. Check UI quality:
    • visual hierarchy
    • accessibility
    • mobile/responsive layout
    • loading, empty, and error states
  6. Group findings by severity.
  7. For each issue, explain:
    • where it is
    • what is wrong
    • why it matters
    • how to fix it
  8. For repository reviews, include clickable file and line references. For pasted snippets, reference the component, function, or relevant expression.
  9. Give code patches when useful.
  10. Respect existing project style unless it is clearly harmful.

Review principles

Prefer correctness over taste

Do not mark a subjective style preference as a critical issue.

Critical issues are things that can break production, cause data loss, create security risk, block users, damage SEO, or create serious accessibility failure.

Prefer concrete fixes

Bad:

Improve error handling.

Good:

CreateJobForm only handles onSuccess. If the request fails, the user receives no feedback and can submit repeatedly. Add onError, disable the submit button while pending, and keep the form data so the user can retry.

Do not over-engineer

Recommend the smallest production-safe fix.

Respect client/server boundaries

Do not suggest client hooks inside Server Components.

Do not suggest browser APIs inside Server Components.

Do not suggest moving everything to "use client" unless interactivity truly requires it.

Be careful with useEffect

Treat Effects as synchronization with external systems, not as the default place for derived state or event logic.

Treat UI as product behavior

Missing loading, empty, disabled, and error states are not just polish. They can directly confuse users and cause duplicate actions.

Reference files

Read these files only when relevant:

  • references/checklist.md — broad review checklist.
  • references/react.md — React rendering, state, hydration, and form rules.
  • references/nextjs-app-router.md — current Next.js 16 App Router review rules.
  • references/data-fetching.md — TanStack Query and API client review.
  • references/frontend-security.md — XSS, authorization, secrets, and browser security.
  • references/ui-ux-accessibility.md — UI, accessibility, and responsive design.
  • references/performance-seo.md — Core Web Vitals, metadata, redirects, and SEO.
  • references/typescript.md — TypeScript review patterns.
  • references/i18n.md — translation fallback, locale routing, and localized SEO.
  • references/output-format.md — required review output structure.
  • references/sources.md — official docs/blogs/videos used to create this skill.
  • examples/good-review.md — example of a concrete, severity-ordered review.
  • examples/bad-review.md — example of vague review feedback to avoid.

Default output format

Use this structure unless the user asks for another format:

md
## Critical issues

### 1. Issue title

**Where:** file/component/function

**Problem:** Explain the issue.

**Why it matters:** Explain production or user impact.

**Fix:** Give a direct fix. Include code if useful.

## Important improvements

Same format.

## Nice-to-have polish

Shorter, lower-severity suggestions.

## Summary

One short paragraph with the overall judgment.

## Suggested patch

Code examples or diff-style patches when useful.

## Final recommendation

Say one of:
- Safe to merge.
- Safe after fixes.
- Not safe to merge yet.

Things to avoid

Avoid:

  • vague advice
  • ungrounded claims
  • style-only nitpicks as critical issues
  • suggesting client-side redirects for SEO-critical routes
  • recommending TanStack Query hooks in Server Components
  • ignoring loading, empty, and error states
  • ignoring keyboard accessibility
  • ignoring mobile layout
  • rewriting the whole feature when a small fix is enough

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Frontend Code Review」では何ができますか?

Review React, Next.js App Router, TypeScript, Tailwind CSS, shadcn/ui, TanStack Query, and frontend UI code. Use when reviewing a PR, branch, diff, page, component, hook, Server Action, route handler, or API client; debugging frontend behavior; assessing production readiness; or checking runtime bugs, client/server boundaries, data fetching, security, accessibility, UX states, responsive layout, performance, SEO metadata, i18n, and maintainability.

TypingMindでFrontend Code Reviewを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Frontend Code Reviewはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFrontend Code Reviewをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/DNM03/frontend-code-review/tree/main/skills/frontend-code-reviewを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Frontend Code Reviewを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Frontend Code Reviewで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFrontend Code Reviewを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Frontend Code Review」は無料ですか?

はい。DNM03がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇