react-best-practices
Skill4 starsChanged 5 months agoMITView on GitHub
React/Next.js best-practices reviewer for TSX/JSX. Triggers when writing or reviewing React components to check structure, hooks, accessibility, performance, and TypeScript patterns.
38 other projects use a version of this.
Adopted by
Most recently taken up by
- baekenough/oh-my-customcodetheir own version, first seen Oct 3, 2026
- BytePioneer-AI/codex-hosttheir own version, first seen Oct 2, 2026
- laguagu/claude-code-nextjs-skillstheir own version, first seen Sep 30, 2026
- Isabella-a/Skillstheir own version, first seen Sep 27, 2026
- sabahattink/antigravity-fullstack-hqtheir own version, first seen Sep 20, 2026
- drinkspiller/skillstheir own version, first seen Sep 16, 2026
Used with
Projects with it also use parallel-agents, python-best-practices and 6 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.
parcadeiSkillparallel-agents
Parallel Agent Orchestration
Also in 3 projects that use this
jefflesterSkillpython-best-practices
Python development best practices including PEP 8 style guidelines, type hints, docstring conventions, and common patterns. Use when writing or modifying Python code.
Also in 3 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
Also in 7 projects that use this
xfstudioSkillclean-code
Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
Also in 3 projects that use this
ttmouseSkillnotebooklm
Automate Google NotebookLM - create notebooks, add sources, generate podcasts/videos/quizzes, download artifacts. Supports browser-based content extraction for anti-crawler platforms (Twitter/X, LinkedIn, etc.). Activates on explicit /notebooklm or intent like "create a podcast about X
Also in 3 projects that use this
MicrosoftSkillmcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Also in 6 projects that use this
Other versions38 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 38
- openai/plugins★ 7.3ksame name
- BytePioneer-AI/codex-host★ 2.7ksame name
- vercel/vercel-plugin★ 297same name
- mxyhi/token_proxy★ 94same name
- laguagu/claude-code-nextjs-skills★ 67same name
- baekenough/oh-my-customcode★ 43same name
- tdimino/claude-code-minoan★ 40same name
- itallstartedwithaidea/agent-skills★ 39same name
- ttmouse/skills★ 34same name
- sabahattink/antigravity-fullstack-hq★ 30same name
28 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository63 other files it gives its agents.
- .claude/skills/nestjs-best-practices/AGENTS.mdAGENTS.md
- accessibility-a11ySkill
- architecture-blueprint-generatorSkill
- backend-delivery-loopSkill
- backend-designSkill
- backend-dev-guidelinesSkill
- backend-testingSkill
- backend-to-frontend-handoff-docsSkill
- building-componentsSkill
- bullmq-specialistSkill
- canvas-designSkill
- code-patternsSkill
- components-composition-patternsSkill
- conventional-commitSkill
- core-web-vitalsSkill
- create-svgSkill
- css-architectureSkill
- cypress-authorSkill
- cypress-docsSkill
- cypress-explainSkill
- delivery-loop-retroSkill
- diagnoseSkill
- fastify-best-practicesSkill
- figma-code-connectSkill
- frontend-delivery-loopSkill
- frontend-fundamentalsSkill
- fullstack-delivery-loopSkill
- grill-meSkill
- hunt-race-conditionSkill
- impeccableSkill
- mermaid-diagramsSkill
- nestjs-best-practicesSkill
- nextjs-best-practicesSkill
- nextjs-performanceSkill
- nodejs-backend-patternsSkill
- owasp-security-reviewSkill
- performance-hunterSkill
- playwright-best-practicesSkill
- postgresql-code-reviewSkill
- postgresql-optimizationSkill
- postmanSkill
- prisma-postgresSkill
- pro-state-machineSkill
- race-conditionSkill
- react-performanceSkill
- react-querySkill
- redis-coreSkill
- redis-query-engineSkill
- redis-securitySkill
- refactorSkill
- review-panelSkill
- run-delivery-chainSkill
- spec-drivenSkill
- sql-optimizationSkill
- system-designSkill
- testing-strategySkill
- tune-skills-and-agentsSkill
- ui-ux-pro-maxSkill
- vercel-react-view-transitionsSkill
- viteSkill
- The first 60 shown.
The file
Files
Vercel React Best Practices
Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 64 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Rule Categories by Priority
| Priority | Category | Impact | Prefix | Reference |
| 1 | Eliminating Waterfalls | CRITICAL | async- | references/eliminating-waterfalls.md |
| 2 | Bundle Size Optimization | CRITICAL | bundle- | references/bundle-size.md |
| 3 | Server-Side Performance | HIGH | server- | references/server-performance.md |
| 4 | Client-Side Data Fetching | MEDIUM-HIGH | client- | references/client-data-fetching.md |
| 5 | Re-render Optimization | MEDIUM | rerender- | references/rerender-optimization.md |
| 6 | Rendering Performance | MEDIUM | rendering- | references/rendering-performance.md |
| 7 | JavaScript Performance | LOW-MEDIUM | js- | references/javascript-performance.md |
| 8 | Advanced Patterns | LOW | advanced- | references/advanced-patterns.md |
References
Each file is loaded on demand — read one only when the task needs that depth (progressive disclosure).
references/eliminating-waterfalls.md— parallelize independent async work (Promise.all,better-all), defer await into the branch that needs it, stream with Suspense, and start promises early in API routes/Server Actions · read when touching async data flow,awaitchains, API routes, or Server Actions.references/bundle-size.md— import directly (no barrel files),next/dynamicfor heavy components, defer third-party scripts past hydration, load modules conditionally, and preload on user intent · read when reducing bundle size, code-splitting, or adding third-party/analytics scripts.references/server-performance.md— authenticate server actions, dedupe withReact.cache()/LRU, hoist static I/O, parallelize fetches, minimize RSC prop serialization, and useafter()for non-blocking work · read when writing Server Components, Server Actions, or RSC data fetching.references/client-data-fetching.md— SWR request deduplication, shared/passive global event listeners, and versioned, minimal localStorage · read when fetching on the client, attaching window/document listeners, or persisting to storage.references/rerender-optimization.md— subscribe narrowly (defer reads, derived booleans), derive state during render not effects, functional/lazyuseState,React.memocorrectly, split hooks, transitions/useDeferredValue, and refs for transient values · read when diagnosing or preventing unnecessary re-renders and effect churn.references/rendering-performance.md— hoist static JSX,content-visibility/Activityfor offscreen work, animate wrappers not SVGs, SVG precision, explicit conditional rendering, hydration without flicker, and resource/script hints · read when optimizing render cost, hydration flicker, SVG/animation, or<script>/preload tags.references/javascript-performance.md— index maps and Set/Map O(1) lookups, cached property/function/storage reads, single-pass iteration (flatMap, combined loops), early exits, hoisted RegExp, loop-based min/max, andtoSorted· read when optimizing hot loops or data-structure-heavy JS.references/advanced-patterns.md— store event handlers in refs, initialize once per app load, anduseLatest/useEffectEventfor stable callback refs · read when stabilizing callback identity or guarding one-time initialization.
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
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.

