Vercel React Best Practices

強い · 86
Registry に収録

React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.

Verified installs0
スター30.3K
バージョン1.0.0
品質100/100 · 優秀
信頼86/100 · レビュー後にインストール
監査94/100 · 試用可

供給アセットの概要

コーディングと開発 Agent

コードレビュー、リポジトリ分析、テスト、CI、GitHub、DevOps、開発ワークフロー向けのスキルです。

カテゴリを見る

シナリオ

GitHub automation

I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.

Agent 適合

Claude Code + OpenAI Agents + Cursor

Codex、Claude Code、Cursor、CLI、またはカスタム Agent に対応します。

インストール

準備完了

npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices

メンテナンス

新しい

本日プッシュ

リスク

試用可

Permission surface may require sandboxing

GitHub 品質

30K

100/100 品質 · 92/100 信頼

対象タグ

コーディングGitHub automationコーディング Agentagent-skillreact

レビュー注記

Permission surface may require sandboxing · Permission surface needs review: filesystem or document access, network or browser access

Agent 導入スコアカード

信頼、監査、インストール準備状況を一目で確認

公開リポジトリのメタデータ、OpenAgentSkill のレビューシグナル、保守の鮮度、インストール準備状況を組み合わせたスコアです。候補選定の目安であり、人によるレビューの代替ではありません。

品質

優秀
100

採用度と保守性のシグナルが強い高信頼候補です。

信頼

レビュー後にインストール
86

有望な候補ですが、Agent は実行前に監査メモ、インストールポリシー、成果エビデンスを確認する必要があります。

監査

試用可
94

インストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。

OpenAgentSkill Trust Score v5

Agent インストール候補

人による確認またはサンドボックス検証後に第一候補として使用します。

CodexClaude CodeCursorReactNext.js

スター

GitHub スター 30K

リポジトリ活動

スター 30K、フォーク 2.7K

メンテナンス

本日プッシュ

ライセンス

MIT

インストール

npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices

インストール安全性

標準パッケージまたはランタイムのインストールパス

権限範囲

filesystem or document access, network or browser access

Agent の成果

Agent の成果データはまだありません

ドキュメント

README/SKILL.md の文脈が十分です

リスク概要

本番前にレビュー

  • Permission surface needs review: filesystem or document access, network or browser access
  • Permission surface: filesystem or document access, network or browser access

インストール準備状況

インストールパスを利用可能

  • インストールパスを利用できます
  • リポジトリの根拠を利用できます
  • ライセンスが明示されています
  • Agent-Proven の成果エビデンスはまだありません

Agent 可読メタデータ

このスキルの機械可読な判断データ。

このブロックまたは埋め込み JSON を使い、Agent がこのスキルをインストールすべきか、代替を選ぶべきか、先に人のレビューを求めるべきかを判断できます。

JSON を開く

適したタスク

  • Browser automation ワークフロー
  • Claude Code チーム
  • GitHub 採用シグナルを重視するチーム
  • Navigate pages

適した Agent

CodexClaude CodeCursorReactNext.jsOpenAgentSkill CLIOpenAI AgentsBrowser agents

インストール判断

コマンド
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
ポリシー
レビュー
人によるレビュー
はい

信頼とリスク

信頼
86/100
監査
94/100
リスクレベル
試用可

成果ループ

エンドポイント
/api/agent/outcome
イベント ID
resolve
成果
5

インストールコマンド

npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices

使わない場合

  • ベンダー提供の SLA が必要なチーム
  • 内部セキュリティレビューのない高コンプライアンス環境
  • 現在のメタデータに重大なリスクシグナルはありません
  • 高リスク権限のヒント: Secrets or environment access
  • Permission surface may require sandboxing

Agent セーフティ v2

58/100 · インストール前にレビュー

権限メモ付きでレビュー済みレビュー

利用可能な候補ですが、Agent はインストール前に権限と監査メモを提示する必要があります。

実際のワークスペースへインストールする前に人の承認が必要です。

API で解決

Browser automation

Skill may drive a browser or interact with web pages.

ネットワークアクセス

Skill はリモートページ、API、リポジトリ、外部サービスにアクセスする可能性があります。

ファイルシステムアクセス

Skill はプロジェクトファイル、ドキュメント、生成物、ローカルワークスペース状態を読み書きする可能性があります。

Secrets or environment access

Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.

  • 高リスク権限のヒント: Secrets or environment access
  • Permission surface may require sandboxing

インストール先

Agent ワークフローにこのスキルをインストール

公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install vercel-react-best-practices

Agent 解決プラン

インストール前に Agent に適合性を検証させます。

Resolve API は第一候補、代替、安全ポリシー、監査メモ、インストール先、Agent がそのまま使えるプロンプトを返します。

テキストプランを開く

