frontend-design

frontend-design is a cursor rule for Cursor from MN-Lizard-Team/aiyu-multi-agent. It costs 34 tokens per session (3,348 once invoked), scanned A, original, Apache-2.0.

A guide to making web interfaces clear and usable through layout, color, typography, interaction, and accessibility decisions.

In plain words
What is it for?
It is for designing web components, page layouts, visual styles, and user experiences.
Why use it?
It helps prevent interfaces that are confusing, inconsistent, difficult to use, or visually unbalanced.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Cursor.

Good fit It is for designing web components, page layouts, visual styles, and user experiences.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mn-lizard-team/aiyu-multi-agent/frontend-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/MN-Lizard-Team/aiyu-multi-agent

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-design

README.md
[![agentmods](https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/frontend-design.svg)](https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/frontend-design)
Your own site
<a href="https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/frontend-design"><img src="https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/frontend-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,348 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.03348
Opus 5 $0.00017 $0.01674
Sonnet 5 $0.00007 $0.00670
Haiku 4.5 $0.00003 $0.00335

Measured 4d ago against content hash b294c88f814b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

frontend-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/skills/frontend-design.mdc · 456 lines

How it starts

The opening of the file, as written. The whole thing — 456 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: frontend-design

Cursor Agent-Requested Rule — applied when AI determines relevance.


Frontend Design System

Philosophy: Every pixel has purpose. Restraint is luxury. User psychology drives decisions. Core Principle: THINK, don't memorize. ASK, don't assume.


🎯 Selective Reading Rule (MANDATORY)

Read REQUIRED files always, OPTIONAL only when needed:

File Status When to Read
ux-psychology.md 🔴 REQUIRED Always read first!
color-system.md ⚪ Optional Color/palette decisions
typography-system.md ⚪ Optional Font selection/pairing
visual-effects.md ⚪ Optional Glassmorphism, shadows, gradients
animation-guide.md ⚪ Optional Animation needed
motion-graphics.md ⚪ Optional Lottie, GSAP, 3D
decision-trees.md ⚪ Optional Context templates

🔴 ux-psychology.md = ALWAYS READ. Others = only if relevant.


🔧 Runtime Scripts

Execute these for audits (don't read, just run):

Script Purpose Usage
scripts/ux_audit.py UX Psychology & Accessibility Audit python3 scripts/ux_audit.py <project_path>

⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)

STOP! If the user's request is open-ended, DO NOT default to your favorites.

When User Prompt is Vague, ASK:

Color not specified? Ask:

"What color palette do you prefer? (blue/green/orange/neutral/other?)"

Style not specified? Ask:

"What style are you going for? (minimal/bold/retro/futuristic/organic?)"

Layout not specified? Ask:

"Do you have a layout preference? (single column/grid/asymmetric/full-width?)"

⛔ DEFAULT TENDENCIES TO AVOID (ANTI-SAFE HARBOR):

AI Default Tendency Why It's Bad Think Instead
Bento Grids (Modern Cliché) Used in every AI design Why does this content NEED a grid?
Hero Split (Left/Right) Predictable & Boring How about Massive Typography or Vertical Narrative?
Mesh/Aurora Gradients The "new" lazy background What's a radical color pairing?
Glassmorphism AI's idea of "premium" How about solid, high-contrast flat?
Deep Cyan / Fintech Blue Safe harbor from purple ban Why not Red, Black, or Neon Green?
"Orchestrate / Empower" AI-generated copywriting How would a human say this?
Dark background + neon glow Overused, "AI look" What does the BRAND actually need?
Rounded everything Generic/Safe Where can I use sharp, brutalist edges?

Read the full file on GitHub · 456 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 456 lines · 34 tokens per session scan A b294c88f814b

Subscribe to this mod's changes

frontend-design is a cursor rule published in the GitHub repository MN-Lizard-Team/aiyu-multi-agent (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 3,348 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.