What problem does it solve?
Manually creating new React component directories with .tsx, .module.css, and index.tsx files is repetitive and can lead to inconsistencies. This skill automates the scaffolding process, ensuring a standardized structure and saving development time.
Core Features & Use Cases
- Automated Component Creation: Generates a new React component directory with all necessary files (
.tsx, .module.css, index.tsx) and boilerplate code.
- Standardized Structure: Ensures consistent file naming and directory organization, promoting maintainability and readability across the project.
- Placeholder for Logic: Provides
TODO comments within the generated files, guiding developers to add props, styles, and component implementation.
- Use Case: When starting a new UI feature, use this skill to instantly create the foundational files for a new button, card, form input, or any other React component, saving setup time.
Quick Start
Create a new React component named 'MyButton' in the 'src/components/Common' directory.