agentleFS
muad-yasinmuad-yasin/the-high-council-mcp/skills/ux-design/SKILL.md

ux-design

Skill1 starsChanged 21 days agoMITView on GitHub

Runs the design pass before any interface is built - user flow, text wireframe, every screen state (locked, first-time, empty, loading, error), accessibility, notification intrusiveness, onboarding, dark-pattern screening, and what each control, state and error must say. Use before implementing or changing any user-facing surface, including small requests like "add a button" or "show X to the user", even when the request never uses a design word. Hands a flow, wireframe and states list to frontend-developer. Not for whether the built result looks right (visual-craft).

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use app-brief, design-from-app and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • StijnusSkill

    app-brief

    One-page brief (docs/BRIEF.md) for a new macOS app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done.

    Also in 3 projects that use this

  • StijnusSkill

    design-from-app

    Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".

    Also in 3 projects that use this

  • MohamedAbdallah-14Skill

    app-icon

    Generate an app icon from a single 1024² master and fan out to iOS (AppIcon.appiconset with squircle-ready 1024 opaque), Android (adaptive foreground + background + Android 13 monochrome), PWA (192/512 + 512 maskable with 80% safe zone), and visionOS (3-layer parallax).

    Also in 4 projects that use this

  • launchapp-devSkill

    layout-grid

    Define responsive layout grid systems with columns, gutters, margins, and breakpoint behavior.

    Also in 3 projects that use this

  • bullish0xSkill

    vertical-slice

    Pre-Production validation — build a production-quality end-to-end build to confirm the full game loop is achievable before committing to Production. Run after GDDs, architecture, and UX specs are complete. Produces a PROCEED/PIVOT/KILL verdict that gates the Pre-Production → Production transition.

    Also in 5 projects that use this

  • CrystalPlatformsSkill

    agent-cli

    Design and audit CLIs that AI agents (Claude Code, Codex, automated pipelines) consume. Applies ten agent-native principles in two tiers — Tier 1 table stakes (non-interactive default, structured output, errors that enumerate, safe retries, bounded responses) and Tier 2 compounding (cross-CLI vocabulary, three-layer introspection, async-aware execution, persistent profiles, two-way I/O) — with a Blocker / Friction / Optimization severity rubric across six command classes (read, mutate, stream, bootstrap, async, config). Use when building, reviewing, or specifying a CLI for agent invocation, mentions argparse, click, cobra, clap, commander, yargs, oclif, thor, agent-friendly or agent-native CLI design, --json output, exit codes, idempotent commands, --wait flags, agent-context introspection, persistent profiles, --deliver routing, --force bypass, vocabulary consistency, or repos with cli.py, main.go, src/cli.rs, bin/<tool>. Skip general shell scripting and human-only TUIs.

    Also in 3 projects that use this

  • +2 more from Stijnus

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 2

    Distinctive

    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:

    Flow before visuals: Never jump to layout or style before the user's path is mapped.

    line 9
  2. Distinctive:

    A transient surface owns its exit as a designed state: when it goes away (dismissal, after one read or cycle - never "frozen with no way …

    line 65

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “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
SKILL.md

UX Design

Flow before visuals. Never jump to layout or style before the user's path is mapped. A small visual-only finding that doesn't need a design pass goes in a backlog note, not a fresh design cycle.

Output of this skill, handed to frontend-developer: a confirmed flow, a text wireframe, and a complete states list. Whether the built composition, palette and staging read well is visual-craft's, afterwards.

- [ ] 1. Flow mapped (goal, entry point, steps, branches, where it lives)
- [ ] 2. Wireframe + every state listed + surplus space named
- [ ] 3. Accessibility pass
- [ ] 4. Notification tier chosen; transient exits designed; dark-pattern screen
- [ ] 5. First-session path checked
- [ ] 6. Copy: action names consistent, errors say what to do next
- [ ] 7. The walk-through of section 2: system state visible, a way out everywhere, undo or ask first, nothing to remember from the screen before

1. Map the flow - always first

  • What is the user trying to do, and what brought them here? Steps from entry to goal; cut steps to the minimum actions to value.
  • Decision points and branches ("if they can't afford it, show X").
  • Extend an existing surface before adding a new one. A new top-level surface is a bigger decision than it looks; don't reach for it by default.
  • No interruption fires on its own. A modal or full-screen takeover is gated behind an explicit user action, never a timer, threshold or app-open event. A first-run sequence is the one legitimate exception, and a deliberate, named one.
  • Before writing a tutorial or hint, check whether existing UI already teaches the behavior. One design pass that assumed three gaps needed new copy found most were already self-teaching; only the genuinely untaught behavior earns copy.

2. Wireframe and states

  • Text wireframe: regions, elements, hierarchy - no visual style yet.
  • One primary action per screen. Two competing primaries means restructure.
  • Primary actions within easy reach of the input method (thumb zone on touch, the natural cursor path on desktop).
  • Compose for a range of viewport sizes and name where surplus space goes (a scroll region, a spacer, a background). Left unnamed, it lands wherever an unrelated flexible rule sits - invisible in any capture taken at the one size you designed for.
  • Keep interactive content out of hardware and OS keep-out zones (notches, status bars, gesture edges) - an authoring rule to check, not something the runtime handles for you.
  • List every state: locked or teaser, first-time, empty, loading, active, error. Say what each communicates.
  • Mystery-lock or full transparency, chosen per screen. A discovery screen may hide locked content; a planning screen shows its name, cost and requirements up front. Say which and why.
  • Withhold the action, never the information. A locked or unavailable item says what it is and what it costs; the button is what is withheld. A planning screen is not a discovery mechanic. (A deliberate exception on one project: a physical object in a game world left silently unusable so players would wonder about it. It worked because it was an object in a world, not a menu row: a screen keeps transparency, a world can keep a mystery.)
  • A lock the user can resolve gets its reason and next step; a lock they cannot resolve gets plain dimmed chrome, not a caption. A locked or empty state otherwise gets a headline, a one-line reason, a visual cue, and a next step where one exists. "Check back later" is worse than either a plain dimmed lock or a real reason.
  • A consequential action can be undone, or the user is asked before it runs - and undo is the better of the two. Asking before every routine action trains people to click through, so keep the question for what cannot be taken back, and say in it what will be lost.
  • Prevent the slip and the mistake differently. A slip is the right intention with the wrong motion (a mis-tap beside a destructive control): spacing, a constraint and undo answer it. A mistake is a wrong picture of what the control does: a clearer name, a preview of the result and undo answer it. A warning helps only when it says what will happen, because a bare "Are you sure?" invites someone who misunderstands the action to agree to the misunderstanding.
  • Before handoff, walk the wireframe once with four questions: can the user always see what state the system is in; is there a marked way out of every screen and every transient surface; can each consequential action be undone, or is the user asked first; does any screen rely on the user remembering something from the screen before? Each "no" is a finding while it is still cheap to fix. (The four questions and the slip and mistake distinction follow Jakob Nielsen's usability heuristics; the remedies are this skill's: references/evidence.md.)
  • A newly interactive element needs a visible affordance (icon, highlight, chevron, caption) specified in the design. Wireframes describe what an element does and routinely forget that it must look actionable.
  • Say whether each visual signal invites or informs. Inviting signals draw attention (a glow, a pulse, a badge); informative ones are legible but recede (a label, a count). The distinction (Celia Hodent's inviting and informative signs, from game UX) generalizes well and stops an informative element being animated into a nag. If a control needs a caption to explain its own verb, question the control first.

3. Accessibility - not skipped for a prototype

Design-time items, stated against WCAG 2.2 AA, the current W3C Recommendation. Many legal baselines still cite WCAG 2.1 AA (the US ADA Title II rule, and the EU's EN 301 549 until its WCAG 2.2-aligned V4.1.1, published September 2026, is cited in the Official Journal - expected December 2026; re-check this sentence after that); 2.2 AA covers 2.1 AA, so design to 2.2. An AAA criterion is adopted by decision and written down, because one nobody chose gets met on one screen and missed on the next: a measurable focus indicator (2.4.13) is one such choice, and frontend-developer has its figures.

  • Color never carries meaning alone - pair it with a shape, icon, sign or label.
  • Contrast meets 4.5:1 for normal text and 3:1 for large text and for UI components and meaningful graphics (WCAG 1.4.3, 1.4.11). Computed, not eyeballed; this skill owns the thresholds for the whole set, visual-craft owns the measuring method.
  • Targets: the WCAG 2.2 floor is 24x24 CSS px (or equivalent spacing); platform guidance is larger - Apple's default control size is 44x44 pt on iPhone and iPad and 28x28 pt on Mac, and Android asks 48x48 dp for touch. Design to the platform number. This skill owns the numbers; frontend-developer checks them against real bounds.
  • Every function works from a keyboard, with a visible focus indicator that sticky headers, banners or overlays never hide (stricter than WCAG 2.4.11 AA, which only requires it not be entirely hidden).
  • Drag has a single-pointer alternative (buttons, tap-to-place) unless dragging is essential.
  • Visible labels on inputs, never placeholder-only. Don't make people re-enter what they already gave in the same flow.
  • Sign-in needs no memory or puzzle test - allow paste and password managers; offer an alternative to cognitive challenges.
  • Help, if offered, sits in the same place on every screen.
  • Motion is an accessibility axis. Large parallax, shake and full-viewport transitions are documented motion-sickness triggers (W3C, Understanding SC 2.3.3); design the reduced-motion version alongside them. Sustained small motion should read as noticeable, not nagging.

4. Notifications, trust, and dark patterns

  • Pick the intrusiveness tier by urgency, not by how much the feature wants attention. Cheapest to loudest: a passive badge on a persistent entry point; a dismissible banner for time-sensitive but non-critical news; a full takeover only for what genuinely needs undivided attention now, still gated behind a user action where possible.
  • A transient surface owns its exit as a designed state: when it goes away (dismissal, after one read or cycle - never "frozen with no way out") and whether it returns on reload. A notification with no designed exit gets reported as "it's stuck."
  • Screen for dark patterns before finalizing anything with a monetization or engagement angle - as compliance, not taste. Several jurisdictions regulate these: the EU's Digital Services Act bars online platforms from interfaces that deceive or manipulate users, and consumer-protection and subscription-renewal law applies more widely. Check explicitly for: nagging, forced continuity (cancelling harder than signing up), confirmshaming, roach motel, disguised ads, and costs revealed only at the last step. Never sell the recovery from a user's own mistake - an undo or restore that is paywalled only for people who tripped it by accident is the shape to flag hardest. Anything with real psychology or money stakes gets a second look from someone other than its designer.

5. First session and onboarding

  • Teach by doing. A common onboarding failure is a lock-out tutorial that allows one action and blocks everything else. A real, hand-authored first instance of a mechanic teaches better than an overlay describing it. One new concept per beat.
  • A forced linear sequence (no skip, no back) is a deliberate override, reserved for a true first run. Every further guided sequence argues its case from scratch.
  • Time to first value - roughly how long a new user takes to reach the core action. A long stretch of setup before it is a design problem, not the cost of onboarding.

6. Copy and handoff

Tone and function can both bind; function wins on anything the user acts on.

  • An action keeps one name through the flow. "Delete" produces a confirmation that says "Deleted," not "Operation complete." A committing button names its verb ("Delete file", "Send €50"), never a bare "OK."
  • Name what the user controls, not how it's built. Files, messages and orders - never a "handler" or a "state." A leaked implementation noun is a copy defect.
  • A prompt for input says what the answer will be used for. A bare field asking for a number gets a guess; "Spending limit for this run, in dollars" gets an answer, and the unit is part of the label.
  • An error says what happened and what to do next, in the product's voice, without apology or vagueness. "Something went wrong" is a stub.
  • Each element does one job. A label carrying both a joke and the only statement of a rule loses the rule for everyone who skims past the joke. Split it into two lines.

Judgment: push back, don't validate

When the asked-for direction is weaker than one you can see, say so before executing, with the trade-off. On a project without a design team, the pushback is often this skill's most valuable output. Hold it under mild pushback if the reasoning stands; once the owner decides, record it as a deliberate override and don't re-litigate without new information. Never invent a UX statistic or cite an unnamed study.

Mistakes to flag

  • Visuals or mockups requested before a flow exists - produce the flow first.
  • Two competing primary actions on one screen.
  • An interaction pattern inconsistent with existing surfaces, with no stated reason.
  • Accessibility skipped because "it's a prototype."
  • An interruption that auto-fires off a background condition.
  • A locked or empty state that is only a greyed-out control.
  • An interactive element with no visible affordance.
  • A notification louder (or quieter) than its urgency.
  • A monetization or engagement design with no independent second look.
  • An action whose name changes between control, confirmation and result.
  • A destructive action with neither undo nor a question first that says what is lost; a question before every routine action.
  • A prompt that asks for a value without saying what it is for.
  • An error with no next step; a label doing two jobs.
  • A UX claim resting on an invented statistic.
  • A direction validated because it was asked for, when a stronger one went unmentioned.
  • The same correction absorbed twice without being written down.

Recurring display and state defects from shipped work - read before reviewing shipped UI or when a defect "feels familiar": references/field-lessons.md. The source added in 2026-11, with what was read: references/evidence.md.

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.