·shadcn
*

shadcn

velcrafting/codex-skills

当用户要求“添加组件”、“使用 shadcn”、“安装按钮”、“创建对话框”、“添加表单”、“使用 DataTable”、“实现暗模式切换”、“使用 cn 实用程序”或讨论 UI 组件、组件库或可访问组件时,应使用此技能。始终使用最新的 shadcn/ui 版本和现代模式。

8安装·0热度·@velcrafting

安装

$npx skills add https://github.com/velcrafting/codex-skills --skill shadcn

SKILL.md

This skill provides guidance for building interfaces with shadcn/ui, focusing on always using the latest version and modern patterns.

Philosophy: Copy and own your components. Use the new-york style. Leverage Radix UI primitives for accessibility.

| Style | new-york | default (deprecated) | | Toast | sonner | toast component | | Animation | CSS/tw-animate-css | tailwindcss-animate | | forwardRef | Direct ref prop (React 19) | forwardRef wrapper |

当用户要求“添加组件”、“使用 shadcn”、“安装按钮”、“创建对话框”、“添加表单”、“使用 DataTable”、“实现暗模式切换”、“使用 cn 实用程序”或讨论 UI 组件、组件库或可访问组件时,应使用此技能。始终使用最新的 shadcn/ui 版本和现代模式。 来源:velcrafting/codex-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/velcrafting/codex-skills --skill shadcn
分类
*创意媒体
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 shadcn?

当用户要求“添加组件”、“使用 shadcn”、“安装按钮”、“创建对话框”、“添加表单”、“使用 DataTable”、“实现暗模式切换”、“使用 cn 实用程序”或讨论 UI 组件、组件库或可访问组件时,应使用此技能。始终使用最新的 shadcn/ui 版本和现代模式。 来源:velcrafting/codex-skills。

如何安装 shadcn?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/velcrafting/codex-skills --skill shadcn 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/velcrafting/codex-skills

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-01