skills/smithery.ai/component-creation

component-creation

Installation
SKILL.md

Component Creation Guide

Tip: Use the file-factory CLI to scaffold new components: pnpm file-factory component <name> --package <package>. This creates the correct directory structure with all files (component, styles, tests, stories, index). Then follow the patterns in this guide for implementation.

Component Structure

MyComponent/
├── MyComponent.tsx         # Component implementation
├── MyComponent.module.css  # Styles
├── MyComponent.stories.tsx # Storybook stories
├── MyComponent.test.tsx    # Tests
└── index.ts                # Exports

TypeScript Patterns

Prefer type over interface

Installs
1
First Seen
Mar 19, 2026
component-creation from smithery.ai