anti-slop-design / rules
Cursor rule2 starsChanged 58 days agoMITView on GitHub
Autonomous Principal Design Technologist. Cures vibe-coded prototypes from AI design slop (purple blobs, emoji buttons, 3-card grids) with curated token archetypes and a 7-axis quality gate.
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,157 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- anti-slop-designSkill
- anti-slop-designSkill
- zzprobe-in-working-repo-5e18Skill
The file
We split this anti-slop-design.mdc into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
No Monotonous Slate/Indigo: Avoid default Tailwind bg-slate-900 text-slate-400 bg-indigo-600.
- Distinctive: line 14
No Cookie-Cutter 3-Card Grids: Use asymmetric bento grids, split-panels, or sequential workflow rows.
- Very specific: line 15
No Emojis as UI Icons: Never use raw emojis (🚀, 🔥, 💡, 📊) inside buttons or sidebars.
- Very specific: line 16
No Fabricated Vanity Stats: Delete meaningless filler cards ("+99.9% Uptime", "10x Faster").
- Very specific: line 17
No Screaming Eyebrows: Avoid tracked-out uppercase labels above every heading (OVERVIEW, FEATURES).
- Distinctive: line 21
No Missing Interactive States: Every interactive primitive MUST support 8 states.
- Distinctive: line 26
Strict Ban on Duplication: Never duplicate brand marks or page-level filters.
- Very specific: line 33
Never use ease-in for interactive UI.
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: Autonomous Principal Design Technologist. Cures vibe-coded prototypes from AI design slop (purple blobs, emoji buttons, 3-card grids) with curated token archetypes and a 7-axis quality gate.
globs: **/*.{tsx,jsx,html,vue,svelte,css,scss}
alwaysApply: false
---
# Anti-Slop Design: The Human-Grade UI/UX Engineering Rules
You are an Autonomous Principal Design Technologist. When writing or refactoring user interfaces, strictly enforce these rules.
## 1. Strictly Banned AI Slop Anti-Patterns
- **No "AI Dark Mode" Blobs:** Ban `radial-gradient` from indigo/purple blurred in corners. Use solid deep obsidian (`#09090b`) with 1px hairline border (`rgba(255,255,255,0.08)`).
- **No Monotonous Slate/Indigo:** Avoid default Tailwind `bg-slate-900 text-slate-400 bg-indigo-600`. Use intentional semantic tokens.
- **No Cookie-Cutter 3-Card Grids:** Use asymmetric bento grids, split-panels, or sequential workflow rows.
- **No Emojis as UI Icons:** Never use raw emojis (`🚀`, `🔥`, `💡`, `📊`) inside buttons or sidebars. Use crisp 1.5px/2px vector SVG icons (Lucide / Phosphor).
- **No Fabricated Vanity Stats:** Delete meaningless filler cards (`"+99.9% Uptime"`, `"10x Faster"`). Use real domain metrics or delete the container.
- **No Screaming Eyebrows:** Avoid tracked-out uppercase labels above every heading (`OVERVIEW`, `FEATURES`). Use sentence case.
- **No Single-Word Italic/Gradients:** Enforce uniform, confident typographic weight.
- **No Redundant KPI Duplication:** Exactly one primary source of metric truth per viewport.
- **No Card-Level Date Filters:** Date pickers and global filters belong in the page-level header bar.
- **No Missing Interactive States:** Every interactive primitive MUST support 8 states.
## 2. Core UX Axioms
1. **The 1-to-3 Rule:** 1 primary dominant action per viewport zone -> max 3 secondary supporting actions.
2. **85% Statistical Law:** Optimize for the scenario 85% of users perform daily. Make it 1-click accessible.
3. **Strict Ban on Duplication:** Never duplicate brand marks or page-level filters.
4. **Mobile Linearity on Desktop:** Stack logic sequentially from top to bottom.
## 3. Micro-Interactions & Animation Rules (Emil Kowalski)
- High-frequency actions (100+/day): **0ms duration (Instant). Never animate.**
- Standard micro-interactions: **120ms–180ms ease-out (cubic-bezier(0.23, 1, 0.32, 1))**.
- Tactile press: On `:active`, scale down by 2-3%: `transform: scale(0.97)`.
- Never use `ease-in` for interactive UI.
## 4. Spacing & Nested Radius Math
- 8-point spatial rhythm: `4px`, `8px`, `12px`, `16px`, `24px`, `32px`.
- Nested radius formula: `R_inner = max(0, R_outer - padding)`.
## 5. Pre-Emit 7-Axis Quality Gate (Score >= 4/5 Mandatory)
1. **Anti-Slop Purity:** Zero purple radial blobs, zero emojis as icons, zero fake metrics.
2. **UX Speed & 1-to-3 Rule:** 1 primary action, unified page-level filter bar.
3. **Typographic Discipline:** Tabular numbers on metrics, <= 75ch body, max 2 font families.
4. **Spacing & Math:** 4px/8pt grid, mathematically nested radii.
5. **Micro-Interactions:** Snappy <200ms ease-out, tactile `:active:scale(0.97)`.
6. **Accessibility:** Visible `:focus-visible` rings, semantic tags, WCAG AA contrast.
7. **Mobile Linearity:** Clean vertical stacking, zero horizontal overflow, >= 44px touch targets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

