⚡
AntiSlop.kit Free & Open
致敬 hallmark & impeccable · 拒绝千篇一律的 AI 塑料网页

用顶级设计规范,
消除 AI 代码的“塑料感”

精选 12+ 套生产级 Anti-Slop 规范。一键注入 Claude Code (CLAUDE.md) 与 Cursor (.cursorrules),让前端生成自带 Linear、Vercel 级工艺水准。

浏览 12 套开源规则 ↓
AI Slop vs. Crafted Comparison 视觉实测对比
✕ 默认 AI Slop 塑料感风格

Amazing Ultra SaaS 2.0 🚀

模糊过浅的灰字与刺眼的紫蓝荧光阴影

Get Started Now!
✓ 注入 Anti-Slop 规范后的工艺感
Active Metrics +14.2%

1px 极简微边框、高对比度阅读与等宽数据字体

精选 Anti-Slop 规则目录

涵盖系统脚手架、落地页、仪表盘与交互组件,点击右上角一键复制到工程中。

共收录 12 套生产级规则
#1 · global Claude Code Codex

Claude Code 全局设计准则 (CLAUDE.md)

注入 Claude Code 项目根目录的顶级设计指引,强制 AI 拒绝默认塑料感组件,遵循 Linear / Vercel 极简设计规范。

✕ 常见塑料感: 默认生成千篇一律的紫色/渐变蓝色大圆角卡片、粗暴的 100vh 垂直居中容器和无意义的发光装饰阴影。
✓ Anti-Slop 标准: 建立严格的「少即是多」克制原则,强制使用中性微对比度、紧凑内边距(p-4/p-6)与 1px 微边框。
Rule Prompt / Configuration

将以下规则直接写入你项目的 CLAUDE.md:

# UI & Design System Guidelines (Anti-Slop Standard)

When designing or writing frontend code (HTML, Tailwind CSS, React, Vue, Svelte):

1. **Aesthetic Philosophy (The Anti-Slop Principle)**:
   - Reject generic AI templates: No glowing hero purple/blue gradients, no oversized rounded pill containers (avoid `rounded-3xl` unless specifically asked), no artificial neon glow shadows (`shadow-purple-500/50`).
   - Adhere to modern software craftsmanship inspired by Linear, Raycast, and Vercel: crisp borders, restrained color palettes, dense information architecture, and micro-interactions.

2. **Color Restraint**:
   - Backgrounds: Use zinc/slate dark surfaces (`#09090b`, `#121215`, `#18181b`) or clean paper white (`#ffffff`, `#f9fafb`).
   - Accent colors: Choose exactly ONE primary functional color (e.g., Sky-500, Rose-500, or Emerald-500). Never mix 3+ rainbow accent colors across buttons.
   - Text contrast: Body text MUST be readable (Zinc-100 or Zinc-200 on dark; Zinc-800 or Zinc-900 on light). Secondary text uses Zinc-400, never faint unreadable grey.

3. **Borders & Elevation**:
   - Use subtle 1px border dividers (`border-zinc-800` or `border-zinc-200/80`) instead of heavy box shadows.
   - Corners: Prefer `rounded-lg` (8px) or `rounded-md` (6px). Avoid bloated bubble corners.

4. **Typography & Spacing**:
   - Font: Prefer clean sans-serif (Inter, Geist, system-ui) with tabular figures for numbers (`font-mono` or `tabular-nums`).
   - Density: Give components breathing room without wasting vertical space. Use `gap-3` to `gap-4` for lists; avoid excessive empty margins.
#2 · global Cursor v0 Bolt

Cursor 系统规则 (.cursorrules)

注入 Cursor 项目的系统 Prompt,约束 AI 在生成页面时不制造臃肿代码与滥用渐变,优先选用精细 Tailwind 实用类。

✕ 常见塑料感: 代码充满冗余的 inline-style、无响应式考虑的绝对定位、以及未经思考的随意背景发光 blob。
✓ Anti-Slop 标准: 强制规范 Tailwind 类名优先级,约束卡片、边框、状态过渡逻辑,保证生成代码如高级前端手工编写。
Rule Prompt / Configuration

将以下内容放入项目根目录的 .cursorrules:

# Frontend Architecture & Anti-Slop Design Rules

You are an expert design engineer with taste rivaling Stripe, Vercel, and Linear designers.

