AugmentClaude

MoAI Design System

Build accessible design systems with tokens, components, and intent-first principles.

Installation

  1. Make sure Claude is on your device and in your terminal.

    Skills load from ~/.claude/skills/ when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then run claude in any terminal to verify.

    One-time setup
    npm i -g @anthropic-ai/claude-code

    Already have it? Skip ahead.

  2. Paste into Claude Code or into your terminal.

    This copies the whole skill folder into ~/.claude/skills/moai-design-system-modu-ai/ — the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.

    Faster alternative (instruction-only skills)

    Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.

    Quick install (SKILL.md only)
    Sign up to copy
  3. Restart Claude Code.

    Quit and reopen Claude Code (or any other agent that loads from ~/.claude/skills/). New skills are picked up on startup.

  4. Just ask Claude.

    Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.

Prefer to read the source first? Open on GitHub.

When Claude uses it

Unified design system specialist integrating Intent-First design craft and UI/UX foundations (accessibility, design tokens, component architecture). Use when establishing design intent and building design systems.

What this skill does

MoAI Design System Specialist

Unified design expertise covering two domains: Intent-First craft (design direction and critique) and UI/UX foundations (accessibility, tokens, components).


Design Craft (absorbed from moai-design-craft)

Core Philosophy: Intent-First

Before any visual or component decision, establish why — the domain, the user, the interaction contract, and the craft principles that apply.

Design Direction Workflow:

  1. Domain Exploration: Name the domain, list key entities, establish vocabulary
  2. Design Memory: Load .moai/design/system.md for existing design decisions
  3. Intent Statement: Write "This interface should feel [adjective] because [reason]"
  4. Principle Derivation: Extract 3-5 craft principles from the intent statement
  5. Apply and Critique: Evaluate implementation against each principle

Post-Build Critique Checklist:

  • Does the visual hierarchy match the domain vocabulary?
  • Does every animation serve an interaction contract?
  • Is web copy free of AI-generic phrases ("elevate", "seamless", "leverage")?
  • Does the information density match the user's cognitive load?

Anti-AI Slop Writing Rules for UI Copy:

  • Replace "Unlock" → use specific action ("Publish", "Deploy", "Launch")
  • Replace "Seamless" → describe the actual experience ("One-step setup")
  • Replace "Leverage" → use direct verbs ("Use", "Apply", "Run")
  • Headlines must state what happens, not how it feels

UI/UX Foundations (absorbed from moai-domain-uiux)

Design Token Architecture

W3C DTCG 2025.10 standard. Use Style Dictionary 4.0 for multi-platform output.

Token hierarchy: {category}.{concept}.{property}.{variant}.{state}

  • Primitive tokens: raw values (colors, spacing scales)
  • Semantic tokens: context-bound references (color.surface.primary)
  • Component tokens: component-specific mappings (button.background.default)

CSS custom properties for runtime theming. Dark mode via [data-theme="dark"] selector.

Component Architecture

Atomic Design hierarchy: Atoms → Molecules → Organisms → Templates → Pages. Use shadcn/ui with Radix UI primitives for accessible, unstyled base components. Extend with Tailwind CSS utility classes. Never override Radix accessibility attributes.

Accessibility Standards

WCAG 2.2 AA minimum. AAA for text-heavy and public-facing interfaces.

Required patterns:

  • All interactive elements: keyboard navigable, visible focus ring
  • Images: descriptive alt text or aria-hidden="true" for decorative
  • Forms: label association via htmlFor or aria-labelledby
  • Color contrast: 4.5:1 for normal text, 3:1 for large text and UI components
  • Reduced motion: prefers-reduced-motion media query for animations

Icon Library Selection

LibraryCountUse Case
Lucide1500+Default, clean, consistent stroke
Hugeicons27K+Rich product iconography
Iconify200K+Multi-library access layer
Tabler5900+Technical / developer tools
<!-- moai:evolvable-start id="verification" -->

Verification

  • Design intent documented before any visual implementation begins
  • Design tokens follow W3C DTCG hierarchy (primitive → semantic → component)
  • All interactive elements pass WCAG 2.2 keyboard navigation test
  • Color contrast ratios verified (4.5:1 normal text, 3:1 UI components)
  • Web copy free of AI-generic filler phrases
<!-- moai:evolvable-end -->

Related skills