将以下规则直接写入你项目的 `CLAUDE.md`:
```markdown
# 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.
```
将以下规则直接写入你项目的 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.