MCP.so
Sign In

vercel-react-best-practices

vercel-labs / agent-skills

About vercel-react-best-practices

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.

#React#Next.js

Install vercel-react-best-practices

npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-best-practices

Basic information

Category

Development

Repository

vercel-labs / agent-skills

Skill

vercel-react-best-practices

What it does

  • Organized into 8 categories from critical (eliminating waterfalls, bundle optimization) to low priority (advanced patterns), each with specific, actionable rules prefixed for easy reference

  • Covers server-side performance including React.cache() deduplication, parallel fetching, and serialization minimization

  • Addresses client-side concerns: re-render optimization through memoization and dependency management, rendering performance with CSS strategies and hydration patterns

  • Includes JavaScript-level optimizations like DOM batching, caching, and Set/Map lookups for O(1) performance

  • Each rule includes detailed explanations, incorrect and correct code examples, and contextual guidance for automated refactoring and code generation

More skills in Development

improve-codebase-architecture

mattpocock / skills

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

shadcn

shadcn / ui

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".

caveman-compress

juliusbrussee / caveman

Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"

caveman-stats

juliusbrussee / caveman

Show real token usage and estimated savings for the current session. Reads directly from the Claude Code session log — no AI estimation. Triggers on /caveman-stats. Output is injected by the mode-tracker hook; the model itself does not compute the numbers.

full-output-enforcement

leonxlnx / taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

git-guardrails-claude-code

mattpocock / skills

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.