--- description: React development toolkit — component scaffolding, routing, state management, and linting --- # /react React frontend development toolkit with component scaffolding, routing, state management, and anti-pattern detection. ## Sub-commands | Sub-command | Description | |-------------|-------------| | `/react setup` | Setup wizard for React project detection and configuration | | `/react component` | Scaffold component with props, types, and tests | | `/react route` | Add route with page component and error boundary | | `/react state` | Set up state management pattern (Context, Zustand, Redux Toolkit) | | `/react hook` | Generate custom hook with types and tests | | `/react lint` | Validate component tree and detect anti-patterns |