agentleFS
quaylabshqquaylabshq/skill-graph/skills/reforged/vercel-react-best-practices/SKILL.md

vercel-react-best-practices

Skill10 starsChanged 9 months agoMITView on GitHub

React and Next.js performance optimization guide with 58 rules across 8 priority categories. Use when writing new React components, implementing data fetching, reviewing code for performance, refactoring React/Next.js code, or optimizing bundle size and load times. Covers async waterfalls, bundle size, server-side performance, client-side data fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns.

182 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use next-cache-components, vercel-composition-patterns and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • VercelSkill

    next-cache-components

    Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag

    Also in 7 projects that use this

  • SentrySkill

    vercel-composition-patterns

    Also in 45 projects that use this

  • SentrySkill

    next-best-practices

    Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

    Also in 20 projects that use this

  • jarrodwattsSkill

    react-useeffect

    React useEffect best practices from official docs. Use when writing/reviewing useEffect, useState for derived values, data fetching, or state synchronization. Teaches when NOT to use Effect and better alternatives.

    Also in 5 projects that use this

  • VercelSkill

    vercel-react-native-skills

    Also in 17 projects that use this

  • itsyasirkhandevSkill

    tailwind-css-patterns

    Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices. Use when styling React/Vue/Svelte components, building responsive layouts, implementing design systems, or optimizing CSS workflow.

    Also in 3 projects that use this

  • +3 more from vercel-labs

The file

We split this skill into the rules it gives an agent

1 rule. 1 is common, 0 are distinctive, and 0 are very specific to this project.

  • 1

    Common

    Most of the 177 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Read individual rule files for detailed explanations and code examples

    line 36

“Common” is measured: kept by at least 6 in 10 of the 177 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Vercel React Best Practices

Navigable reference graph for React/Next.js performance optimization. 58 rules organized by priority and impact.

Rule Categories by Priority

PriorityCategoryImpactReference
1Eliminating WaterfallsCRITICALreferences/async-waterfalls/overview.md
2Bundle Size OptimizationCRITICALreferences/bundle-size/overview.md
3Server-Side PerformanceHIGHreferences/server-performance/overview.md
4Client-Side Data FetchingMEDIUM-HIGHreferences/client-data-fetching/overview.md
5Re-render OptimizationMEDIUMreferences/rerender-optimization/overview.md
6Rendering PerformanceMEDIUMreferences/rendering-performance/overview.md
7JavaScript PerformanceLOW-MEDIUMreferences/js-performance/overview.md
8Advanced PatternsLOWreferences/advanced-patterns/overview.md

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

How to Use

  1. Identify which category matches your current task
  2. Navigate to that category's overview for a summary of all rules
  3. Read individual rule files for detailed explanations and code examples
  4. Each rule includes incorrect/correct code patterns

Extensions

TopicReference
Future extensions & contribution patternsreferences/extensions.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.