react-component-generator

Generate React components with TypeScript, hooks, and test files.

91|44|Updated Jul 17, 2025
One-click install
npx skills add https://github.com/HyperscapeAI/hyperscape --skill react-component-generator-hyperscapeai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-component-generator
Source: https://github.com/HyperscapeAI/hyperscape/tree/main/.claude/skills/react-component-generator
Command: npx skills add https://github.com/HyperscapeAI/hyperscape --skill react-component-generator-hyperscapeai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the generation of modern React components with TypeScript, hooks, and best practices. It accelerates UI development, ensures consistent code quality, and reduces boilerplate, allowing developers to focus on building features rather than repetitive component setup.

Core Features & Use Cases

  • Component Scaffolding: Generates .tsx, .module.css, and .test.tsx files with proper TypeScript interfaces, state management, and event handlers.
  • Best Practice Enforcement: Incorporates performance optimizations (useCallback, useMemo), accessibility considerations, and clear file organization.
  • Use Case: When you need a new Button component, simply ask this Skill to "create a React component named Button." It will generate the component file with props, state, styles, and a basic test, ensuring it follows your project's standards from the start.

Quick Start

Create a React component named 'Button' with props for label, onClick, and variant.