Component Generator

Generate React UI components with TypeScript, CSS, and index exports.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jeremylasne92-hue/siteweb2 --skill component-generator-jeremylasne92-hue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Component Generator
Source: https://github.com/jeremylasne92-hue/siteweb2/tree/main/.agent/skills/component-generator
Command: npx skills add https://github.com/jeremylasne92-hue/siteweb2 --skill component-generator-jeremylasne92-hue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many developers spend time manually creating repetitive React component files, styles, and test scaffolding, slowing down UI development.

Core Features & Use Cases

  • Component Types: Generate UI components, pages, and layout files with proper folder structure.
  • Templates: Uses predefined TypeScript and CSS templates with placeholder tokens.
  • Use Case: When starting a new feature, ask the skill to create a Button component or a Contact page instantly, saving setup time.

Quick Start

Ask the skill to generate a UI component named "Button".

Frequently Asked Questions about Component Generator

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

FAQPage Schema
How do I scaffold React UI components with TypeScript automatically?

To scaffold React UI components, this generator creates TypeScript component files, stylesheets, and index exports automatically. It uses predefined TypeScript and CSS templates with placeholder tokens to insert generated files into a Vite/Tailwind project structure.

Do I need a Vite and Tailwind project structure to generate React components?

Yes, a Vite and Tailwind project structure is required to insert the generated React component files correctly. The skill relies on this specific environment to properly place scaffolded UI components, pages, and layout files with their accompanying tests.

What's the best way to generate a Button component with tests in React?

The best way to generate a React Button component with tests is to ask the skill to create a UI component named "Button". It instantly outputs the necessary component files, stylesheets, and test scaffolding using predefined templates.

Can I generate layout files and pages as well as standard UI components?

Yes, you can generate layout files and pages alongside standard UI components. The generator scaffolds various component types with a proper folder structure, applying TypeScript and CSS templates to streamline front-end development tasks.

Why does manually creating React component files slow down UI development?

Manually creating React component files slows down UI development because developers spend time on repetitive setup for component files, styles, and test scaffolding. This generator eliminates that manual effort by automatically applying predefined templates with placeholder tokens.

What limitations exist when using predefined templates to scaffold components?

A limitation of using predefined templates is that generated components rely on predefined TypeScript and CSS structures with placeholder tokens. Developers must ensure their project matches the required Vite/Tailwind structure and manually customize the scaffolded files for specific UI logic.