react-best-practices

Enforce React and Next.js performance best practices during code reviews and refactors.

1|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/tylergibbs1/codewarden --skill react-best-practices-tylergibbs1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/tylergibbs1/codewarden/tree/main/skills/react-best-practices
Command: npx skills add https://github.com/tylergibbs1/codewarden --skill react-best-practices-tylergibbs1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

React and Next.js performance patterns are often inconsistently applied, leading to waterfalls, bloated bundles, and suboptimal rendering. This skill standardizes guidance to improve code quality and UX.

Core Features & Use Cases

  • Guided Rules: Provides prioritized patterns for data fetching, Server Components, App Router conventions, and bundle optimization.
  • Review & Refactor: Offers actionable recommendations during code reviews and refactors to boost performance.
  • Use Case: When starting a new React/Next.js project or assessing an existing codebase, apply these guidelines to shape architecture and performance expectations.

Quick Start

Run a quick assessment on a React/Next.js project to surface a prioritized list of performance improvements.

Frequently Asked Questions about 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 during code reviews?

Optimize React and Next.js performance by enforcing prioritized best practices for data fetching, Server Components, and bundle size reduction. It provides actionable recommendations to eliminate waterfalls and improve rendering during reviews and refactors.

What are the best practices for reducing bundle size in Next.js App Router?

Best practices for reducing bundle size in Next.js App Router include applying performance-aware bundling patterns and optimizing Server Components. This skill codifies actionable rules to prevent bloated bundles and suboptimal rendering.

How do I eliminate data fetching waterfalls in React Server Components?

Eliminate data fetching waterfalls in React Server Components by applying standardized guidance for optimized data fetching strategies. This ensures patterns prevent sequential requests and improve overall code quality and UX.

Can I use this to assess an existing React codebase for performance improvements?

Yes, you can assess an existing React or Next.js codebase by running a quick assessment to surface a prioritized list of performance improvements. It shapes architecture expectations by applying standardized performance guidelines.

When should I implement Suspense boundaries for React performance optimization?

Implement Suspense boundaries for React performance optimization when establishing effective loading states and managing rendering flow. This skill provides actionable patterns for implementing boundaries correctly to boost user experience.

Does this skill work with Next.js Server Components and client data fetching?

Yes, this skill works with Next.js Server Components and client data fetching by codifying actionable patterns for both. It standardizes guidance across App Router conventions to improve code quality and eliminate suboptimal rendering.