What problem does it solve?
This Skill streamlines the process of translating design specifications into robust, well-structured React component architectures, ensuring API ergonomics, composability, and maintainability.
Core Features & Use Cases
- API Design: Defines TypeScript prop interfaces, prioritizing discriminated unions and compound components.
- File Structure: Outlines the optimal file organization for components.
- Composition Strategy: Determines how components will be built and interact.
- Library Recommendation: Suggests suitable third-party libraries for complex components, checking against banned dependencies.
- Use Case: When a designer provides a brief for a new complex UI element like a date picker, this Skill generates the TypeScript interfaces, file structure, and composition strategy needed for development.
Quick Start
Generate the architecture for a new 'UserProfileCard' component based on the provided design brief.