vercel-react-best-practices

15530 stars 1400 forks
0
D

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.

#Vercel Engineering#performance#React#Next.js#data fetching#Next.js code#performance optimization#Vercel React

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install vercel-labs/agent-skills/vercel-react-best-practices
skilz install vercel-labs/agent-skills/vercel-react-best-practices --agent opencode
skilz install vercel-labs/agent-skills/vercel-react-best-practices --agent codex
skilz install vercel-labs/agent-skills/vercel-react-best-practices --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/vercel-labs/agent-skills
2. Copy the agent skill directory:
cp -r agent-skills/skills/react-best-practices ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Repository
agent-skills
Stars
15530
Forks
1400
Type
Other
Meta-Domain
Primary Domain
Market Score
0

Agent Skill Grade

D
Score: 60/100 Click to see breakdown

Score Breakdown

Spec Compliance
13/15
PDA Architecture
12/30
Ease of Use
17/25
Writing Style
8/10
Utility
11/20
Modifiers: -1

Recommendations

  • Focus on improving Pda (currently 12/30)
  • Focus on improving Utility (currently 11/20)
  • Add trigger phrases to description for discoverability

Graded: 2026-01-24

Developer Feedback

I noticed you're organizing React patterns into discrete, rule-based files—that's a smart move for agent consumption, but I'm curious how you're planning to keep these rules from becoming just another dusty style guide once the repository hits a certain size?

Links:

The TL;DR

You're at 60/100, which is D territory—this needs work before it's ready. The score is based on Anthropic's Claude Skills Best Practices rubric. Your strongest area is Spec Compliance (13/15)—your frontmatter is clean and you've got the required fields locked down. But you're bleeding points in Progressive Disclosure Architecture (12/30) and Utility (11/20). That's where the real opportunity is.

What's Working Well

  • Solid frontmatter structure - You've got valid YAML with all required fields, which is the foundation everything else needs
  • Clear build pipeline - Your pnpm scripts (build, validate, extract-tests) show good discipline around automation
  • Grep-friendly organization - The rules/ directory structure with consistent naming conventions (area-description.md) is structured in a way tools can actually parse

The Big One: No Reference Architecture

Here's what's killing your score: you have 0 reference files. The SKILL.md is 757 words sitting alone with no supporting documentation. Progressive Disclosure Architecture is about breaking knowledge into consumable layers—right now, an agent hits your skill and gets everything at once or nothing.

The fix: Create reference files for each major concept:

  • references/build-system.md - How the pnpm build process works
  • references/rule-template.md - The anatomy of a good rule file
  • references/impact-levels.md - What CRITICAL vs LOW actually mean...

AI-Detected Topics

Extracted using NLP analysis

Vercel Engineering performance React Next.js data fetching Next.js code performance optimization Vercel React Next.js performance React components

Report Security Issue

Found a security vulnerability in this agent skill?