components-build
✓遵循 Components.build 規範構建現代、可組合且可訪問的 React UI 組件。在創建、審查或重構組件庫、設計系統或任何可重用 UI 組件時使用。觸發涉及組件 API、組合模式、可訪問性、樣式系統或 TypeScript props 的任務。
SKILL.md
Comprehensive guidelines for building modern, composable, and accessible UI components. Contains 16 rule categories covering everything from core principles to distribution, co-authored by Hayden Bleasel and shadcn.
| 1 | Overview | Specification scope and goals | overview | | 2 | Principles | Core design philosophy | principles | | 3 | Definitions | Common terminology | definitions | | 4 | Composition | Breaking down complex components | composition | | 5 | Accessibility | Keyboard, screen readers, ARIA | accessibility |
| 6 | State | Controlled/uncontrolled patterns | state | | 7 | Types | TypeScript props and interfaces | types | | 8 | Polymorphism | Element switching with as prop | polymorphism | | 9 | As-Child | Radix Slot composition pattern | as-child | | 10 | Data Attributes | data-state and data-slot | data-attributes |
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/nolly-studio/components-build-skill --skill components-build- 分類
- *創意媒體
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 components-build?
遵循 Components.build 規範構建現代、可組合且可訪問的 React UI 組件。在創建、審查或重構組件庫、設計系統或任何可重用 UI 組件時使用。觸發涉及組件 API、組合模式、可訪問性、樣式系統或 TypeScript props 的任務。 來源:nolly-studio/components-build-skill。
如何安裝 components-build?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/nolly-studio/components-build-skill --skill components-build 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/nolly-studio/components-build-skill
詳情
- 分類
- *創意媒體
- 來源
- skills.sh
- 收錄時間
- 2026-02-01