ux-design

ux-design is a cursor rule for Cursor from kok-o/koko-contextos-agents. It costs 0 tokens per session (779 once invoked), scanned A, original, MIT.

A set of instructions for designing user experiences, including navigation, screen states, forms, and reducing user confusion. User experience means how people understand and use an interface.

In plain words
What is it for?
Planning navigation, user flows, forms, validation, loading screens, and error handling in interfaces.
Why use it?
It helps teams account for empty, loading, partial, ideal, and error states instead of designing only the normal case.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Planning navigation, user flows, forms, validation, loading screens, and error handling in interfaces.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/kok-o/koko-contextos-agents/ux-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/kok-o/koko-contextos-agents

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 ux-design

README.md
[![agentmods](https://agentmods.dev/badge/rules/kok-o/koko-contextos-agents/ux-design/github.svg)](https://agentmods.dev/rules/kok-o/koko-contextos-agents/ux-design)
Your own site
<a href="https://agentmods.dev/rules/kok-o/koko-contextos-agents/ux-design"><img src="https://agentmods.dev/badge/rules/kok-o/koko-contextos-agents/ux-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ux-design

Your own site · 80×15
<a href="https://agentmods.dev/rules/kok-o/koko-contextos-agents/ux-design"><img src="https://agentmods.dev/badge/rules/kok-o/koko-contextos-agents/ux-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 779 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.00000 $0.00779
Opus 5 $0.00000 $0.00390
Sonnet 5 $0.00000 $0.00156
Haiku 4.5 $0.00000 $0.00078

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

Security

Grade A, and why

ux-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 5d 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/ux-design.mdc · 120 lines

How it starts

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

Skill: UX Design

UX Design

Overview

A brief summary of what the skill does and its core philosophy.

When to Use

Context for when this skill is applicable.

Rules & Patterns

UX Design — Best Practices

Information Architecture

  • Mental models — organize content the way users think, not the way your code is structured
  • Card sorting — group features into logical categories
  • Navigation structure — no more than 3 clicks to any page
  • Naming — use user's language, not internal jargon

User Flows

Design every state

Every screen has 5 states. Design ALL of them:

  1. Empty state — first visit, no data yet. Include CTA to get started
  2. Loading state — skeleton screens > spinners
  3. Partial state — some data, not complete
  4. Ideal state — normal usage with data
  5. Error state — what went wrong and how to fix it

Reduce cognitive load

  • Progressive disclosure — show only what's needed now
  • Sensible defaults — pre-fill what you can
  • Inline help — tooltips and contextual guidance
  • Confirmation for destructive actions — but NOT for every action

Forms UX

  • Show progress for multi-step forms
  • Validate inline (on blur), not on submit
  • Show password requirements as the user types
  • Auto-focus the first input
  • Use appropriate input types (email, tel, date)
  • Disable submit button only when form is submitting, never as "validation"

Onboarding

  • Quick win — let users see value within 30 seconds
  • Minimal signup — only ask for what's absolutely needed
  • Progressive onboarding — teach features as users encounter them
  • Skip option — always let users skip tutorials

Feedback

  • Every action needs feedback (success, error, pending)
  • Use toast notifications for non-blocking feedback
  • Use inline messages for form validation
  • Loading states should be < 300ms before showing (avoid flash)
  • Optimistic UI for fast-perceived actions

Mobile UX

Read the full file on GitHub · 120 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. 5d ago First seen · 120 lines · 0 tokens per session scan A 8c984c0fd833

Subscribe to this mod's changes

ux-design is a cursor rule published in the GitHub repository kok-o/koko-contextos-agents (2 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 779 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-09-03.

Related

Other cursor rules, from other repositories

align-grid

Build editorial/magazine/report webpages on a GENUINE Müller-Brockmann modular grid (International Typographic Style) — not a decorative one. Encodes the discipline (columns + modules + baseline, grotesque type, flush-left, restrained black/white/red palette) AND the hard-won front-end engineering to make the grid…

danielvm-git/bigpowers · 157 tokens

extract-design

Extract a Google DESIGN.md file from an HTML prototype (claude.ai/design or any styled page) using Puppeteer, producing machine-readable tokens and AI-generated prose. Use when the user has an HTML prototype and wants a DESIGN.md to anchor their project's visual identity, or when seed-conventions has just scaffolded a…

danielvm-git/bigpowers · 66 tokens

hatch3r-design-system-detection

Mandatory detection of existing design tokens, theme primitives, and component library before AI agents author new UI components.

hatch3r/hatch3r · 0 tokens

hatch3r-ux-states-and-flows

Four-state surface contract (loading/empty/error/partial), user-flow decomposition before implementation, and microcopy + tone discipline for end-user UIs.

hatch3r/hatch3r · 0 tokens

hatch3r-ai-ux-patterns

2026 AI/agentic UX patterns for end-user projects shipping AI features — streaming, tool-call UI, human-approval gates, cancel/abort/undo, citations.

hatch3r/hatch3r · 0 tokens

hatch3r-accessibility-standards

Accessibility standards covering WCAG 2.2 AA compliance, keyboard navigation, screen readers, and ARIA patterns.

hatch3r/hatch3r · 0 tokens