component-scaffold-generator

Generate React or Vue component scaffolds with TypeScript types, tests, and Storybook stories.

5|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/patricio0312rev/skillset --skill component-scaffold-generator-patricio0312rev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: component-scaffold-generator
Source: https://github.com/patricio0312rev/skillset/tree/main/templates/frontend/component-scaffold-generator
Command: npx skills add https://github.com/patricio0312rev/skillset --skill component-scaffold-generator-patricio0312rev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generate a ready-to-use React/Vue component skeleton with TypeScript types, prop variants, styling hooks, tests, Storybook stories, and usage documentation.

Core Features & Use Cases

  • Generate a component scaffold for React or Vue with typed props, variant support (size, state), and optional polymorphic patterns.
  • Include test templates, Storybook stories, and usage documentation to accelerate adoption and reduce boilerplate.
  • Create start-to-finish boilerplates for new components when designers hand you a spec or when you need consistent scaffolds across projects.

Quick Start

Provide the component name and target framework (React or Vue) to generate a scaffold.

Frequently Asked Questions about component-scaffold-generator

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

FAQPage Schema
How do I generate a React component skeleton with TypeScript types and Storybook stories?

To generate a React component skeleton with TypeScript types and Storybook stories, provide the component name and target framework to automatically produce typed props, variant support, styling hooks, test templates, and usage documentation.

Can I scaffold Vue components with prop variants and test templates?

Yes, you can scaffold Vue components with typed props, multiple variants like size and state, test templates, Storybook stories, and usage documentation by selecting Vue as the target framework during generation.

What is the best way to create production-grade boilerplates for new React or Vue components?

The best way to create production-grade boilerplates for new React or Vue components is to auto-generate skeletons that include typed props, variant support, testing templates, Storybook integration, and usage documentation in a single step.

Does component scaffolding support polymorphic patterns for React and Vue?

Component scaffolding supports optional polymorphic patterns for both React and Vue, alongside functional and compound patterns, ensuring typed props and variant support are maintained across different component architectures.

How to start scaffolding a new component from a design spec?

To start scaffolding a new component from a design spec, provide the component name and choose React or Vue as the target framework to generate a complete boilerplate with styling hooks, tests, and documentation.