designer-skill-ui

Rules requiring a specific designer-skill MCP workflow before creating or editing user interfaces, layouts, dashboards, or other visual designs.

In plain words
What is it for?
Use them for UI and visual design work, including preflight checks, design-direction approval, reference loading, implementation, and review gating.
Why use it?
They ensure the design direction, project context, references, and final quality review are checked before implementation is considered complete.

Cursor rule

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.

agentmods
npx agentmods add rules/pymodel/designer-skill/designer-skill-ui
Clone the repo
git clone --depth 1 https://github.com/PyModel/designer-skill
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 311 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00311
Opus 5 $0.00000 $0.00156
Sonnet 5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

Measured 2d ago against content hash 0703886c6e69, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

designer-skill-ui 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 2d 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.

rules/designer-skill-ui.mdc · 31 lines

What it actually says

Designer Skill MCP Rule

Before editing or generating any UI, layout, landing page, component, dashboard, or visual design:

  1. Call get_preflight_brief.
  2. Call commit_design_direction and get PASS before writing code:
    • register: brand or product
    • one-line design read: surface + audience + visual language
    • design variance, motion intensity, and visual density: whole numbers from 1–10
    • aesthetic system (one per surface)
    • physical scene (one sentence)
    • layout families
    • typography direction
    • anti-slop risks (≥2)
    • inverse-test pass + description
  3. Call load_project_context when PRODUCT.md / DESIGN.md may exist.
  4. Call dispatch_intent and load only the recommended references via get_reference.
  5. Implement the design.
  6. Call review_and_gate on changed files before the final response.
  7. Do not claim completion if review_and_gate returns FAIL or blocking slop findings remain.

Foundation: Brief by default → commit direction before code → deep refs on demand → deterministic gate before done.

Copy to .cursor/rules/ in your project, or symlink from this file.

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. 2d ago First seen · 31 lines · 0 tokens per session scan A 0703886c6e69

Subscribe to this mod's changes

designer-skill-ui is a cursor rule published in the GitHub repository PyModel/designer-skill (30 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 311 tokens. 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-08-30.