·react-best-practices
</>

react-best-practices

gohypergiant/agent-skills

React performance optimization and best practices. Use when writing React components, hooks, or JSX; refactoring React code; optimizing re-renders, memoization, or state management; reviewing React code for performance issues; fixing hydration mismatches; or implementing transitions, lazy initialization, or effect dependencies. Covers React 19+ features including useEffectEvent, Activity component, and ref props.

19Installs·0Trend·@gohypergiant

Installation

$npx skills add https://github.com/gohypergiant/agent-skills --skill react-best-practices

SKILL.md

Comprehensive performance optimization and best practices for React applications, designed for AI agents and LLMs working with React code.

This skill uses a progressive disclosure structure to minimize context usage:

Start with the Overview (AGENTS.md) Read AGENTS.md for a concise overview of all rules with one-line summaries.

React performance optimization and best practices. Use when writing React components, hooks, or JSX; refactoring React code; optimizing re-renders, memoization, or state management; reviewing React code for performance issues; fixing hydration mismatches; or implementing transitions, lazy initialization, or effect dependencies. Covers React 19+ features including useEffectEvent, Activity component, and ref props. Source: gohypergiant/agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/gohypergiant/agent-skills --skill react-best-practices
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is react-best-practices?

React performance optimization and best practices. Use when writing React components, hooks, or JSX; refactoring React code; optimizing re-renders, memoization, or state management; reviewing React code for performance issues; fixing hydration mismatches; or implementing transitions, lazy initialization, or effect dependencies. Covers React 19+ features including useEffectEvent, Activity component, and ref props. Source: gohypergiant/agent-skills.

How do I install react-best-practices?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/gohypergiant/agent-skills --skill react-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/gohypergiant/agent-skills