Skip to content
Back to search

stylekit

Open-source visual style library for AI-generated UI — 148 curated styles with design tokens, prompts and MCP. | 面向 AI 生成网页的开源视觉风格库:148 套精选风格,支持 MCP、Agent Skill 与 npm CLI。

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/AnxForever/stylekit with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/AnxForever/stylekit'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/anxforever--stylekit/badge.svg)](/listings/anxforever--stylekit)

HTML

<a href="/listings/anxforever--stylekit"><img src="/api/listings/anxforever--stylekit/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 178 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <p align="center">
  2. <a href="https://stylekit.top">
  3. <picture>
  4. <source media="(prefers-color-scheme: dark)" srcset="public/readme/logo-dark.svg">
  5. <source media="(prefers-color-scheme: light)" srcset="public/readme/logo-light.svg">
  6. <img alt="StyleKit" src="public/readme/logo-light.svg" width="280">
  7. </picture>
  8. </a>
  9. </p>
  10. <p align="center">
  11. <strong>面向 AI 生成网页的开源视觉风格库。</strong><br>
  12. 精选视觉风格,每套都包含设计令牌、组件配方、Tailwind 约束与可直接复制的提示词。<br>
  13. 支持 MCP、Agent Skill 与 npm CLI。
  14. </p>
  15. <p align="center">
  16. <a href="https://stylekit.top"><img src="https://img.shields.io/badge/Live-www.stylekit.top-black?style=flat-square" alt="Live Site"></a>
  17. <a href="https://github.com/AnxForever/stylekit/stargazers"><img src="https://img.shields.io/github/stars/AnxForever/stylekit?style=flat-square&color=f59e0b" alt="Stars"></a>
  18. <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-green?style=flat-square" alt="License"></a>
  19. <a href="https://nextjs.org"><img src="https://img.shields.io/badge/Next.js-16-black?style=flat-square&logo=next.js" alt="Next.js 16"></a>
  20. <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-5-3178C6?style=flat-square&logo=typescript" alt="TypeScript"></a>
  21. </p>
  22. <p align="center">
  23. <strong>简体中文</strong> &middot; <a href="README.en.md">English</a>
  24. </p>
  25. <br>
  26. <p align="center">
  27. <a href="https://stylekit.top">
  28. <img src="public/readme/home-hero.png" alt="StyleKit 预览" width="100%">
  29. </a>
  30. </p>
  31. <p align="center">
  32. <a href="https://www.stylekit.top/zh/styles"><strong>风格展示</strong></a> &middot;
  33. <a href="https://www.stylekit.top/zh/templates"><strong>页面模板</strong></a> &middot;
  34. <a href="https://www.stylekit.top/zh/animations"><strong>动效</strong></a> &middot;
  35. <a href="#参与贡献"><strong>参与贡献</strong></a>
  36. </p>
  37. <br>
  38. ---
  39. ## StyleKit 是什么?
  40. 让 AI 帮你做个落地页,出来的东西能跑,但和所有 AI 做的落地页长得一样。问题不在模型 —— 而是「做得好看点」本来就不算一句规格。
  41. StyleKit 把一个视觉方向变成代理真正能照着做的东西:一个有名字的风格,配上真实的令牌、硬性约束,以及可以先看的示例。选定一个,产出就不再漂移。
  42. 它不保证产出可以直接上线的界面。集成与完整度仍然取决于你的项目。
  43. ## 快速开始
  44. ```bash
  45. git clone https://github.com/AnxForever/stylekit.git
  46. cd stylekit
  47. pnpm install
  48. pnpm dev
  49. ```
  50. 打开 [localhost:3000](http://localhost:3000)。Supabase 与管理员相关的可选配置见 [`.env.example`](.env.example)。
  51. 开发前先看[代码目录地图](docs/ARCHITECTURE.md);按任务查找[文档索引](docs/README.md)。本地缓存、任务产物与工作树的整理方式见[工作区维护](docs/LOCAL_WORKSPACE.md)。
  52. ## 三种使用方式
  53. ### 1. 把风格装进现有的 shadcn 项目
  54. 每套风格都以 [shadcn registry](https://ui.shadcn.com/docs/registry) 主题的形式发布。一条命令即可把它的亮色与暗色 `cssVars` 加进你的 `globals.css`:
  55. ```bash
  56. npx shadcn add https://stylekit.top/r/glassmorphism.json
  57. ```
  58. 把 `glassmorphism` 换成任意 slug,兼容 Tailwind v4。
  59. > 目标项目必须包含 `tsconfig.json`,否则 shadcn CLI 会以 `Couldn't find tsconfig.json` 退出。完整指南见 [`docs/registry.md`](docs/registry.md)。
  60. ### 2. 把整个库交给你的编码代理
  61. ```bash
  62. npx skills@latest add AnxForever/stylekit-skill
  63. ```
  64. 之后 Claude Code、Cursor、Windsurf 以及任何兼容 Agent Skills 的工具,都能按需套用目录中的风格 ——「做成 Stripe 的样子」「赛博朋克仪表盘」—— 并使用正确的令牌与规则。技能本体在 [`AnxForever/stylekit-skill`](https://github.com/AnxForever/stylekit-skill)。
  65. 兼容的 Agent 会在执行 Skill 说明时检查 GitHub 新版本,最多每 24 小时一次;这不是后台更新服务。旧版安装先运行一次 `npx skills@latest update stylekit` 完成迁移;如果改过旧版 Skill,迁移前先备份。之后由 Agent 在使用时检查,不需要反复安装;更新前会校验文件,检测到本地改动就跳过,更新失败则恢复旧文件。
  66. ### 3. 通过 MCP 调用
  67. ```bash
  68. npx -y --prefer-online stylekit-mcp@latest
  69. ```
  70. 提供风格检索、设计令牌、组件配方,以及一个 `stylekit_lint_code` 工具,用来检查生成的 UI 代码是否真的守住了该风格的规则。见 [`packages/mcp/README.md`](packages/mcp/README.md)。
  71. 接入 MCP 客户端时,把一次性 JSON 配置复制到[开发者页面](https://www.stylekit.top/zh/developers)。客户端每次启动 MCP 进程时都会检查 npm 最新版本;已运行的进程需要重启后才会载入更新。在线公开素材会按请求获取,新增内容无需重装 CLI 或 MCP。
  72. ## 风格目录
  73. 风格目录涵盖十大类 —— 现代与科技、粗野主义、品牌启发(Apple、Stripe、Notion、GitHub)、复古与怀旧、艺术、日式与动漫、赛博朋克与科幻、布局模式、文化与地域、自然与温馨。
  74. 每套风格都自带设计令牌、组件代码、AI 规则和整页实时演示。
  75. **[浏览全部风格 →](https://www.stylekit.top/zh/styles)**
  76. ## 仓库里还有什么
  77. - **60 个动效** —— 实时预览,一键复制
  78. - **37 个页面模板** —— SaaS、仪表盘、电商、作品集、博客
  79. - **随处导出** —— Tailwind preset、shadcn 主题、CSS 变量、Figma tokens
  80. - **IDE 规则** —— `.cursorrules`、`claude-rules`、`windsurf-rules`
  81. - **双语** —— 完整的中英文内容与本地化路由
  82. - **面向机器可读** —— [`/llms.txt`](https://stylekit.top/llms.txt)、[`/llms.md`](https://stylekit.top/llms.md)、[`/llms-full.txt`](https://stylekit.top/llms-full.txt),以及有文档的 HTTP API([`docs/API.md`](docs/API.md))
  83. ## 用 AI 构建前端的实战指南
  84. 站点上的实操文章 —— 当问题出在工作流而不是风格本身时看这些:
  85. - [AI 生成的网站不好看怎么修](https://www.stylekit.top/zh/ai-generated-website-fix)
  86. - [怎么选 AI 网页设计工具](https://www.stylekit.top/zh/ai-web-design-tools)
  87. - [AI 生成 UI 界面](https://www.stylekit.top/zh/ai-ui-generator) —— 把一句话需求变成可用的界面结构
  88. - [AI 前端工作流](https://www.stylekit.top/zh/ai-frontend-workflow)
  89. - English: [Fix an AI-generated website](https://www.stylekit.top/en/ai-generated-website-fix) · [AI frontend workflow](https://www.stylekit.top/en/ai-frontend-workflow)
  90. ## 参与贡献
  91. 欢迎贡献。提交 PR 前请先阅读:
  92. 1. [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md)
  93. 2. [`docs/STYLE_ADDITION_CHECKLIST.md`](docs/STYLE_ADDITION_CHECKLIST.md) —— 新增风格必读
  94. 3. [`docs/STYLE_AUTHORING.md`](docs/STYLE_AUTHORING.md) —— 风格是怎么写的,动手前先看
  95. ```bash
  96. git checkout -b feat/your-feature
  97. pnpm lint && pnpm test && pnpm build
  98. git commit -m "feat: add your feature"
  99. ```
  100. 在改代码?先看上面的贡献文档,再看仓库根目录的 [`AGENTS.md`](AGENTS.md) 了解代码规则。
  101. ## 支持这个项目
  102. 如果 StyleKit 恰好帮到了你,点个 star 就已经很够了。想再往前一步的话,网站上有专门的支持页面,写明了服务器与域名成本 —— [stylekit.top/contact#support-maintenance](https://stylekit.top/contact#support-maintenance)。
  103. 也欢迎扫码支持我把它继续做下去,金额随意,每一份心意我都很感谢。
  104. ## Star 趋势
  105. <a href="https://star-history.com/#AnxForever/stylekit&Date">
  106. <picture>
  107. <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=AnxForever/stylekit&type=Date&theme=dark" />
  108. <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=AnxForever/stylekit&type=Date" />
  109. <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=AnxForever/stylekit&type=Date" />
  110. </picture>
  111. </a>
  112. ## 贡献者
  113. <a href="https://github.com/AnxForever/stylekit/graphs/contributors">
  114. <img src="https://contrib.rocks/image?repo=AnxForever/stylekit" alt="StyleKit 贡献者" />
  115. </a>
  116. ## 许可证
  117. MIT —— 详见 [LICENSE](LICENSE)。
  118. ---
  119. <p align="center">
  120. <a href="https://stylekit.top"><strong>www.stylekit.top</strong></a>
  121. <br>
  122. 由 <a href="https://github.com/AnxForever">AnxForever</a> 构建
  123. </p>

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.