react-development

Implements React 19+ components and Tailwind CSS v4+ styles using current APIs and migration patterns.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/Domush/ai-agent-web-development-skills --skill react-development-domush
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: react-development
Source: https://github.com/Domush/ai-agent-web-development-skills/tree/main/skills/react-development
Command: npx skills add https://github.com/Domush/ai-agent-web-development-skills --skill react-development-domush

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? React 19 and Tailwind CSS v4 introduced breaking changes that invalidate older code patterns, causing developers to write deprecated code like forwardRef wrappers, tailwind.config.ts files, and removed utility classes without realizing it. ## Core Features & Use Cases - React 19+ API Reference: Covers new hooks (useActionState, useFormStatus, useOptimistic, use), Server Components, Server Actions, and breaking changes like ref-as-prop and Context-as-provider. - Tailwind v4+ Configuration Guide: Documents CSS-native @theme configuration, renamed utilities, dark mode setup, custom utilities, and v3-to-v4 migration paths. - Architecture Patterns: Provides component structure conventions, service classes, abstract base classes, and strategy patterns for typed, modular React code. - Use Case: When migrating a React 18 app with Tailwind v3, use this Skill to replace forwardRef with ref props, convert tailwind.config.ts to @theme directives, and update renamed utilities like shadow-sm to shadow-xs. ## Quick Start Use the react-development skill to refactor my component to React 19 patterns and update my Tailwind config to v4 CSS-native syntax.

Frequently Asked Questions about react-development

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

FAQPage Schema
How do I migrate from React 18 to React 19?▼

Replace forwardRef with ref as a regular prop, render Context directly instead of Context.Provider, swap ReactDOM.render for createRoot from react-dom/client, and replace propTypes/defaultProps with TypeScript interfaces and ES6 default parameters.

How do I configure Tailwind CSS v4 without tailwind.config.ts?▼

Tailwind v4 moves all configuration into CSS using the @theme directive after @import "tailwindcss". Define colors, fonts, spacing, and breakpoints as CSS custom properties like --color-primary, which automatically generate corresponding utility classes.

What replaced useFormState in React 19?▼

useActionState replaced useFormState for managing form submission state including pending status, errors, and results. It takes an async action function and initial state, returning the current state, a submit action, and an isPending flag.

Does Tailwind v4 still support the shadow-sm and blur-sm classes?▼

Yes, but their meanings shifted down one size step. The old shadow-sm is now shadow-xs, and old shadow is now shadow-sm. The same renaming applies to blur, drop-shadow, rounded, and backdrop-blur utilities.

When should I use Server Components versus Client Components in React 19?▼

Default to Server Components for data fetching, database queries, and secret handling since they render outside the client bundle. Add the 'use client' directive only when you need hooks, event handlers, or browser APIs.

Why did my bg-opacity-50 class stop working after upgrading Tailwind?▼

Tailwind v4 removed all *-opacity-* utilities like bg-opacity, text-opacity, and ring-opacity. Use the color opacity modifier syntax instead, such as bg-black/50 or bg-blue-500/50, which appends the opacity directly to the color utility.