react-frontend-development

Standardize React frontend development with TypeScript, testing, and WCAG-compliant accessibility.

17|1|Updated Jun 8, 2025
One-click install
npx skills add https://github.com/williamzujkowski/standards --skill react-frontend-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-frontend-development
Source: https://github.com/williamzujkowski/standards/tree/main/skills/frontend/react
Command: npx skills add https://github.com/williamzujkowski/standards --skill react-frontend-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides best practices for building modern, performant, and maintainable web applications using the React.js framework. It streamlines the adoption of React's component-based architecture, hooks, and state management, reducing development time and improving code quality.

Core Features & Use Cases

  • Functional Components & Hooks: Guides on using modern React patterns for reusable and organized logic.
  • State Management: Teaches best practices for managing application state with Context API, Redux, or Zustand.
  • Performance Optimization: Provides techniques for optimizing rendering, bundle size, and initial load times.
  • Use Case: Develop a new React component by applying these standards, automatically generating a functional component template and a custom hook for reusable logic.

Quick Start

Generate a React functional component template with props, state, and an effect hook for data fetching.

Frequently Asked Questions about react-frontend-development

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

FAQPage Schema
How do I structure React components using hooks and modern patterns?

Modern React uses functional components with hooks like useState and useEffect instead of class components. This approach organizes logic reusably, improves readability, and simplifies state management within components. The Skill standardizes hook usage patterns for consistency across projects.

What's the best way to manage state in a React application?

React state management depends on complexity: use Context API for simple needs, Redux for large-scale apps, or Zustand for lightweight solutions. The Skill guides you through evaluating options and implementing each pattern with TypeScript, testing, and performance optimization built in.

How can I improve React app performance and reduce bundle size?

Performance optimization involves code splitting, lazy loading components, minimizing re-renders with memoization, and tree-shaking unused code. The Skill applies these techniques systematically during development to achieve faster initial load times and smoother runtime performance.

Do I need TypeScript for React development, and how do I set it up?

TypeScript catches type errors at development time and improves code maintainability in React projects. The Skill enforces TypeScript usage as a standard practice, generating typed component templates and hooks to reduce bugs and onboarding friction in team environments.

How do I ensure my React app meets accessibility standards like WCAG?

WCAG 2.1 AA compliance requires semantic HTML, ARIA labels, keyboard navigation, and screen reader support. The Skill enforces accessibility conformance during component development and review, helping you build inclusive interfaces that work for all users.

What testing approach works best for React components?

React Testing Library focuses on testing user behavior rather than implementation details, catching real-world bugs. The Skill standardizes testing practices with React Testing Library and TypeScript to ensure reliable components and faster debugging cycles.