## Prohibited Patterns (Do NOT generate these):
- DO NOT use multi-color gradient text (`bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-600`) unless requested.
- DO NOT use giant circular blurred gradient blobs behind sections (`filter blur-3xl opacity-30`).
- DO NOT use low-contrast text that strains eyes (e.g. `text-zinc-500` for 13px captions on dark backgrounds).
- DO NOT add arbitrary bouncing or pulsing animations to primary action buttons.

## Enforced Standards:
1. **Layout & Grid**:
   - Always use CSS Grid or Flexbox with strict token-based spacing (`gap-4`, `gap-6`, `p-6`).
   - Container max width: `max-w-6xl` or `max-w-7xl` with `mx-auto px-4 sm:px-6 lg:px-8`.
2. **Interactive States**:
   - Every clickable element MUST have smooth transitions: `transition-colors duration-150 ease-out`.
   - Hover states must be subtle: `hover:bg-zinc-800/80` or `hover:border-zinc-700`.
   - Focus rings: Always include accessible focus indicators: `focus-visible:ring-2 focus-visible:ring-zinc-400 focus-visible:outline-none`.
3. **Data Display**:
   - Numerical metrics must use `font-mono tracking-tight` or `tabular-nums`.
   - Table headers must be uppercase, tracking-wider, text-xs, font-medium in muted color.
#3 · saas-dashboard Claude Code Cursor v0

B2B SaaS 仪表盘与指标卡片规范

解决 AI 在制作 Dashboard 时指标卡片臃肿、图表与数字失去焦点的问题,提供信息密度高、专业稳重的数据卡片规范。

✕ 常见塑料感: 卡片内边距过大(p-8),数字使用超大字体却没有呼吸感,环比涨跌用大面积红色/绿色背景覆盖让人眼花。
✓ Anti-Slop 标准: 采用微边框卡片(p-4 或 p-5),小字重标签(text-xs uppercase)搭配等宽字体数字,涨跌采用微型胶囊标识。
Rule Prompt / Configuration

在让 AI 编写 Dashboard、Analytics 或 Metric Cards 时,将这段提示词补充到 Prompt 中:

Generate a high-density, professional SaaS metrics card grid with the following design specifications:
- Layout: 4-column responsive grid (`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4`).
- Card container: `bg-surface border border-zinc-800 rounded-lg p-4 shadow-sm hover:border-zinc-700 transition-all`.
- Card Header: Flex between title (`text-xs font-medium text-zinc-400 uppercase tracking-wider`) and a subtle icon (`h-4 w-4 text-zinc-500`).
- Metric Value: Large crisp number (`text-2xl font-semibold tracking-tight text-zinc-100 font-mono`).
- Delta / Trend: Subtext showing change (`text-xs text-zinc-400 mt-2 flex items-center gap-1.5`):
  - Positive: `text-emerald-400 flex items-center` with tiny green up arrow.
  - Negative: `text-rose-400 flex items-center` with tiny red down arrow.
- Prohibited: Do not use saturated colored backgrounds on cards or giant pill tags.
#4 · landing-page Claude Code Cursor Bolt v0

极简落地页首屏 (Hero Section) 规范

杜绝 AI 落地页最臭名昭著的紫蓝渐变、太空飞船背景与俗气三连按钮,打造高信赖感、高转化的国际顶级 SaaS 首屏。

✕ 常见塑料感: 滥用三色大渐变背景、超大发光按钮、无意义的浮动 3D 几何小球、无价值的太空/AI 概念图。
✓ Anti-Slop 标准: 黑白中性底色搭配精巧的 Announcement Pill 标签,聚焦清晰有力的主标与次标,搭配真实交互演示或代码框。
Rule Prompt / Configuration

在生成产品官网或 Landing Page 首屏时使用此规范:

Create a modern, conversion-focused Hero section adhering to Linear / Stripe craftsmanship:
1. **Announcement Badge**:
   - Centered small pill above H1: `inline-flex items-center gap-2 px-3 py-1 text-xs font-medium text-zinc-300 bg-zinc-900 border border-zinc-800 rounded-full hover:border-zinc-700 transition`.
2. **Headline (H1)**:
   - Punchy and direct: `text-4xl sm:text-5xl lg:text-6xl font-bold tracking-tight text-zinc-100 max-w-3xl mx-auto text-center`.
   - Single color or subtle monochrome gradient (`from-white via-zinc-200 to-zinc-400 bg-clip-text text-transparent`). NO rainbow gradients.
3. **Subheadline**:
   - `mt-6 text-lg sm:text-xl text-zinc-400 max-w-2xl mx-auto text-center leading-relaxed`.
