Claude Code Plugins

Community-maintained marketplace

Feedback

react-best-practices

@anntnzrb/agents
0
0

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.

Install Skill

Shared

Installs to .agents/skills, used by Codex, Amp, Warp, Cursor, OpenCode, and more.

CodexAmp
Warp
CursorOpenCode
Cline
Gemini CLI
GitHub Copilot
Personal

Available across projects.

$npx skills-installer add @anntnzrb/agents/react-best-practices --client shared
Project

Writes to .agents/skills.

$npx skills-installer add @anntnzrb/agents/react-best-practices -p --client shared
Note: Review the skill instructions before using it.

SKILL.md

name 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 GPL-3.0-or-later
metadata [object Object]
allowed-tools
disable-model-invocation true

Vercel React Best Practices

React and Next.js performance optimization guidance from Vercel Engineering. Use the smallest relevant rule set for the task; do not apply every rule opportunistically.

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

Routing

Need Load
Pick a rule category by impact rules/_sections.md
Apply a specific optimization Matching rules/<rule-id>.md
Review all expanded Vercel guidance references/vercel-guide.md
Package overview for humans README.md

Category Prefixes

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

Use

  1. Start from the user-visible outcome or observed bottleneck.
  2. Load rules/_sections.md to choose the relevant category.
  3. Load only the matching rule files needed for the change.
  4. Use references/vercel-guide.md only when a rule file is insufficient or a broad review requires the full compiled guide.