Agent-Skill-Kit

Component Scaffolder

Standardizes UI component creation.

Purpose

To maintain consistency in the frontend codebase by ensuring all new components follow the same structure and typing patterns.

When to Use

Usage

Use the provided script to generate the component structure.

python skills/coding/ask-component-scaffolder/scripts/scaffold_component.py --name "ComponentName"

Generated Structure

For a component named MyComponent, the following will be created:

MyComponent/
├── index.tsx          # Component logic + Prop types
├── styles.module.css  # CSS Modules styles
└── Component.test.tsx # Basic unit test

Guidelines