4. **Call to Action Buttons**:
   - Exactly two actions:
     - Primary: Solid contrast button (`bg-zinc-100 text-zinc-950 hover:bg-white font-medium px-5 py-2.5 rounded-lg text-sm transition shadow-sm`).
     - Secondary: Outline/Ghost button (`bg-transparent border border-zinc-800 text-zinc-300 hover:bg-zinc-900 px-5 py-2.5 rounded-lg text-sm transition`).
5. **Hero Asset**:
   - Instead of generic AI illustration, embed a simulated product UI preview or terminal command box with 1px border and real code preview.
#5 · typography Claude Code Cursor

字体层级与排版对比度规范

解决 AI 生成页面字号梯度混乱、小字过浅无法阅读、标题与正文粘连的通病,确立清晰严密的排版比例体系。

✕ 常见塑料感: 字号跳跃过大(直接从 text-6xl 跳到 text-sm),或者为了追求所谓的科技感把正文搞成 text-zinc-600 导致视障困难。
✓ Anti-Slop 标准: 建立严格遵循 4px/8px 律的字号步进比例,正文锁定 Zinc-100 / Zinc-300,辅助说明锁定 Zinc-400,拒绝浅灰色。
Rule Prompt / Configuration

注入项目或提示词的 Typography 规范:

# Typography Hierarchy & Contrast Standards

Apply these typographic tokens strictly across all components:

- **Display Headline**: `text-4xl font-bold tracking-tight text-zinc-100 leading-tight`
- **Section Heading (H2)**: `text-2xl sm:text-3xl font-semibold tracking-tight text-zinc-100`
- **Card / Subsection Heading (H3)**: `text-lg font-semibold tracking-tight text-zinc-200`
- **Body Regular**: `text-sm sm:text-base text-zinc-300 leading-relaxed font-normal`
- **Micro-Copy / Metadata**: `text-xs text-zinc-400 font-medium`
- **Code / Monospace**: `font-mono text-xs sm:text-sm text-zinc-300 bg-zinc-900 border border-zinc-800 px-1.5 py-0.5 rounded`

## Contrast Rule:
- Any text under 14px MUST have at least 4.5:1 contrast against its background.
- Never use `text-zinc-600` or `text-zinc-700` for meaningful text on dark mode.
- Use `tracking-tight` on headings > 20px to prevent loose AI typography.
#6 · color-and-theme Claude Code Cursor v0

色彩克制与功能性调色哲学

反高饱和度、反五彩斑斓的 AI 调色习惯,采用单一功能色搭配中性灰阶,让界面呈现工业级的稳重与高级感。

✕ 常见塑料感: 在同一个页面中同时出现绿色按钮、紫色卡片、粉色标头和黄色提示,色彩过载像儿童涂鸦。
✓ Anti-Slop 标准: 整站只保留 1 个主功能色(Primary)和 1 个警示色(Danger),其余 95% 的界面空间留给黑白灰中性层级。
Rule Prompt / Configuration

色彩规范 Prompt:

# Strict Color Restraint Rules

When selecting colors for UI components:
1. **The 90-7-3 Distribution Rule**:
   - 90% Neutral Grayscale (Background `#09090b`, Surface `#121215`, Card `#18181b`, Border `#27272a`).
   - 7% Primary Semantic Accent (e.g. `sky-500` for primary button, active tab indicator, input focus ring).
   - 3% Status Accents (Red-500 only for destructive actions/errors, Green-500 only for verified/live status).

2. **Prohibited Color Usages**:
   - Never use saturated neon backgrounds for full cards.
   - Never use rainbow gradients across buttons, cards, and borders simultaneously.
   - Avoid colored shadows (e.g. `shadow-blue-500/50`)—they look dated and artificial. Prefer clean border contrast.
#7 · components Claude Code Cursor

微交互与克制过渡动画规范

解决 AI 生成页面时要么僵死毫无反馈,要么生硬跳跃(大幅 scale-110)的问题,提供类似原生客户端的流畅触感。

✕ 常见塑料感: 给每个卡片加 hover:scale-105、hover:-translate-y-2 等大幅位移,晃眼且让用户产生眩晕感。
✓ Anti-Slop 标准: 位移不超过 1px(或纯靠颜色与边框明度变化),过渡时间控制在 150ms~200ms,曲线采用 ease-out。
Rule Prompt / Configuration

交互规范 Prompt:

# Micro-Interaction & Transition Rules

1. **Button Hover & Active States**:
   - Transition: `transition-all duration-150 ease-out`.
   - Subtle brightness/background shift: `hover:bg-zinc-800 active:scale-[0.98]`.
   - Never use `hover:scale-110` on functional UI elements.

