frontend-components
Design and build reusable, composable UI components following single responsibility principle with clear props, proper encapsulation, and minimal state management. Use this skill when creating or modifying React, Vue, Svelte, or web components, defining component props or interfaces, managing component state, building component libraries, or refactoring UI code. Apply when working with .jsx, .tsx, .vue, .svelte files, component directories, or any code that defines reusable UI building blocks with configurable interfaces and composable architectures.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Frontend Components
When to use this skill
- When creating new React, Vue, Svelte, or web components
- When modifying existing component files (.jsx, .tsx, .vue, .svelte)
- When defining component props, interfaces, or prop types
- When implementing component state management (useState, reactive data)
- When building reusable UI elements (buttons, cards, forms, modals)
- When composing complex UIs from smaller component building blocks
- When refactoring large components into smaller, focused ones
- When creating component libraries or design systems
- When managing component lifecycle hooks or effects
- When implementing component communication patterns (props, events, callbacks)
- When documenting component usage and API
- When optimizing component performance or reducing re-renders
- When working in component directories or module structures
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 this file: frontend components
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!