agentleFS
vasceannievasceannie/slopgate/.cursor/rules/design.mdc

slopgate / rules

Cursor rule1 starsChanged 51 days agoMITView on GitHub

Design system, typography, color, accessibility (WCAG 2.2), responsive-first layout, and motion design standards

We split this design.mdc into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the service supports CJK languages: prioritize CJK-ready fonts (Pretendard Variable > Noto Sans CJK > system-ui fallback).

    line 14
  2. Distinctive:

    ALL output must be responsive-first (mobile layout as default, enhance upward).

    line 17
  3. Distinctive:

    Typography: Don't default to custom Google Fonts.

    line 23
  4. Distinctive:

    Color: Avoid purple-to-blue gradient backgrounds.

    line 24
  5. Distinctive:

    Components: Use shadcn/ui for base; all interactive elements must have visible focus states

    line 27

≈ “Common” is an estimate: at least 1 in 5 of the 6,350 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
design.mdc
---
description: "Design system, typography, color, accessibility (WCAG 2.2), responsive-first layout, and motion design standards"
globs: 
alwaysApply: false
---

<!-- Generated by oh-my-agent. Source: .agents/rules/design.md -->

# Design Standards

## Core Rules

1. System font stack as default (`system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`). Add custom fonts only with project justification.
2. If the service supports CJK languages: prioritize CJK-ready fonts (Pretendard Variable > Noto Sans CJK > system-ui fallback).
3. Name colors semantically with hex values: "Deep Ocean Navy (#1a2332)" not "dark blue".
4. Recommend components with install commands (shadcn CLI).
5. ALL output must be responsive-first (mobile layout as default, enhance upward).
6. WCAG AA minimum for all designs. Respect `prefers-reduced-motion`.
7. Present 2-3 design directions and get user confirmation before generating.

## Anti-Patterns to Avoid

- **Typography**: Don't default to custom Google Fonts; body text minimum 16px on mobile; test CJK at every size
- **Color**: Avoid purple-to-blue gradient backgrounds; avoid gradient orbs/blobs; use solid colors or subtle single-hue gradients
- **Layout**: 8px grid; works at 375px minimum; avoid nested cards inside nested cards
- **Motion**: transform + opacity only for 60fps; 150ms micro-interactions, 200-500ms transitions; respect prefers-reduced-motion
- **Components**: Use shadcn/ui for base; all interactive elements must have visible focus states

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.