给编程助手的规则
这些免费文件告诉 Cursor、Claude Code、Codex 或 Copilot 不要做成什么样。每个文件都链回本站,采用 CC BY 4.0。
这些规则管什么
- 配色。不要暖奶油底,也不要紫或靛的渐变。
- 首屏。标题上不要小标签,也不要 01 或 a. 的章节号。
- 卡片。不要彩色光晕,不要侧边色条,不要卡片套卡片。
- 字体。不要只用 Inter、Geist、Roboto 或 system-ui。
- 文案。不要没有出处的客户数,也不要一串破折号。
- 动效。不要跳动的圆点,也不要不停的标志滚动。
每个文件怎么用
Cursor 规则
Cursor 改代码前会读项目根目录的 .cursorrules。
存为项目根目录的 .cursorrules。
.cursorrules展开规则正文
Source: https://unslopui.org License: CC BY 4.0 Do not give this page the usual generated look. - The page background is not a warm cream. A cooler near-white such as #F6F6F3 is fine. #F7F2E8 is not. - No violet, indigo, or purple gradient on a surface or inside a headline. - Do not set the page in Inter, Geist, Roboto, or system-ui alone. Pair a specific display face with a different text face. - No small uppercase label above a heading, and no 01 or a. section numbers. - No row of identical icon chips. - No colored glow, and no card inside a card. - Do not write "Trusted by 10,000+" unless the customers are named and linked. - Prefer periods to a stack of em dashes. Say what the product does. - Body text meets 4.5:1. Do not skip a heading level. - A fix names a real color, size, or measured count. Do not invent one.
Cursor 项目规则
.cursor/rules 里的项目规则会在 Cursor 处理这个仓库时生效。
存为 .cursor/rules/unslop.mdc。
unslop.mdc展开规则正文
Source: https://unslopui.org License: CC BY 4.0 Do not give this page the usual generated look. - The page background is not a warm cream. A cooler near-white such as #F6F6F3 is fine. #F7F2E8 is not. - No violet, indigo, or purple gradient on a surface or inside a headline. - Do not set the page in Inter, Geist, Roboto, or system-ui alone. Pair a specific display face with a different text face. - No small uppercase label above a heading, and no 01 or a. section numbers. - No row of identical icon chips. - No colored glow, and no card inside a card. - Do not write "Trusted by 10,000+" unless the customers are named and linked. - Prefer periods to a stack of em dashes. Say what the product does. - Body text meets 4.5:1. Do not skip a heading level. - A fix names a real color, size, or measured count. Do not invent one.
Claude Code 片段
贴进 CLAUDE.md,Claude Code 就会按它处理这个仓库。
加进 CLAUDE.md。
CLAUDE.md展开规则正文
Source: https://unslopui.org License: CC BY 4.0 Do not give this page the usual generated look. - The page background is not a warm cream. A cooler near-white such as #F6F6F3 is fine. #F7F2E8 is not. - No violet, indigo, or purple gradient on a surface or inside a headline. - Do not set the page in Inter, Geist, Roboto, or system-ui alone. Pair a specific display face with a different text face. - No small uppercase label above a heading, and no 01 or a. section numbers. - No row of identical icon chips. - No colored glow, and no card inside a card. - Do not write "Trusted by 10,000+" unless the customers are named and linked. - Prefer periods to a stack of em dashes. Say what the product does. - Body text meets 4.5:1. Do not skip a heading level. - A fix names a real color, size, or measured count. Do not invent one.
Codex 的 AGENTS.md
贴进 AGENTS.md,Codex 会连同仓库一起读到它。
加进 AGENTS.md。
AGENTS.md展开规则正文
Source: https://unslopui.org License: CC BY 4.0 Do not give this page the usual generated look. - The page background is not a warm cream. A cooler near-white such as #F6F6F3 is fine. #F7F2E8 is not. - No violet, indigo, or purple gradient on a surface or inside a headline. - Do not set the page in Inter, Geist, Roboto, or system-ui alone. Pair a specific display face with a different text face. - No small uppercase label above a heading, and no 01 or a. section numbers. - No row of identical icon chips. - No colored glow, and no card inside a card. - Do not write "Trusted by 10,000+" unless the customers are named and linked. - Prefer periods to a stack of em dashes. Say what the product does. - Body text meets 4.5:1. Do not skip a heading level. - A fix names a real color, size, or measured count. Do not invent one.
Copilot 说明
Copilot 给修改建议时会读 .github/copilot-instructions.md。
存为 .github/copilot-instructions.md。
copilot-instructions.md展开规则正文
Source: https://unslopui.org License: CC BY 4.0 Do not give this page the usual generated look. - The page background is not a warm cream. A cooler near-white such as #F6F6F3 is fine. #F7F2E8 is not. - No violet, indigo, or purple gradient on a surface or inside a headline. - Do not set the page in Inter, Geist, Roboto, or system-ui alone. Pair a specific display face with a different text face. - No small uppercase label above a heading, and no 01 or a. section numbers. - No row of identical icon chips. - No colored glow, and no card inside a card. - Do not write "Trusted by 10,000+" unless the customers are named and linked. - Prefer periods to a stack of em dashes. Say what the product does. - Body text meets 4.5:1. Do not skip a heading level. - A fix names a real color, size, or measured count. Do not invent one.
检查一个页面
免费检查会读一个线上地址,并列出它测到的问题。
免费检查一个地址这些文件采用 CC BY 4.0