vercel-react-best-practices

Audit React and Next.js applications against 70+ Vercel performance rules.

2|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/laymouna7/threatfusion --skill vercel-react-best-practices-laymouna7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/laymouna7/threatfusion/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/laymouna7/threatfusion --skill vercel-react-best-practices-laymouna7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses performance bottlenecks in React and Next.js applications by providing a comprehensive, expert-curated set of rules to eliminate waterfalls, optimize bundle sizes, and improve rendering efficiency.

Core Features & Use Cases

  • Performance Auditing: Provides 70+ actionable rules to identify and fix common React performance issues.
  • Automated Refactoring Guidance: Offers clear incorrect vs. correct code patterns for AI agents to follow during code generation or maintenance.
  • Use Case: Use this Skill when refactoring a slow Next.js page to identify if you are suffering from unnecessary barrel imports, sequential data fetching waterfalls, or inefficient re-renders.

Quick Start

Apply the vercel-react-best-practices skill to review the current component and suggest optimizations for eliminating data fetching waterfalls.

Frequently Asked Questions about vercel-react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize React and Next.js performance and reduce bundle size?

To optimize React and Next.js performance, you can apply over 70 actionable rules to eliminate sequential data fetching waterfalls, fix unnecessary barrel imports, and reduce bundle sizes for improved load times.

How do I fix data fetching waterfalls in Next.js applications?

Fixing data fetching waterfalls in Next.js involves refactoring sequential data requests into parallel patterns using provided incorrect versus correct code examples, ensuring efficient data fetching and faster page loads.

What is the best way to prevent unnecessary re-renders in React components?

Preventing unnecessary React re-renders requires following strict Vercel engineering standards and performance auditing guidelines that identify inefficient rendering patterns and provide correct code refactoring structures.

Can I use these React performance best practices to guide AI code generation?

Yes, you can use these React performance best practices to guide AI code generation by providing clear incorrect vs. correct code patterns that AI agents follow during code maintenance or automated refactoring.

How do I identify barrel imports slowing down my web development build?

Identifying slow barrel imports in web development involves auditing your component structure against expert-curated rules to eliminate unnecessary dependencies and significantly reduce your final JavaScript bundle size.