react-web

Build tested React web interfaces with test-first development and TypeScript.

Updated Jun 19, 2026
One-click install
npx skills add https://github.com/lciacci/tessera --skill react-web-lciacci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-web
Source: https://github.com/lciacci/tessera/tree/main/skills/react-web
Command: npx skills add https://github.com/lciacci/tessera --skill react-web-lciacci

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about react-web

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

FAQPage Schema
How do I build React components with test-driven development?

Test-driven React development requires writing and running component or hook tests covering rendering, interactions, edge cases, and accessibility before implementing functional component logic. This prevents implementation from outpacing behavioral validation.

When should I use Zustand vs React Query for state management?

Use Zustand for global state management and React Query for server-state fetching and mutations. Apply local state first within your React components, then escalate to Zustand or React Query as your application's state requirements expand.

What's the best way to structure a tested TypeScript React application?

Structure a tested TypeScript React application by organizing functional components, explicit prop interfaces, reusable hooks, pages, services, and shared utilities. Require explicit prop types and disciplined project structure to ensure maintainability.

Does this React development workflow support form validation and routing?

Yes, this React development workflow supports form validation and routing using React Hook Form with Zod for validation, and React Router with protected routes for navigation, ensuring accessible user interactions and structured page routing.

How do I test React web interfaces end-to-end?

Test React web interfaces end-to-end using Playwright tests. The workflow requires writing component tests first to validate rendering and accessibility, then applying Playwright end-to-end tests to verify complete user interactions across protected routes.