skills/shadcnui-helper/SKILL.md
shadcn/ui 组件库的安装、配置、组件实现、主题定制与排障指南。在 React/Next.js/Vite/Remix 等项目中需要:(1) 初始化或升级 shadcn/ui,(2) 查阅组件 API 与示例,(3) 定制 themes/tokens/暗色模式,(4) 解决 Radix/Tailwind 集成问题,(5) 确保交互与可访问性一致时自动触发。
npx skillsauth add chaitin/monkeycodeofficialplugins shadcnui-helperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
https://ui.shadcn.com/llms.txt(官方索引)。webfetch <URL> 拉取内容,完整阅读依赖、props、slot、可访问性提示,再开始实现。llms.txt,找到 Button 条目并获取 URL。webfetch 阅读 Button 文档,确认依赖(如 lucide-react)与 variant/size props。npx shadcn-ui@latest add button,检查 components/ 和 lib/ 新文件。llms.txt 搜索 Dark mode/Theming 两个条目,分别 webfetch 阅读。components.json(如 style: "default")、tailwind.config.ts、globals.css 中的 CSS 变量。class="dark" 的切换逻辑,验证浅色/深色模式与 token 映射。tools
Tailwind CSS 工具类参考和文档助手。提供 Tailwind CSS 文档的快速访问,用于查找工具类、理解 CSS 属性和查找代码示例。当 Claude 需要使用 Tailwind CSS 时使用此技能:(1)查找特定的工具类及其效果(2)理解如何在 Tailwind 中实现特定的 CSS 属性(3)查找布局、排版、颜色、间距等方面的代码示例和最佳实践(4)学习响应式设计模式、深色模式、悬停状态和其他变体
development
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
development
Use when executing implementation plans with independent tasks in the current session
development
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.