什麼是 shadcn?
管理 shadcn 元件和項目 - 新增、搜尋、修復、調試、樣式設定和編寫 UI。提供專案上下文、元件文件和使用範例。適用於使用 shadcn/ui、元件註冊表、預設、--preset 程式碼或任何具有 Components.json 檔案的項目。也會觸發「shadcn init」、「使用 --preset 建立應用程式」或「切換到 --preset」。 來源:shadcn-ui/ui。
管理 shadcn 元件和項目 - 新增、搜尋、修復、調試、樣式設定和編寫 UI。提供專案上下文、元件文件和使用範例。適用於使用 shadcn/ui、元件註冊表、預設、--preset 程式碼或任何具有 Components.json 檔案的項目。也會觸發「shadcn init」、「使用 --preset 建立應用程式」或「切換到 --preset」。
透過命令列快速安裝 shadcn AI 技能到你的開發環境
來源:shadcn-ui/ui。
A framework for building ui, components and design systems. Components are added as source code to the user's project via the CLI.
The JSON above contains the project config and installed components. Use npx shadcn@latest docs to get documentation and example URLs for any component.
These rules are always enforced. Each links to a file with Incorrect/Correct code pairs.
管理 shadcn 元件和項目 - 新增、搜尋、修復、調試、樣式設定和編寫 UI。提供專案上下文、元件文件和使用範例。適用於使用 shadcn/ui、元件註冊表、預設、--preset 程式碼或任何具有 Components.json 檔案的項目。也會觸發「shadcn init」、「使用 --preset 建立應用程式」或「切換到 --preset」。 來源:shadcn-ui/ui。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/shadcn-ui/ui --skill shadcn管理 shadcn 元件和項目 - 新增、搜尋、修復、調試、樣式設定和編寫 UI。提供專案上下文、元件文件和使用範例。適用於使用 shadcn/ui、元件註冊表、預設、--preset 程式碼或任何具有 Components.json 檔案的項目。也會觸發「shadcn init」、「使用 --preset 建立應用程式」或「切換到 --preset」。 來源:shadcn-ui/ui。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/shadcn-ui/ui --skill shadcn 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/shadcn-ui/ui