react-dev

Build type-safe React components and routing integrations in TypeScript.

2|7|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/chidekina/aria-superpowers --skill react-dev-chidekina
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-dev
Source: https://github.com/chidekina/aria-superpowers/tree/main/skills/react-dev
Command: npx skills add https://github.com/chidekina/aria-superpowers --skill react-dev-chidekina

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building modern React apps with TypeScript can be error-prone when components, hooks, events, and routing patterns are not consistently typed. This skill provides a structured approach to implement type-safe React UI and routing practices across client/server boundaries.

Core Features & Use Cases

  • Type-safe React patterns for components, events, and hooks across client/server boundaries.
  • Server Components and Server Actions integration with TanStack Router and React Router.
  • Reusable generics, discriminated unions, and typed routing data for scalable apps.
  • Use cases include building robust UI components, data dashboards, and navigation-driven features.

Quick Start

Create a new React TypeScript component with typed props and events, then wire it into a TanStack Router or React Router route.

Frequently Asked Questions about react-dev

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

FAQPage Schema
How do I build type-safe React components with TypeScript across server and client boundaries?

Type-safe React components are built by applying generic typing, discriminated unions, and strict server/client boundary definitions in TypeScript. This ensures compile-time validation for props, events, and server actions across React 18 and 19 architectures.

What is the best way to type React Router or TanStack Router routes in TypeScript?

Typing router routes in TypeScript involves applying compile-time route typing patterns to match path parameters and search data. This approach integrates TanStack Router or React Router to provide fully typed navigation and data loading for scalable applications.

How do I type event handling and useActionState in modern React applications?

Typing event handling and useActionState requires defining precise TypeScript interfaces for synthetic events and action payloads. This enables strict type checking for form submissions and state transitions within React server components and client interactions.

Can I use generic components and discriminated unions to create scalable React UI patterns?

Generic components and discriminated unions can be used to create scalable React UI patterns by enforcing flexible yet strictly typed props. This allows reusable component logic to safely handle multiple data shapes and render states at compile time.

When do I need strict TypeScript typing for React server components and hooks?

Strict TypeScript typing for React server components and hooks is needed when building data dashboards or navigation-driven features that cross server/client boundaries. It prevents runtime errors by validating data fetching and state management during development.

Why does my React TypeScript routing integration fail to recognize typed path parameters?

React TypeScript routing integrations fail to recognize typed path parameters when route definitions lack explicit compile-time typing. Applying typed routing patterns ensures path parameters and search data are correctly inferred and validated across the application.