2. **Card Hover States**:
   - Prefer border illumination over physical movement:
     `border border-zinc-800 hover:border-zinc-700 hover:bg-zinc-900/40 transition-colors duration-200`.
   - If elevation is needed, use subtle shadow: `hover:shadow-md hover:shadow-black/40`.

3. **Loading States**:
   - Use subtle pulsing skeleton loaders (`animate-pulse bg-zinc-800 rounded`) instead of giant spinning rainbow wheels.
#8 · components Claude Code Cursor v0

精致表单输入框与聚焦环 (Focus Ring) 规范

优化 AI 制作表单时常见的粗糙默认边框、刺眼蓝色默认轮廓,打造符合无障碍标准且现代感十足的输入体验。

✕ 常见塑料感: 默认浏览器粗蓝色 outline、Label 距离输入框过远、输入框背景色与底色无法区分。
✓ Anti-Slop 标准: 采用 Zinc-900 浅层输入背景、微边框、以及 2px 柔和外聚焦环(focus-visible:ring-2 focus-visible:ring-zinc-400/50)。
Rule Prompt / Configuration

表单组件 Prompt:

# Modern Accessible Form & Input Standards

Generate form fields following this component anatomy:
1. **Label**:
   - `block text-xs font-medium text-zinc-300 mb-1.5`.
   - If required, mark with a subtle red asterisk or muted text `(optional)`.
2. **Input Field**:
   - Class: `w-full bg-zinc-900/80 border border-zinc-800 rounded-lg px-3.5 py-2 text-sm text-zinc-100 placeholder:text-zinc-500 focus:outline-none focus:border-zinc-600 focus:ring-2 focus:ring-zinc-700/50 transition-all`.
3. **Helper / Error Text**:
   - Helper: `mt-1.5 text-xs text-zinc-500`.
   - Error: `mt-1.5 text-xs text-rose-400 flex items-center gap-1`.
#9 · components Claude Code Cursor

抽屉 (Sheet Drawer) 与遮罩弹窗设计规范

解决传统 AI 模态框死黑背景全屏遮罩、内容割裂的问题,采用毛玻璃遮罩(backdrop-blur)与轻盈滑入动画。

✕ 常见塑料感: 全屏纯黑 `bg-black/90` 遮罩导致背景完全被吞没,弹窗死板无圆角或圆角过大,缺少退出与键盘 Esc 反馈。
✓ Anti-Slop 标准: 半透明柔和模糊背景(bg-black/50 backdrop-blur-sm),对话框带 1px 细边框与柔和投射阴影。
Rule Prompt / Configuration

弹窗与抽屉 Prompt:

# Modern Dialog & Drawer Architecture

1. **Backdrop**:
   - `fixed inset-0 bg-black/60 backdrop-blur-sm z-50 transition-opacity`.
2. **Dialog Panel**:
   - `fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-lg bg-zinc-900 border border-zinc-800 rounded-xl p-6 shadow-2xl z-50`.
   - Header with Title (`text-lg font-semibold text-zinc-100`) and subtle Close button (`text-zinc-400 hover:text-zinc-100 p-1.5 rounded-md hover:bg-zinc-800`).
   - Sticky footer with actions aligned to the right.
#10 · saas-dashboard Claude Code Cursor v0

高密度数据表格与单元格排版规范

解决 AI 生成表格时行高过大、一屏只能看 3 行数据、对齐方式混乱的糟糕体验,打造高可用后台表格。

✕ 常见塑料感: 表头与正文同字号混杂、数值列左对齐、每个单元格垂直内边距过大(py-6)。
✓ Anti-Slop 标准: 表头大写微字号(text-xs uppercase)、数值列严格右对齐且使用等宽数字、行高紧凑优雅(py-3)。
Rule Prompt / Configuration

数据表格规范 Prompt:

# High-Density Data Table Standards

Generate tabular data with the following layout rules:
- Table Container: `w-full overflow-x-auto border border-zinc-800 rounded-lg`.
- Header (`<thead>`):
  - Row: `bg-zinc-900/60 border-b border-zinc-800`.
  - Th: `px-4 py-3 text-left text-xs font-medium text-zinc-400 uppercase tracking-wider`.
- Body (`<tbody>`):
  - Row: `border-b border-zinc-800/60 hover:bg-zinc-900/40 transition-colors`.
  - Td: `px-4 py-3 text-sm text-zinc-300 whitespace-nowrap`.
