NavanithanS

ask-component-scaffolder

Generate consistent UI component folder structure and files.

NavanithanS 1 1 Updated 3mo ago

Resources

4
GitHub

Install

npx skillscat add navanithans/agent-skill-kit/ask-component-scaffolder

Install via the SkillsCat registry.

SKILL.md
✅ MUST define Props interface ✅ MUST use CSS Modules (prevent global pollution) ✅ MUST include at least one test (renders correctly) </critical_constraints> ```bash python skills/coding/ask-component-scaffolder/scripts/scaffold_component.py --name "ComponentName" ``` ComponentName/ ├── index.tsx # Component + Props interface ├── styles.module.css # CSS Modules └── Component.test.tsx # Basic render test - Props: Always define interface - Styles: CSS Modules only - Tests: Every component must have ≥1 render test