shadcn-code-review
✓審查 shadcn/ui 組件的 CVA 模式、與 asChild 的組合、可訪問性狀態和數據槽使用情況。在使用 shadcn/ui、Radix 原語或 Tailwind 樣式查看 React 組件時使用。
SKILL.md
| className in CVA, missing VariantProps, compound variants | references/cva-patterns.md | | asChild without Slot, missing Context, component composition | references/composition.md | | Missing focus-visible, aria-invalid, disabled states | references/accessibility.md | | Missing data-slot, incorrect CSS targeting | references/data-slot.md |
These are correct patterns that should NOT be flagged as issues:
shadcn/ui components are designed to be copied and modified. Code review should focus on:
審查 shadcn/ui 組件的 CVA 模式、與 asChild 的組合、可訪問性狀態和數據槽使用情況。在使用 shadcn/ui、Radix 原語或 Tailwind 樣式查看 React 組件時使用。 來源:existential-birds/beagle。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/existential-birds/beagle --skill shadcn-code-review- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 shadcn-code-review?
審查 shadcn/ui 組件的 CVA 模式、與 asChild 的組合、可訪問性狀態和數據槽使用情況。在使用 shadcn/ui、Radix 原語或 Tailwind 樣式查看 React 組件時使用。 來源:existential-birds/beagle。
如何安裝 shadcn-code-review?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/existential-birds/beagle --skill shadcn-code-review 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/existential-birds/beagle
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01