What problem does it solve? React codebases accumulate subtle bugs from derived state in effects, misplaced state, missing cleanup, and ad-hoc data fetching. This Skill provides a decision framework and concrete patterns for writing idiomatic React 18/19 components that avoid these pitfalls. ## Core Features & Use Cases - Hooks Discipline & State Decisions: Enforces top-level hooks, cleanup of subscriptions, functional updaters, and a decision tree for choosing between useState, lifted state, Context, and external stores like Zustand or TanStack Query. - Server/Client Component Boundaries: Covers RSC composition rules, React 19 form actions with useActionState, useOptimistic, and Suspense plus error boundary placement. - Composition & Performance Recipes: Provides slot, compound component, and render prop patterns, plus guidance on when React.memo, context splitting, and list virtualization actually help. - Use Case: When reviewing a TSX pull request, apply the state location decision tree and data fetching matrix to flag useEffect-based fetching and derived state stored in useState. ## Quick Start Ask the assistant to review your React component or design a new one using the react-patterns skill, for example by requesting a form built with React 19 actions and proper error boundaries.