Agent が確認すべきこと

  • Resolve API でタスク適合と代替を確認。
  • 監査・信頼スコアと安全ポリシーの警告を確認。
  • Codex、Claude Code、Cursor、CLI のインストール先互換性を確認。

プロンプトをコピー

Task: Use Vercel React Best Practices in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20Vercel%20React%20Best%20Practices%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/vercel-react-best-practices/install
Install command: npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent 引き継ぎ

別のディレクトリではなく、インストール経路を Agent に渡します。

公開インストールエンドポイントからコマンド、安全チェックリスト、対象プロンプト、正規リンクを取得します。

Install API を開く

Agent プロンプト

Use Vercel React Best Practices for this task. Review https://www.openagentskill.com/api/skills/vercel-react-best-practices/install, then install with: npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices

Registry メタデータ

自動スキル選択用の Agent 可読プロファイル。

Registry API 経由で判断、信頼、監査、ユースケース、インストールのシグナルを提供し、UI をスクレイピングせずに Agent が順位付けできます。

Manifest を開く

Agent 適合

100/100

Browser automation

プラットフォーム

Codex, Claude Code, Cursor, React, Next.js, OpenAI Agents

監査レポート

試用可 · 94/100

インストール準備、安全メタデータ、保守、採用リスクの機械可読なレビュー。

監査レポートを見る評価レポートを見る

Agent 判断パネル

Browser automation 向けの第一候補

有力候補として扱い、自分の Agent スタックで README とインストール経路を検証してください。

100
準備状況
採用
段階

スタック内の役割

第一候補

主な適合

Browser automation

信頼ラベル

本番対応

インストールパス

コマンド準備済み

使う場面

  • Browser automation ワークフロー
  • Claude Code チーム
  • GitHub 採用シグナルを重視するチーム

根拠

  • GitHub スター 30,321
  • 最近のリポジトリ活動
  • インストールコマンドまたは GitHub リポジトリが利用可能
  • 品質プロファイル 100/100
  • OpenAgentSkill エンゲージメント 330 件

先にレビュー

  • 現在のメタデータに重大なリスクシグナルはありません

実装パス

  1. 1サンドボックスの Agent にインストールし、Browser automation タスクを一度最初から最後まで実行します。
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

信頼プロファイル

レビュー後にインストール

有望な候補ですが、Agent は実行前に監査メモ、インストールポリシー、成果エビデンスを確認する必要があります。

86
OpenAgentSkill Trust Score

GitHub 採用度

合格

GitHub スター 30K

スター/フォーク活動

合格

スター 30K、フォーク 2.7K; 現在のメタデータでは Issue 活動を利用できません

最近のメンテナンス

合格

本日プッシュ

ライセンスの明確さ

合格

MIT

良いシグナル

  • 手動確認済みの掲載
  • AI レビュー承認済み
  • インストールパスを利用できます
  • リポジトリの根拠を利用できます
  • 最近保守されたリポジトリ
  • Large GitHub adoption signal
  • インストールコマンドに明確な高リスクパターンはありません
  • OpenAgentSkill の利用活動を検出しました
  • 成果ループは準備済みですが、最初の実行が必要です

インストール前にレビュー

  • Permission surface needs review: filesystem or document access, network or browser access
  • Permission surface: filesystem or document access, network or browser access
  • 実際の Agent 成果レポートはまだありません
  • 無人インストールの前に人によるレビューが必要です

推奨アクション

人による確認またはサンドボックス検証後に第一候補として使用します。

品質プロファイル

優秀 Agent ワークフロー向けの候補

採用度と保守性のシグナルが強い高信頼候補です。

100
GitHub スター
30K
鮮度
今日
インストール準備完了
はい
ライセンス
MIT

ワークフロー適合

このスキルを使うシナリオ

ワークフロー適合

完全なワークフローに追加

代替候補

インストール前に比較

このタスクに適する可能性のある類似スキル。

すべて比較

概要

--- name: vercel-react-best-practices description: React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements. license: MIT metadata: author: vercel version: "1.0.0" ---

# Vercel React Best Practices

Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 70 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

## When to Apply

Reference these guidelines when: - Writing new React components or Next.js pages - Implementing data fetching (client or server-side) - Reviewing code for performance issues - Refactoring existing React/Next.js code - Optimizing bundle size or load times

## Rule Categories by Priority

| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Eliminating Waterfalls | CRITICAL | `async-` | | 2 | Bundle Size Optimization | CRITICAL | `bundle-` | | 3 | Server-Side Performance | HIGH | `server-` | | 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` | | 5 | Re-render Optimization | MEDIUM | `rerender-` | | 6 | Rendering Performance | MEDIUM | `rendering-` | | 7 | JavaScript Performance | LOW-MEDIUM | `js-` | | 8 | Advanced Patterns | LOW | `advanced-` |

## Quick Reference

### 1. Eliminating Waterfalls (CRITICAL)

- `async-cheap-condition-before-await` - Check cheap sync conditions before awaiting flags or remote values - `async-defer-await` - Move await into branches where actually used - `async-parallel` - Use Promise.all() for independent operations - `async-dependencies` - Use better-all for partial dependencies - `async-api-routes` - Start promises early, await late in API routes - `async-suspense-boundaries` - Use Suspense to stream content

### 2. Bundle Size Optimization (CRITICAL)

- `bundle-barrel-imports` - Import directly, avoid barrel files - `bundle-analyzable-paths` - Prefer statically analyzable import and file-system paths to avoid broad bundles and traces - `bundle-dynamic-imports` - Use next/dynamic for heavy components - `bundle-defer-third-party` - Load analytics/logging after hydration - `bundle-conditional` - Load modules only when feature is activated - `bundle-preload` - Preload on hover/focus for perceived speed

### 3. Server-Side Performance (HIGH)

- `server-auth-actions` - Authenticate server actions like API routes - `server-cache-react` - Use React.cache() for per-request deduplication - `server-cache-lru` - Use LRU cache for cross-request caching - `server-dedup-props` - Avoid duplicate serialization in RSC props - `server-hoist-static-io` - Hoist static I/O (fonts, logos) to module level - `server-no-shared-module-state` - Avoid module-level mutable request state in RSC/SSR - `server-serialization` - Minimize data passed to client components - `server-parallel-fetching` - Restructure components to parallelize fetches - `server-parallel-nested-fetching` - Chain nested fetches per item in Promise.all - `server-after-nonblocking` - Use after() for non-blocking operations

### 4. Client-Side Data Fetching (MEDIUM-HIGH)

- `client-swr-dedup` - Use SWR for automatic request deduplication - `client-event-listeners` - Deduplicate global event listeners - `client-passive-event-listeners` - Use passive listeners for scroll - `client-localstorage-schema` - Version and minimize localStorage data

### 5. Re-render Optimization (MEDIUM)

- `rerender-defer-reads` - Don't subscribe to state only used in callbacks - `rerender-memo` - Extract expensive work into memoized components - `rerender-memo-with-default-value` - Hoist default non-primitive props - `rerender-dependencies` - Use primitive dependencies in effects - `rerender-derived-state` - Subscribe to derived booleans, not raw values - `rerender-derived-state-no-effect` - Derive state during render, not effects - `rerender-functional-setstate` - Use functional setState for stable callbacks - `rerender-lazy-state-init` - Pass function to useState for expensive values - `rerender-simple-expression-in-memo` - Avoid memo for simple primitives - `rerender-split-combined-hooks` - Split hooks with independent dependencies - `rerender-move-effect-to-event` - Put interaction logic in event handlers - `rerender-transitions` - Use startTransition for non-urgent updates - `rerender-use-deferred-value` - Defer expensive renders to keep input responsive - `rerender-use-ref-transient-values` - Use refs for transient frequent values - `rerender-no-inline-components` - Don't define components inside components

### 6. Rendering Performance (MEDIUM)

- `rendering-animate-svg-wrapper` - Animate div wrapper, not SVG element - `rendering-content-visibility` - Use content-visibility for long lists - `rendering-hoist-jsx` - Extract static JSX outside components - `rendering-svg-precision` - Reduce SVG coordinate precision - `rendering-hydration-no-flicker` - Use inline script for client-only data - `rendering-hydration-suppress-warning` - Suppress expected mismatches - `rendering-activity` - Use Activity component for show/hide - `rendering-conditional-render` - Use ternary, not && for conditionals - `rendering-usetransition-loading` - Prefer useTransition for loading state - `rendering-resource-hints` - Use React DOM resource hints for preloading - `rendering-script-defer-async` - Use defer or async on script tags

### 7. JavaScript Performance (LOW-MEDIUM)

- `js-batch-dom-css` - Group CSS changes via classes or cssText - `js-index-maps` - Build Map for repeated lookups - `js-cache-property-access` - Cache object properties in loops - `js-cache-function-results` - Cache function results in module-level Map - `js-cache-storage` - Cache localStorage/sessionStorage reads - `js-combine-iterations` - Combine multiple filter/map into one loop - `js-length-check-first` - Check array length before expensive comparison - `js-early-exit` - Return early from functions - `js-hoist-regexp` - Hoist RegExp creation outside loops - `js-min-max-loop` - Use loop for min/max instead of sort - `js-set-map-lookups` - Use Set/Map for O(1) lookups - `js-tosorted-immutable` - Use toSorted() for immutability - `js-flatmap-filter` - Use flatMap to map and filter in one pass - `js-request-idle-callback` - Defer non-critical work to browser idle time

### 8. Advanced Patterns (LOW)

- `advanced-effect-event-deps` - Don't put `useEffectEvent` results in effect deps - `advanced-event-handler-refs` - Store event handlers in refs - `advanced-init-once` - Initialize app once per app load - `advanced-use-latest` - useLatest for stable callback refs

## How to Use

Read individual rule files for detailed explanations and code examples:

``` rules/async-parallel.md rules/bundle-barrel-imports.md ```

Each rule file contains: - Brief explanation of why it matters - Incorrect code example with explanation - Correct code example with explanation - Additional context and references

## Full Compiled Document

For the complete guide with all rules expanded: `AGENTS.md`

プラットフォーム互換性

codexFULL
claude-codeFULL
cursorFULL
reactFULL
next.jsFULL

技術詳細

バージョン
1.0.0
ライセンス
MIT
最終更新
2026年8月22日
公開日
2026年7月21日

フレームワークとツール

CodexClaude CodeCursorReactNext.js

判断の要約

第一候補

100
準備完了
採用
段階

GitHub スター 30,321

監査

インストールレビュー

インストールと採用のレビュー

94
試用可
セキュリティ
87/100
メンテナンス
100/100
インストール
92/100
完全な監査を開く評価レポートを見る

Agent 実証エビデンス

Agent 実証エビデンス

Resolve、レビュー、インストール、限定実行後の成果レポート。

0
実証済み
Needs first agent run自動インストール: 先にレビュー最新: 不明
成功率
直近の失敗
成果
0
出力品質
失敗
0
非該当
0
インストール数
0
リスクによりブロック
0
設定が必要
0
本番
0

Agent の実行結果はまだありません。最初の実行では /api/agent/outcome を通じて成功、設定要件、リスクによるブロック、失敗、非該当を報告できます。

インストール

Agent ワークフローに追加

無料・オープンソース. 本番 Agent にインストールする前にレポートを確認してください。

成長ループ

共有キット

X

Vercel React Best Practices 用のシナリオベース草案です。X へ手動投稿できます。

キュレーターノート
Vercel React Best Practices: React and Next.js performance guidance for writing, reviewing, and refactoring production UI...

30.3K stars

https://www.openagentskill.com/skills/vercel-react-best-practices?ref=x
X 下書きを開く
任意:インストールコマンド付きの返信
Listing + install path for Vercel React Best Practices:
https://www.openagentskill.com/skills/vercel-react-best-practices?ref=x

Install: npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
返信の下書きを開く

掲載元

Registry により登録

申請可能

この掲載は公開ソースから登録されており、メンテナー申請が承認されるまで公式として表示されません。

作成者
vercel-labs
インデックス作成者
OpenAgentSkill コミュニティインデックス

帰属は公開リポジトリまたは作成者プロフィールにリンクされています。作成者は掲載を申請して所有権シグナルを更新できます。

このスキルを申請

所有者の申請

このスキル掲載を申請

この Registry により登録 掲載は vercel-labs に帰属していますが、まだ公式として表示されていません。申請すると、確認済み所有者シグナルが追加され、今後の公開、インストール、監査更新の信頼性が高まります。

クリエイター被リンクキット

README にエビデンスバッジを追加

開発者がリポジトリを評価する場所で、正規掲載、現在の信頼・監査シグナル、実際の Agent-Proven エビデンスを表示します。

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/vercel-react-best-practices?metric=listed&label=Listed)](https://www.openagentskill.com/skills/vercel-react-best-practices)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/vercel-react-best-practices?metric=trust&label=Trust)](https://www.openagentskill.com/skills/vercel-react-best-practices)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/vercel-react-best-practices?metric=audit&label=Audit)](https://www.openagentskill.com/skills/vercel-react-best-practices/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/vercel-react-best-practices?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/vercel-react-best-practices)

作者

V

vercel-labs

@vercel-labs

プラットフォーム適合

健全性シグナル

GitHub スター
30.3K
品質スコア
75/100
最終 GitHub プッシュ
2026年8月22日
フレームワークのヒント
5
OpenAgentSkill 閲覧数
54
インストールコピー数
4
外部クリック
0

コミュニティシグナル

このスキルが Agent ワークフローに役立つかを共有してください。集約されたフィードバックがランキングを改善します。

信頼と安全性

レビュー後にインストール

86
  • GitHub 採用度GitHub スター 30K合格
  • スター/フォーク活動スター 30K、フォーク 2.7K; 現在のメタデータでは Issue 活動を利用できません合格
  • 最近のメンテナンス本日プッシュ合格
  • ライセンスの明確さMIT合格
  • README/SKILL.md の完全性メタデータには十分な利用・ワークフロー文脈があります合格
  • 依存関係/ランタイムのリスクnetwork or browser surface合格