Frontend Components
When to use this skill
- When creating or modifying component files (e.g.,
*.tsx,*.jsx,*.vue,*.svelte,components/*,ui/*) - When designing new UI components or refactoring existing ones
- When defining component props, interfaces, or type definitions
- When managing component state (useState, useReducer, reactive state, etc.)
- When implementing component composition (combining smaller components into larger ones)
- When building reusable UI elements that can be used across different contexts
- When encapsulating component logic and keeping implementation details private
- When documenting component usage, props, and providing examples
- When deciding whether to keep state local or lift it up to parent components
- When splitting large, complex components into smaller, focused ones
- When naming components with clear, descriptive names
- When reviewing component architecture for maintainability and reusability
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle frontend components.
Instructions
For details, refer to the information provided in these files:
Component Architecture
Aesthetic Excellence (for visual components)
frontend aesthetics - Apply when building UI components to ensure distinctive design choices in typography, colors, animations, and backgrounds.