·shadcn-setup
</>

shadcn-setup

shipshitdev/library

使用 Tailwind CSS v4 配置设置 shadcn/ui 组件库。处理安装、初始化、主题配置和通用组件设置。在启动需要组件库的新 Next.js/React 项目时使用。

48安装·0热度·@shipshitdev

安装

$npx skills add https://github.com/shipshitdev/library --skill shadcn-setup

SKILL.md

Sets up shadcn/ui with proper Tailwind CSS v4 configuration. This skill ensures you get the modern CSS-first setup, not the deprecated v3 approach.

IMPORTANT: shadcn/ui CLI and AI assistants often generate Tailwind v3 configs by default. This skill ensures:

| default | shadcn default (neutral grays) | | zinc | Zinc-based neutral | | slate | Slate-based cool neutral | | stone | Stone-based warm neutral | | gray | Pure gray | | neutral | True neutral | | red | Red primary | | rose | Rose primary | | orange | Orange primary | | green | Green primary | | blue | Blue primary | | yellow | Yellow primary |

使用 Tailwind CSS v4 配置设置 shadcn/ui 组件库。处理安装、初始化、主题配置和通用组件设置。在启动需要组件库的新 Next.js/React 项目时使用。 来源:shipshitdev/library。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/shipshitdev/library --skill shadcn-setup
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 shadcn-setup?

使用 Tailwind CSS v4 配置设置 shadcn/ui 组件库。处理安装、初始化、主题配置和通用组件设置。在启动需要组件库的新 Next.js/React 项目时使用。 来源:shipshitdev/library。

如何安装 shadcn-setup?

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

这个 Skill 的源码在哪?

https://github.com/shipshitdev/library