skills/business/design/SKILL.md
Design workflows — UX copy, design systems, design critique, accessibility review, design handoff, user research synthesis. Use when writing UI copy, reviewing designs, building component systems, checking accessibility, or preparing developer handoffs.
npx skillsauth add notque/claude-code-toolkit designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Umbrella skill for design workflows: UX copy, design systems, critique, accessibility review, developer handoff, and user research synthesis. Each mode loads its own reference files on demand.
Classify into one mode before proceeding.
| Mode | Signal Phrases | Reference |
|------|---------------|-----------|
| UX-COPY | write copy, button text, error message, empty state, onboarding copy, tooltip text, confirmation dialog, notification copy | references/ux-copy.md |
| DESIGN-SYSTEM | design tokens, component library, naming conventions, audit components, document component, extend system, theme architecture | references/design-systems.md |
| CRITIQUE | review design, critique mockup, design feedback, evaluate screen, visual hierarchy, usability review | references/design-critique.md |
| ACCESSIBILITY | WCAG, accessibility audit, color contrast, keyboard navigation, screen reader, a11y, focus management, ARIA | references/accessibility-review.md |
| HANDOFF | developer handoff, spec sheet, handoff doc, implementation spec, design-to-dev, responsive spec | references/design-handoff.md |
| RESEARCH | synthesize research, interview analysis, usability findings, survey results, user segments, research themes | (inline — see workflow) |
If the request spans modes, pick the primary mode and note the secondary.
Load: references/ux-copy.md, references/llm-design-failure-modes.md
Gather context — Ask conversationally:
Generate copy using component-specific patterns from reference:
Validate — Check against these gates:
Gate: Copy exists for all requested components. Each piece has rationale tied to user context. Alternatives provided with differentiated use cases.
Load: references/design-systems.md, references/llm-design-failure-modes.md
| Operation | Inputs | Key Actions | |-----------|--------|-------------| | Audit | Component library or codebase | Check naming consistency, token coverage, hardcoded values, state completeness, documentation gaps | | Document | Component name + context | Generate props/variants/states/accessibility/usage spec | | Extend | Gap description + existing system | Propose new component using existing tokens and patterns, show relationship to existing components |
Execute using design token architecture from reference:
Validate:
| Check | Criteria | |-------|----------| | Naming | Consistent convention across all components | | Tokens | No hardcoded values — everything references a token | | States | All interactive states defined (default, hover, active, disabled, loading, error) | | A11y | ARIA roles, keyboard behavior, screen reader announcements documented | | Composition | Component works standalone and composed with others |
Gate: Output uses consistent naming. All values reference tokens. Interactive states complete. Accessibility documented.
Load: references/design-critique.md, references/llm-design-failure-modes.md
Gather context:
Apply structured critique — Four-step method:
Evaluate against heuristics — Apply Nielsen's 10 to the specific design:
| Heuristic | Key Question | |-----------|-------------| | Visibility of system status | Does the user know what's happening? | | Match with real world | Does it use the user's language and mental models? | | User control and freedom | Can the user undo, go back, escape? | | Consistency and standards | Does it follow platform conventions and its own patterns? | | Error prevention | Does the design prevent errors before they happen? | | Recognition over recall | Are options visible, not memorized? | | Flexibility and efficiency | Does it serve both novices and experts? | | Aesthetic and minimalist design | Does every element earn its space? | | Error recovery | Are errors explained with clear recovery paths? | | Help and documentation | Is contextual help available where needed? |
| Stage | Focus | Avoid | |-------|-------|-------| | Exploration | Concept direction, user flow logic, information architecture | Pixel-level visual polish | | Refinement | Visual hierarchy, interaction patterns, consistency, edge cases | Questioning the fundamental approach | | Final | Color contrast, spacing precision, copy accuracy, accessibility | Structural redesign suggestions |
Gate: Critique covers usability, visual hierarchy, consistency, and accessibility. Feedback is specific (element + issue + recommendation). Positive observations included. Stage-appropriate depth.
Load: references/accessibility-review.md, references/llm-design-failure-modes.md
Determine scope: Full WCAG 2.1 AA audit vs targeted check (contrast, keyboard, screen reader).
Audit by WCAG principle:
| Principle | Key Criteria | |-----------|-------------| | Perceivable | Alt text (1.1.1), semantic structure (1.3.1), text contrast 4.5:1 (1.4.3), UI contrast 3:1 (1.4.11) | | Operable | Keyboard access (2.1.1), focus order (2.4.3), visible focus (2.4.7), touch targets 44x44px (2.5.5) | | Understandable | Predictable behavior (3.2.1), error identification (3.3.1), input labels (3.3.2) | | Robust | Name/role/value for all UI components (4.1.2) |
Check component-specific patterns from reference (buttons, forms, modals, navigation, data tables, carousels).
Generate audit report with:
Gate: Audit covers all four WCAG principles. Each finding cites a specific WCAG criterion. Remediation provided for every issue. Severity reflects real user impact.
Load: references/design-handoff.md, references/llm-design-failure-modes.md
Gather inputs:
Generate spec covering all artifact categories:
| Category | Contents | |----------|----------| | Layout | Grid system, breakpoints, responsive behavior rules | | Design tokens | Color, typography, spacing, elevation — token names mapped to values | | Components | Name, variant, props, special behavior notes | | States | Every interactive element: default, hover, active, disabled, loading, error | | Interactions | Click/tap, hover, transitions (duration + easing), gestures | | Content | Character limits, truncation rules, empty states, loading states | | Edge cases | Min/max content, i18n text expansion, slow connections, missing data | | Accessibility | Focus order, ARIA labels/roles, keyboard interactions, screen reader announcements | | Animation | Element, trigger, description, duration (ms), easing function |
Gate: Spec covers all categories in the table. Uses token references. All states documented. Edge cases present. A developer can build from this spec without guessing.
Load: references/llm-design-failure-modes.md
Accept inputs — Interview transcripts, survey data, usability test notes, support tickets, app reviews, NPS responses.
Process each source:
Synthesize:
Priority matrix:
| | High Impact | Low Impact | |---|---|---| | High Frequency | Top priority | Quality-of-life | | Low Frequency | Segment-specific | Note and deprioritize |
Gate: Themes supported by evidence with quotes. Behaviors distinguished from stated preferences. Quote attribution uses participant type ("Enterprise admin, 200-person team"), not names. Recommendations tied to specific findings.
Load references/llm-design-failure-modes.md for all modes. These are specific ways LLMs fail at design tasks:
| Failure Mode | What Happens | Defense | |-------------|-------------|---------| | Generic copy | Copy sounds professional but lacks product personality and context | Ground every piece in the product's existing voice, user's emotional state, and specific feature context | | Inaccessible suggestions | Recommends color combinations or patterns that fail WCAG | Check every color pairing against 4.5:1 (text) and 3:1 (UI) ratios. Verify keyboard paths. | | Platform-blind critique | Applies desktop heuristics to mobile or iOS patterns to Android | Identify target platform first. Apply platform-specific conventions. | | Missing edge cases | Specs cover happy path but omit empty, loading, error, overflow, i18n states | Use the edge case checklist from handoff reference for every spec. | | Surface-level critique | "Looks clean" or "good hierarchy" without specificity | Every critique finding names the element, the issue, and a concrete recommendation. | | Fabricated research | Invents plausible user quotes, statistics, or persona details | Every finding cites user-provided source material. Flag confidence levels. Mark assumptions explicitly. | | Token-value confusion | Specs use raw px/hex values instead of design tokens | Reference token names. Flag any raw value as "needs token mapping." | | Framework dumping | Lists heuristics or WCAG criteria as a checklist without applying to the specific design | Apply each criterion to the actual design. Skip criteria that do not apply. Explain how each applies. |
| Mode | Primary Reference | Secondary Reference |
|------|------------------|-------------------|
| UX-COPY | references/ux-copy.md | references/llm-design-failure-modes.md |
| DESIGN-SYSTEM | references/design-systems.md | references/llm-design-failure-modes.md |
| CRITIQUE | references/design-critique.md | references/llm-design-failure-modes.md |
| ACCESSIBILITY | references/accessibility-review.md | references/llm-design-failure-modes.md |
| HANDOFF | references/design-handoff.md | references/llm-design-failure-modes.md |
| RESEARCH | (inline) | references/llm-design-failure-modes.md |
documentation
Document translation: quick/normal/refined modes with chunked parallel subagents and glossary support.
development
AI image generation: Gemini and Nano Banana backends; single/series/batch workflows with prompt-to-disk.
testing
Unified voice content generation pipeline with mandatory validation and joy-check. 13-phase pipeline: LOAD, GROUND, STATS-CHECKPOINT, GENERATE, HOOK-GATE, VALIDATE, REFINE, VARIETY-GATE, JOY-CHECK, ANTI-AI, CLOSE-GATE, OUTPUT, CLEANUP. Use when writing articles, blog posts, or any content that uses a voice profile. Use for "write article", "blog post", "write in voice", "generate content", "draft article", "write about".
documentation
Critique-and-rewrite loop for voice fidelity validation.