什么是 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