MoAI Design System
Build accessible design systems with tokens, components, and intent-first principles.
Installation
- 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 runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- 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 - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - 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:
- Domain Exploration: Name the domain, list key entities, establish vocabulary
- Design Memory: Load
.moai/design/system.mdfor existing design decisions - Intent Statement: Write "This interface should feel [adjective] because [reason]"
- Principle Derivation: Extract 3-5 craft principles from the intent statement
- 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
alttext oraria-hidden="true"for decorative - Forms: label association via
htmlFororaria-labelledby - Color contrast: 4.5:1 for normal text, 3:1 for large text and UI components
- Reduced motion:
prefers-reduced-motionmedia query for animations
Icon Library Selection
| Library | Count | Use Case |
|---|---|---|
| Lucide | 1500+ | Default, clean, consistent stroke |
| Hugeicons | 27K+ | Rich product iconography |
| Iconify | 200K+ | Multi-library access layer |
| Tabler | 5900+ | Technical / developer tools |
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
Related skills
Senior Frontend Engineer
alirezarezvani
Build and optimize React and Next.js applications with performance analysis and accessibility.
UI Design Guidelines Reviewer
vercel-labs
Review UI code for compliance with web interface best practices and accessibility standards.
WCAG Accessibility Audit
alirezarezvani
Scan code for accessibility violations and generate WCAG 2.2 compliance reports.
Accessibility Compliance
jamditis
Audit and build accessible web interfaces meeting WCAG standards for news and academic sites.