react19
Promotes React 19 APIs and modern patterns like Server Actions and compiler-optimized hooks.
Install
mkdir -p .claude/skills/react19 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14474" && unzip -o skill.zip -d .claude/skills/react19 && rm skill.zipInstalls to .claude/skills/react19
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Patrones y APIs de React 19. Usa cuando trabajes con componentes, hooks, o cualquier codigo React para asegurar que se usen las APIs mas recientes.Key capabilities
- →Use `use()` hook for reading promises and context
- →Implement forms with `useActionState()` for server actions
- →Manage form status in child components with `useFormStatus()`
- →Apply optimistic UI updates with `useOptimistic()`
- →Pass `ref` as a normal prop without `forwardRef`
- →Use `<Context>` directly as a provider
How it works
This skill guides the use of modern React 19 APIs and patterns, such as `use()` and `useActionState()`, while discouraging obsolete practices.
Inputs & outputs
When to use react19
- →Implement React 19 forms
- →Manage server actions
- →Optimise component hooks
About this skill
React 19 - Patrones Modernos
Cuando escribas codigo React para PROSEGUIT, usa exclusivamente APIs de React 19:
APIs nuevas de React 19
use()hook: Para leer promesas y contexto directamenteuseActionState(): ReemplazauseReducerpara form actionsuseFormStatus(): Estado de formularios en componentes hijosuseOptimistic(): Actualizaciones optimistas de UI- React Compiler: No usar
useMemo,useCallback,memomanualmente - el compilador los maneja
Patrones a seguir
- Formularios con
<form action={...}>nativo (Server Actions pattern) refcomo prop normal (ya no necesitaforwardRef)<Context>como provider directo (ya no<Context.Provider>)- Metadata con
<title>,<meta>,<link>directamente en componentes - Stylesheet precedence con
precedenceprop en<link>
Patrones a EVITAR (obsoletos)
- NO usar
forwardRef-> pasarrefcomo prop - NO usar
<Context.Provider>-> usar<Context>directo - NO usar
useMemo/useCallback/memoinnecesariamente -> React Compiler - NO usar
useEffectpara fetch -> usaruse()con Suspense - NO usar
useContext-> usaruse(Context)
Estructura de componentes PROSEGUIT
// Componente funcional simple con CSS modules
import styles from './MiComponente.module.css';
function MiComponente({ datos, ref }) {
return (
<div className={styles.container} ref={ref}>
{datos}
</div>
);
}
When not to use it
- →When using legacy React APIs like `forwardRef` or `useEffect` for data fetching
- →When manually applying `useMemo`, `useCallback`, or `memo` unnecessarily
- →When not working with React 19 or later
Limitations
- →This skill strictly enforces the use of React 19 APIs.
- →It explicitly prohibits `forwardRef` and `<Context.Provider>`.
- →It discourages `useEffect` for data fetching in favor of `use()` with Suspense.
How it compares
This workflow focuses on the latest React 19 features and compiler optimizations, moving away from manual memoization and legacy context providers.
Compared to similar skills
react19 side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| react19 (this skill) | 0 | 4mo | No flags | Intermediate |
| nextjs-developer | 328 | 2mo | No flags | Advanced |
| zustand | 113 | 2mo | No flags | Intermediate |
| ui-ux-expert-skill | 91 | 9mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
nextjs-developer
zenobi-us
Expert Next.js developer mastering Next.js 14+ with App Router and full-stack features. Specializes in server components, server actions, performance optimization, and production deployment with focus on building fast, SEO-friendly applications.
zustand
lobehub
Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.
ui-ux-expert-skill
fercracix33
Technical workflow for implementing accessible React user interfaces with shadcn/ui, Tailwind CSS, and TanStack Query. Includes 6-phase process with mandatory Style Guide compliance, Context7 best practices consultation, Chrome DevTools validation, and WCAG 2.1 AA accessibility standards. Use after Test Agent, Implementer, and Supabase agents complete their work.
web-artifacts-builder
anthropics
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
accessibility-compliance
wshobson
Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive design patterns, and assistive technology support. Use when auditing accessibility, implementing ARIA patterns, building for screen readers, or ensuring inclusive user experiences.
radix-ui-design-system
sickn33
Build accessible design systems with Radix UI primitives. Headless component customization, theming strategies, and compound component patterns for production-grade UI libraries.