components.best-practices
Installation
SKILL.md
React Component Development Rules
Component Development Workflow
- Research similar reference components and given requirements/description
- Optionally, ask clarifying questions about the component's requirements & behavior
- Implement the component with unit tests & stories on web first before proceeding to mobile if both platforms were requested.
- Never write figma code connect files unless explicitly instructed to do so.
- Follow remaining general coding standards and guidelines you've been given.
Reference Components
These high quality components demonstrate proper use of patterns/conventions:
- Select (alpha/): generics, controlled/uncontrolled, compound architecture
- Stepper: props-based defaults, metadata generics, compound components
- Carousel (web): compound components, imperative handle, context + hook
- RollingNumber: animation config extraction, measurement patterns
- SlideButton (mobile): gesture handling, spring animations, accessibility actions