standards-components
✓遵循单一职责原则,设计可重用、可组合的 UI 组件,具有清晰的接口、封装和最少的 props。在任何框架(React、Vue、Svelte、Web 组件)或组件文件中创建或修改前端组件时,请使用此技能。适用于处理组件目录(components/、src/components/、ui/、lib/)中的 .jsx、.tsx、.vue、.svelte 文件、定义组件 props 和接口、实现组件组合模式、管理组件级状态、创建可重用 UI 元素(按钮、表单、卡片、模态)、记录组件 API 或重构组件以实现更好的可重用性和可维护性。
SKILL.md
Core Rule: Build small, focused components with single responsibility. Compose complex UIs from simple pieces.
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.
Each component does one thing well. If you need "and" to describe it, split it.
遵循单一职责原则,设计可重用、可组合的 UI 组件,具有清晰的接口、封装和最少的 props。在任何框架(React、Vue、Svelte、Web 组件)或组件文件中创建或修改前端组件时,请使用此技能。适用于处理组件目录(components/、src/components/、ui/、lib/)中的 .jsx、.tsx、.vue、.svelte 文件、定义组件 props 和接口、实现组件组合模式、管理组件级状态、创建可重用 UI 元素(按钮、表单、卡片、模态)、记录组件 API 或重构组件以实现更好的可重用性和可维护性。 来源:maxritter/claude-codepro。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/maxritter/claude-codepro --skill standards-components- 分类
- *创意媒体
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 standards-components?
遵循单一职责原则,设计可重用、可组合的 UI 组件,具有清晰的接口、封装和最少的 props。在任何框架(React、Vue、Svelte、Web 组件)或组件文件中创建或修改前端组件时,请使用此技能。适用于处理组件目录(components/、src/components/、ui/、lib/)中的 .jsx、.tsx、.vue、.svelte 文件、定义组件 props 和接口、实现组件组合模式、管理组件级状态、创建可重用 UI 元素(按钮、表单、卡片、模态)、记录组件 API 或重构组件以实现更好的可重用性和可维护性。 来源:maxritter/claude-codepro。
如何安装 standards-components?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/maxritter/claude-codepro --skill standards-components 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/maxritter/claude-codepro
详情
- 分类
- *创意媒体
- 来源
- skills.sh
- 收录时间
- 2026-02-05