- Alignment:
  - Text: Left-aligned (`text-left`).
  - Numbers, Dates, Currency: Right-aligned (`text-right font-mono tabular-nums`).
  - Actions/Badges: Centered or Right-aligned.
#11 · components Claude Code Cursor

状态徽章与微型标签 (Status Badges) 规范

杜绝 AI 乱用大面积刺眼红绿背景贴片(如 bg-green-500 text-white),采用高级半透明浅色底加小圆点指示器。

✕ 常见塑料感: 给一个简单的「已完成」打上刺眼的大红色/大绿色块,不仅喧宾夺主还导致字看不清。
✓ Anti-Slop 标准: 采用带 1px 边框的浅色半透明背景,文字与小圆点保持同色系,如 `bg-emerald-950/40 border-emerald-800/50 text-emerald-400`。
Rule Prompt / Configuration

状态标签 Prompt:

# Subtle Status Badge & Indicator Tokens

Do not use high-saturation solid backgrounds for tags. Use this subtle pattern:

- **Success / Active**:
  `inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium bg-emerald-500/10 text-emerald-400 border border-emerald-500/20`
  (With a 1.5x1.5 dot: `h-1.5 w-1.5 rounded-full bg-emerald-400`)

- **Warning / Pending**:
  `inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium bg-amber-500/10 text-amber-400 border border-amber-500/20`

- **Error / Inactive**:
  `inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium bg-rose-500/10 text-rose-400 border border-rose-500/20`

- **Neutral / Draft**:
  `inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-xs font-medium bg-zinc-800 text-zinc-300 border border-zinc-700/60`
#12 · color-and-theme Claude Code Cursor v0

真正的高级暗黑模式 (Craft Dark Mode) 调色

解决 AI 一做暗黑模式就无脑填 `#000000` 纯黑导致视觉对比度过载、白字刺眼的问题,构建细腻的灰色表面与景深。

✕ 常见塑料感: 纯黑底 `#000000` 配纯白字 `#ffffff`,由于对比度达到极限 21:1,阅读时间一长眼睛产生强烈视觉疲劳和重影。
✓ Anti-Slop 标准: 底色采用 `#09090b`(Zinc-950),表面层级逐级提亮至 `#121215` 和 `#18181b`,字色收敛至 `#e4e4e7`(Zinc-200)。
Rule Prompt / Configuration

暗黑模式系统 Prompt:

# Craft Dark Mode Design Tokens (Never Pure Black)

1. **Surface Elevation System**:
   - `Layer 0 (Canvas Background)`: `#09090b` (Tailwind `bg-zinc-950`)
   - `Layer 1 (Card / Sidebar / Panel)`: `#121215` or `#18181b` (Tailwind `bg-zinc-900`)
   - `Layer 2 (Elevated / Dialog / Popover)`: `#202024` or `#27272a` (Tailwind `bg-zinc-800/80`)
   - `Dividers & Borders`: `#27272a` (Tailwind `border-zinc-800`)

2. **Text Contrast & Brightness Softening**:
   - Primary Headings: `text-zinc-100` (`#f4f4f5`), not stark `#ffffff`.
   - Primary Body: `text-zinc-300` (`#d4d4d8`).
   - Muted Labels: `text-zinc-400` (`#a1a1aa`).

为什么说“消除 AI 塑料感”是出海产品转化的胜负手?

1. 建立第一眼信任感

海外技术用户一眼就能认出由默认 Prompt 生成的廉价 AI 网页。克制的中性排版、细致的边框处理会让产品看起来像成熟公司出品。

2. 省去 80% 的返工调试

把规则固化在 CLAUDE.md 或 .cursorrules 中,模型在第一次生成代码时就遵循无障碍与层级规范,无需反复调整。

3. 提高付费转化率

用户为整洁、高效、低视觉负担的专业软件掏钱,而不是为花哨刺激的霓虹渐变买单。“少即是多”永远是 B2B 软件最高级的说服力。

Pro Commercial Bundle

Anti-Slop Pro 商业工程包

不仅提供文本提示词,直接交付开箱即用的高质感代码资产,省下每次给 AI 调样式的数十个小时。

✓ 10+ 套完整业务页面源码:包含高转化 Pricing 页、SaaS Settings 偏好页、登录认证页与审计数据表(Tailwind + React)。
✓ 企业级 Agent Skills 脚手架:开箱即用的 Claude Code & Cursor 工程化规则文件,拒绝低级样式错误。
✓ 私有 GitHub 仓库直连:持续获取最新打磨的设计规范组件与自动化更新。
单次买断 · 永久更新
$19 $49