dept-ux-ui
Skill1 starsChanged 59 days agoMITView on GitHub
Waymark · UX/UI department. Use FIRST, before ui-system/ui-refine/ui-audit, for how the UI looks and feels: \"mejora el diseño\", \"se ve feo\", \"más profesional\", \"animación\", \"accesibilidad\", \"contraste\", \"tipografía\", \"paleta\", \"design tokens\", \"tema oscuro\", WCAG.
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
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 13 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Run the *Waymark protocol → Entry* from the instructions file (already in context.
- Distinctive: line 29
Done: when — audit result, themes and viewports checked, evidence captured?
- Very specific: line 33
Does not own: component implementation → dept-frontend · requirements and priority → dept-product · test automation → dept-qa.
- Distinctive: line 50
MUST: keep a logical focus order.
- Distinctive: line 57
SHOULD: follow WAI-ARIA APG patterns for composite widgets (tabs, menus, comboboxes, dialogs).
- Distinctive: line 60
MUST: use design tokens for color, spacing, radius, typography, elevation and motion.
- Distinctive: line 61
MUST: keep one primary action per view or section.
- Distinctive: line 62
SHOULD: use a consistent spacing and type scale.
- Distinctive: line 64
SHOULD: prefer skeletons over spinners for content loading.
- Distinctive: line 68
SHOULD: keep hover/press feedback under 200ms and view transitions under 400ms on mobile.
- Distinctive: line 69
SHOULD: use purposeful easing; avoid gratuitous bounce or overshoot in task flows.
- Distinctive: line 73
MUST: write in the project's configured UI language.
- Distinctive: line 74
MUST: start actions with a verb that names the outcome ("Save changes", "Send message").
- Distinctive: line 76
SHOULD: keep labels short, consistent and in the user's vocabulary, not the system's.
- Distinctive: line 77
MUST NOT: use modal confirmations for trivial reversible actions.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Must: 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
DoD: Audit passes AA, states and copy complete, tokens consistent, motion reduced-safe, gates green.
Entry
Run the Waymark protocol → Entry from the instructions file (already in context; do not load the waymark skill for it). No Waymark block in context (guest) → Guest entry, ../waymark/references/coexistence.md §3. Department-specific 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.
- Tools: the Tools table below. Open
../waymark/skill-registry.mdonly if a capability there has no installed provider.
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
Detailed steps live in procedures.md (same folder). Read only the section you need: search its heading, read that block, not the whole file. Anti-patterns and references are at the end of that file.
- 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)
- MUST meet WCAG 2.2 AA on every user-facing interface.
- MUST meet contrast: 4.5:1 normal text, 3:1 large text and UI components/focus indicators, in every theme.
- MUST make every interactive element keyboard operable with a visible focus indicator not obscured by sticky content (2.4.11).
- MUST keep a logical focus order; dialogs trap focus, restore it to the trigger on close, and close on Escape.
- MUST give icon-only controls an accessible name; hide decorative icons from assistive tech.
- MUST announce async status (toasts, form errors, results) through live regions with appropriate politeness.
- MUST provide targets of at least 24x24 CSS px (2.5.8); 44x44 recommended on touch.
- MUST offer a non-drag alternative for drag interactions (2.5.7).
- MUST 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).
- MUST NOT convey information by color alone.
- SHOULD follow WAI-ARIA APG patterns for composite widgets (tabs, menus, comboboxes, dialogs).
Hierarchy, layout and tokens
- MUST use design tokens for color, spacing, radius, typography, elevation and motion; no hard-coded values.
- MUST keep one primary action per view or section.
- SHOULD use a consistent spacing and type scale; limit to the steps the system defines.
- SHOULD separate primitive and semantic tokens; components consume semantic tokens.
- SHOULD prefer skeletons over spinners for content loading.
Motion
- MUST honor
prefers-reduced-motion(or the platform equivalent) for every non-essential animation and any transition over 300ms. - SHOULD keep hover/press feedback under 200ms and view transitions under 400ms on mobile.
- SHOULD use purposeful easing; avoid gratuitous bounce or overshoot in task flows.
- MUST NOT autoplay animation with sound, or flash more than 3 times per second.
Copy
- MUST write in the project's configured UI language.
- MUST start actions with a verb that names the outcome ("Save changes", "Send message").
- MUST make errors say what happened and how to resolve it; never a generic "Something went wrong" alone.
- SHOULD keep labels short, consistent and in the user's vocabulary, not the system's.
- MUST NOT 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: keyboard pass, screenshots, responsive checks | L2 |
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
- Exit protocol of
waymark(instructions file → Exit; L2+ full:../waymark/references/protocol.md) (gates, architecture conformance, review, learnings) 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). Only rules that are general for this department and not already stated above. Format: - [YYYY-MM-DD] <rule> — <why> (source: <project>).
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.

