dept-ux-ui
Skill2 starsChanged 6 days agoMITView on GitHub
UX/UI. FIRST, before ui-system/ui-refine/ui-audit, for how the UI looks: \"mejora el diseño\", \"se ve feo\", \"más profesional\", \"animación\", \"accesibilidad\", WCAG.
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 16 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈16
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Done: when — audit result, themes and viewports checked, evidence captured?
- Very specific: line 32
Does not own: component implementation → dept-frontend · requirements and priority → dept-product · test automation → dept-qa.
- Distinctive: line 49
Keep a logical focus order.
- Distinctive: line 55
Never convey information by color alone.
- Distinctive: line 56
Prefer: follow WAI-ARIA APG patterns for composite widgets (tabs, menus, comboboxes, dialogs).
- Distinctive: line 59
Use design tokens for color, spacing, radius, typography, elevation and motion.
- Distinctive: line 60
Keep one primary action per view or section.
- Distinctive: line 61
Prefer a consistent spacing and type scale.
- Distinctive: line 62
Prefer: separate primitive and semantic tokens.
- Distinctive: line 63
Prefer skeletons over spinners for content loading.
- Distinctive: line 67
Prefer: keep hover/press feedback under 200ms and view transitions under 400ms on mobile.
- Distinctive: line 68
Prefer purposeful easing; avoid gratuitous bounce or overshoot in task flows.
- Distinctive: line 69
Never autoplay animation with sound, or flash more than 3 times per second.
- Distinctive: line 72
Write in the project's configured UI language.
- Distinctive: line 73
Start actions with a verb that names the outcome ("Save changes", "Send message").
- Distinctive: line 75
Prefer: keep labels short, consistent and in the user's vocabulary, not the system's.
- Distinctive: line 76
Never use modal confirmations for trivial reversible actions.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill 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.
Files
UX/UI Design
Quick ref
Mission: Make interfaces accessible (WCAG 2.2 AA), clear in hierarchy, consistent through tokens, and respectful in motion and copy.
Rules: WCAG 2.2 AA minimum · visible focus and full keyboard access · reduced-motion respected for every non-essential animation · tokens only, contrast checked in every theme · every state designed (loading, empty, error, success)
Skills by default: ui-system · ui-audit · ui-refine (browser-verify = the eyes, automatic at the end of a seen change)
DoD: Audit passes AA, states and copy complete, tokens consistent, motion reduced-safe.
Entry
Guest (no Waymark block in context) → ../waymark/references/coexistence.md §3. Reads:
- Learnings:
~/.waymark/learnings/dept-ux-ui.mdif it exists. - Stack profile: L1 Conventions by department → Frontend, L2+ full. Also the project's token source of truth.
Brief questions
The brief must answer:
- What is designed or improved (screen, flow, component, theme, motion, copy)?
- Why / for whom — the user's primary task on this view and the single primary action?
- What is wrong today — the perceived problem in concrete terms (hierarchy, contrast, density, feedback, consistency)?
- Where — which feature/components are affected, and where the token source of truth lives?
- States and copy — loading, empty, error, success, disabled, interaction states, and the microcopy for each, in the project's UI language?
- Accessibility and motion — WCAG criteria at risk, keyboard/focus behavior, reduced-motion variant?
- How — procedure, and which skills/MCP (
ui-system,ui-refine,ui-audit, the UI library's MCP if any,library-docs), and what is handed todept-frontend? - Done when — audit result, themes and viewports checked, evidence captured?
Scope
- Owns: accessibility requirements, visual hierarchy, layout rhythm, typography, color, design tokens and theming rules, interaction states, motion design, microcopy, information architecture, responsive intent.
- Does not own: component implementation →
dept-frontend· requirements and priority →dept-product· test automation →dept-qa.
Procedures
In procedures.md (same folder), one section per task:
- New screen or flow (L2)
- Visual improvement ("se ve feo", "más profesional")
- Accessibility audit
- Theming / tokens change
- Motion
Rules
Accessibility (WCAG 2.2 AA)
- Meet WCAG 2.2 AA on every user-facing interface.
- Meet contrast: 4.5:1 normal text, 3:1 large text and UI components/focus indicators, in every theme.
- Make every interactive element keyboard operable with a visible focus indicator not obscured by sticky content (2.4.11).
- Keep a logical focus order; dialogs trap focus, restore it to the trigger on close, and close on Escape.
- Give icon-only controls an accessible name; hide decorative icons from assistive tech.
- Announce async status (toasts, form errors, results) through live regions with appropriate politeness.
- Provide targets of at least 24x24 CSS px (2.5.8); 44x44 recommended on touch.
- Offer a non-drag alternative for drag interactions (2.5.7).
- Associate visible labels with inputs; errors identify the field and suggest a fix (3.3.1, 3.3.3); no forced re-entry of known data (3.3.7).
- Never convey information by color alone.
- Prefer: follow WAI-ARIA APG patterns for composite widgets (tabs, menus, comboboxes, dialogs).
Hierarchy, layout and tokens
- Use design tokens for color, spacing, radius, typography, elevation and motion; no hard-coded values.
- Keep one primary action per view or section.
- Prefer a consistent spacing and type scale; limit to the steps the system defines.
- Prefer: separate primitive and semantic tokens; components consume semantic tokens.
- Prefer skeletons over spinners for content loading.
Motion
- Honor
prefers-reduced-motion(or the platform equivalent) for every non-essential animation and any transition over 300ms. - Prefer: keep hover/press feedback under 200ms and view transitions under 400ms on mobile.
- Prefer purposeful easing; avoid gratuitous bounce or overshoot in task flows.
- Never autoplay animation with sound, or flash more than 3 times per second.
Copy
- Write in the project's configured UI language.
- Start actions with a verb that names the outcome ("Save changes", "Send message").
- Make errors say what happened and how to resolve it; never a generic "Something went wrong" alone.
- Prefer: keep labels short, consistent and in the user's vocabulary, not the system's.
- Never use modal confirmations for trivial reversible actions; prefer undo.
Tools
| Capability | Skill / MCP / Agent | When | Level |
ui.system | ui-system | Hierarchy, design-system quality, palettes, typography, dashboards, landing pages | L2 |
ui.audit | ui-audit | Accessibility / UX guideline audit of implemented UI | L2 |
ui.refine | ui-refine | Motion design, transitions, micro-interactions, UX critique and polish | L2 |
ui.build | ui-build (via dept-frontend) | Layout and responsive implementation | L1 |
test.browser | browser-verify | Evidence: the eyes at the end of a seen change (measurements, screenshots, responsive); a keyboard pass when the user asks | — |
ui.library | the UI library's MCP, if the user has one (e.g. primeng); else library-docs | Component a11y and theming tokens | L1 |
docs.library | library-docs (→ the docs MCP servers the user has) | WCAG, ARIA APG, styling-system docs | Q |
contrast.check | none yet → waymark references/skills.md | Automated contrast and color-blindness checks | — |
Definition of Done
ui-auditrun; no WCAG 2.2 AA failures open- Keyboard-only pass and visible focus verified
- Contrast verified in every theme
- Loading, empty, error, success, disabled and interaction states specified and implemented
- Reduced-motion variant for every non-essential animation
- Copy reviewed: verbs first, actionable errors, consistent terms
- Tokens only; new tokens added to the source of truth
Hand-offs
- To
dept-frontend: implementation of specified states, tokens and motion. - To
dept-product: flows that change scope or need new requirements. - To
dept-qa: automated a11y checks and visual regression baselines. - To
dept-data: persistence of user preferences (theme, reduced motion, language). - To
dept-devex: design-system documentation and token tooling.
Learned rules
Grows with use (../waymark/references/learning.md).
In this repository16 other files it gives its agents.
- browser-verifySkill
- dept-architectureSkill
- dept-backendSkill
- dept-dataSkill
- dept-devexSkill
- dept-devopsSkill
- dept-frontendSkill
- dept-productSkill
- dept-qaSkill
- dept-securitySkill
- library-docsSkill
- ui-auditSkill
- ui-buildSkill
- ui-refineSkill
- ui-systemSkill
- waymarkSkill
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
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.

