shadcn-ui
它能做什么
这个工具可以帮你构建网站和应用的视觉组件,也就是“UI 组件”。它借助一种名为“Stitch”的方法,帮你以有条理且易于访问的方式更快地创建这些组件。
适用场景
- ✓当你想为网站创建按钮、菜单或文本框时。
- ✓当你需要在不同设备上都表现良好的视觉元素时。
- ✓想让项目的整体外观和风格保持一致时。
技能链接
https://github.com/nexu-io/open-design/blob/main/skills/shadcn-ui/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请使用 shadcn-ui 创建一个“登录”按钮。”
每周 5 个新技能,1 分钟读完。
工作原理
工具使用 shadcn/ui 库提供现成的视觉构建模块。它与“Stitch 设计循环”相结合,确保组件结构清晰、易于使用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
shadcn-ui
Curated from Google Labs (Stitch).
What it does
Build UI components with shadcn/ui. Pairs with the Stitch design loop to ship structured, accessible components quickly.
Source
- Upstream: https://github.com/google-labs-code/skills
- Category:
design-systems
How to use
This catalogue entry advertises the skill in OpenDesign so the agent discovers it during planning. To run the full upstream workflow with its original assets, scripts, and references, install the upstream bundle into your active agent's skills directory:
# Inspect the upstream README for exact paths
open https://github.com/google-labs-code/skills
Then ask the agent to invoke this skill by name (shadcn-ui) or with
one of the trigger phrases listed in this skill's frontmatter.
常见问题
什么是 UI 组件?
就是你在网站或应用上看到的视觉元素,比如按钮、导航栏、表单等。
什么是 Stitch 设计循环?
这是一套流程或方法,帮助人们以有条理、标准化的方式创建组件。
我该怎么使用?
你可以让 AI 使用“shadcn-ui”工具来创建某个特定组件,例如“使用 shadcn-ui 创建一个商品卡片”。
详情
作者的原始描述
Build UI components with shadcn/ui. Pairs with the Stitch design loop to ship structured, accessible components quickly.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1226
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …