Web
Featured
React Best Practices
Performance notes for React and Next.js: rendering, data fetching, and bundle size.
Author: Vercel Labs https://github.com/vercel-labs
A checklist the agent can apply while writing or reviewing React. It covers waterfalls, bundle weight, and server and client boundaries.
When to use
- You are writing or reviewing a React or Next.js screen.
- A page is slow and you want the agent to look at the usual causes.
When to skip
- The project is not React.
- You only asked for a copy change.
Platforms
- Claude Code
- Codex
- Cursor
- Gemini CLI
Install command
npx skills add vercel-labs/agent-skills@react-best-practices
Where it is installed
- Claude Code: ~/.claude/skills/react-best-practices/
- Codex: ~/.codex/skills/react-best-practices/
- Cursor: .cursor/skills/react-best-practices/
- Gemini CLI: ~/.gemini/skills/react-best-practices/
Install the file yourself
Claude Code
mkdir -p ~/.claude/skills/react-best-practices && curl -fsSL -o ~/.claude/skills/react-best-practices/SKILL.md https://raw.githubusercontent.com/vercel-labs/agent-skills/main/skills/react-best-practices/SKILL.md
Codex
mkdir -p ~/.codex/skills/react-best-practices && curl -fsSL -o ~/.codex/skills/react-best-practices/SKILL.md https://raw.githubusercontent.com/vercel-labs/agent-skills/main/skills/react-best-practices/SKILL.md
Cursor
mkdir -p .cursor/skills/react-best-practices && curl -fsSL -o .cursor/skills/react-best-practices/SKILL.md https://raw.githubusercontent.com/vercel-labs/agent-skills/main/skills/react-best-practices/SKILL.md
Gemini CLI
mkdir -p ~/.gemini/skills/react-best-practices && curl -fsSL -o ~/.gemini/skills/react-best-practices/SKILL.md https://raw.githubusercontent.com/vercel-labs/agent-skills/main/skills/react-best-practices/SKILL.md
