What problem does it solve?
This Skill helps developers build maintainable React web interfaces without sacrificing test coverage, accessibility, component structure, or state-management discipline.
Core Features & Use Cases
- Test-First Development: Write and run component or hook tests before implementation, covering rendering, interactions, edge cases, and accessibility.
- Component Architecture: Organize functional components, explicit prop interfaces, reusable hooks, pages, services, and shared utilities.
- State and Data Management: Apply local state first, Zustand for global state, and React Query for server-state fetching and mutations.
- Production Patterns: Use React Router, protected routes, CSS Modules or Tailwind, React Hook Form with Zod, memoization, code splitting, and Playwright end-to-end tests.
- Use Case: Build a tested dashboard with reusable components, validated forms, cached API queries, protected routes, and accessible user interactions.
Quick Start
Use the react-web skill to create a tested React component by writing and running its tests before implementing the component.