跳到主内容
@wquguru
精选85VoxAI 产品与模型

Claude Code 搭配 shadcn/ui

Does every page Claude Code builds 𝘀𝘁𝗶𝗹𝗹 𝗹𝗼𝗼𝗸 𝗹𝗶𝗸𝗲 𝗱𝗲𝗳𝗮𝘂𝗹𝘁 𝘀𝗵𝗮𝗱𝗰𝗻? If you want t…

原文
发到 X
推荐理由

提供了具体的工具组合与工作流,清晰展示了如何通过指令让 AI 复刻特定品牌视觉风格,结构完整且具备实操参考价值。

Does every page Claude Code builds 𝘀𝘁𝗶𝗹𝗹 𝗹𝗼𝗼𝗸 𝗹𝗶𝗸𝗲 𝗱𝗲𝗳𝗮𝘂𝗹𝘁 𝘀𝗵𝗮𝗱𝗰𝗻? If you want the feel of Stripe or Linear, use these two together:

Claude Code 构建的每个页面看起来仍然像默认的 shadcn 吗?如果你想要 Stripe 或 Linear 的感觉,可以一起使用这两个工具:

1. awesome-design-md

Pick the look you want here first. It's an open-source repo with 120K stars: DESIGN.md files written in the style of 74 products, including Stripe, Linear, Vercel and Notion. They're community-written interpretations of each brand's style. Colors, fonts, spacing, corner radius, shadows, plus what to do and what to avoid, are all in there for an agent to read.

首先在这里选择你想要的样式。这是一个拥有 120K 星标的开源仓库:包含 74 款产品(如 Stripe、Linear、Vercel 和 Notion)风格的 DESIGN.md 文件。它们是由社区撰写的对各个品牌风格的解读。颜色、字体、间距、圆角半径、阴影,以及该做什么和不该做什么,都包含在内,供 AI 代理读取。

https://github.com/VoltAgent/awesome-design-md

2. The official shadcn skill

2. 官方 shadcn 技能

Hand it the one you picked. It starts a new project 𝘄𝗶𝘁𝗵𝗼𝘂𝘁 𝘁𝗼𝘂𝗰𝗵𝗶𝗻𝗴 𝘆𝗼𝘂𝗿 𝗲𝘅𝗶𝘀𝘁𝗶𝗻𝗴 𝗰𝗼𝗱𝗲, installs every component, and restyles the whole set to match that DESIGN.md.

将你选定的文件交给它。它会启动一个新项目,且不会触碰你现有的代码,安装所有组件,并根据该 DESIGN.md 重新设计整套样式。

When it's done, you get a design system page: colors checked for contrast, every state of every component laid out, and do's and don'ts side by side.

完成后,你会得到一个设计系统页面:检查了颜色的对比度,列出了每个组件的所有状态,并并列展示了注意事项。

npx skills add shadcn/ui

Once it's installed, open the DESIGN.md you picked on GitHub, click Raw to copy its link, and send this to Claude Code 👇

安装完成后,在 GitHub 上打开你选择的 DESIGN.md,点击 Raw 复制其链接,然后将其发送给 Claude Code 👇

"Use the shadcn skill to start a new Next.js project, build a design system from this DESIGN.md, and finish with a design system page. Download the file into the project before you read it: <Raw link>"

“使用 shadcn 技能启动一个新的 Next.js 项目,基于此 DESIGN.md 构建设计系统,并以一个设计系统页面结束。在读取之前将文件下载到项目中:<Raw link>”

Not happy with it? Pick another one and run it again. Once one fits, have Claude Code move the theme and components into your project, and make it your own from there.

如果不满意?选择另一个并再次运行。一旦找到合适的,让 Claude Code 将主题和组件移动到你的项目中,然后在此基础上进行自定义。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件