What problem does it solve?
This skill eliminates TypeScript guesswork in React development by providing compile-time guarantees, confident refactoring, and production-ready patterns that catch bugs before runtime.
Core Features & Use Cases
- Type-Safe Components: Provides patterns for props, children, and discriminated unions for variant components.
- Modern React 19 Support: Includes guidance on Server Components, Server Actions, and the use() hook.
- Generic Components: Offers reusable patterns for tables, lists, and modals that infer types automatically.
- Use Case: When building a complex, reusable Table component, use this skill to implement generic constraints that ensure column keys match the data structure, providing full IDE autocompletion.
Quick Start
Use the react-dev skill to generate a type-safe button component that extends native HTML button props and supports variant-based styling.