react-practices

Optimize React and Next.js applications for performance and best practices.

7|2|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/LuisSambrano/antigravity-config --skill react-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-practices
Source: https://github.com/LuisSambrano/antigravity-config/tree/main/skills/3-web/react-practices
Command: npx skills add https://github.com/LuisSambrano/antigravity-config --skill react-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses common performance pitfalls in React and Next.js applications, ensuring code is efficient, fast, and scalable.

Core Features & Use Cases

  • Performance Optimization: Provides actionable rules for improving rendering speed, bundle size, and data fetching.
  • Best Practice Enforcement: Guides developers to write cleaner, more performant React/Next.js code.
  • Use Case: When building a new feature in a Next.js app, use this Skill to ensure all data fetching is optimized and component re-renders are minimized, leading to a smoother user experience.

Quick Start

Apply the react-practices skill to review the current code for performance bottlenecks.

Frequently Asked Questions about react-practices

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

FAQPage Schema
How do I optimize React and Next.js performance for data fetching and rendering?

To optimize React and Next.js performance, eliminate data fetching waterfalls, minimize component re-renders, and reduce bundle size. This skill provides actionable rules, detailed explanations, and code examples to enforce best practices for optimal speed.

What is the best way to reduce bundle size in a Next.js web application?

The best way to reduce bundle size in a Next.js web application is to apply performance optimization guidelines targeting bundle reduction and server-side efficiency. This skill enforces best practices through detailed explanations and code examples for immediate implementation.

Why does my React app have rendering bottlenecks and how do I fix them?

React rendering bottlenecks occur when performance pitfalls like unnecessary re-renders and data waterfalls exist. You can fix them by applying this skill's comprehensive optimization guidelines, which target critical areas to ensure your code is efficient, fast, and scalable.

Can I use this to review my existing web frontend code for performance issues?

Yes, you can apply this skill to review your existing web frontend code for performance bottlenecks. It targets developers and AI agents working on React and Next.js applications to ensure adherence to best practices for optimal speed and efficiency.

Does this skill provide code examples for Next.js server-side performance optimization?

Yes, this skill provides code examples for Next.js server-side performance optimization. It enforces rules through detailed explanations and immediate implementation examples covering critical areas like server-side performance and eliminating waterfalls.