Skip to content
Back to skills

Collection

ASecurity

Design system patterns with DTCG tokens, WCAG 2.2, and Figma integration

  • 24 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
designreacttestingapifrontend

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add mattnigh/skills_collection --skill collection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Collection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Collection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattnigh-collection-0eacb5ef/badge)](https://www.skillsdirectory.com/skills/mattnigh-collection-0eacb5ef)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: moai-design-systems
version: 4.0.0
updated: 2025-11-20
status: stable
description: Design system patterns with DTCG tokens, WCAG 2.2, and Figma integration
allowed-tools: [Read, Write, WebSearch, WebFetch]
---

# Design Systems Expert

**Production-Ready Design Systems with Tokens & Accessibility**

> **Focus**: W3C DTCG 2025.10, WCAG 2.2 (4.5:1 contrast), Atomic Design  
> **Tools**: Style Dictionary, Storybook, Figma MCP, axe DevTools

---

## Overview

Build consistent, accessible UI with design tokens, component libraries, and automated testing.

### Core Pillars

1.  **Design Tokens**: Single source of truth (color, spacing, typography)
2.  **Component Library**: Reusable building blocks (Atomic Design)
3.  **Accessibility**: WCAG 2.2 compliance (contrast, keyboard, screen readers)

---

## Quick Start

### 1. Design Tokens (DTCG)

JSON-based token system for colors, spacing, and typography.

**Structure**:

```json
{
  "color": {
    "primary": {
      "500": { "$value": "#3b82f6" }
    }
  },
  "spacing": {
    "md": { "$value": "1rem" }
  }
}
```

See: [examples.md](./examples.md#dtcg-tokens) for complete setup

### 2. Component Library

Type-safe components with Class Variance Authority (CVA).

**Pattern**:

- Variants (primary, secondary, outline)
- Sizes (sm, md, lg)
- States (default, hover, disabled)

See: [examples.md](./examples.md#component-library)

### 3. WCAG 2.2 Accessibility

Ensure 4.5:1 contrast ratio for text (AA standard).

**Tools**: axe DevTools, color contrast checker

See: [examples.md](./examples.md#accessibility)

### 4. Figma Integration (MCP)

Extract design tokens from Figma variables.

**Workflow**:

1. Define tokens in Figma
2. Extract via MCP
3. Transform with Style Dictionary

See: [examples.md](./examples.md#figma-integration)

---

## Atomic Design Hierarchy

```
Atoms → Molecules → Organisms → Templates → Pages

- Atoms: Button, Input, Icon
- Molecules: FormField, Card
- Organisms: Header, DataTable
- Templates: DashboardLayout
- Pages: Dashboard (with real data)
```

---

## Best Practices

1.  **Semantic Naming**: `color.primary.500` not `color.blue`
2.  **Responsive Design**: Mobile-first approach
3.  **Dark Mode**: Use CSS variables for theme switching
4.  **Accessibility**: Test with screen readers (VoiceOver, NVDA)

---

## Validation Checklist

- [ ] **Tokens**: DTCG 2025.10 format?
- [ ] **Contrast**: 4.5:1 for text (WCAG AA)?
- [ ] **Keyboard**: All interactive elements navigable?
- [ ] **ARIA**: Labels on form fields?
- [ ] **Motion**: `prefers-reduced-motion` respected?
- [ ] **Testing**: Storybook + axe DevTools configured?

---

## Related Skills

- `moai-lib-shadcn-ui`: Pre-built accessible components
- `moai-domain-frontend`: React patterns

---

## Additional Resources

- [examples.md](./examples.md): Token setup, components, accessibility
- [reference.md](./reference.md): WCAG guidelines, Figma MCP API

---

**Last Updated**: 2025-11-20

Files in this skill

  • 0Chan-smc__claude-code-workflow-lab__claude__skills__frontend-dev-guidelines__SKILL.md15.1 KB
  • 17hz__nextjs-template__claude__skills__example-skill__SKILL.md316 B
  • 1ambda__dataops-platform__claude__skills__context-synthesis__SKILL.md3.5 KB
  • 1natsu172__dotfiles__claude__skills__git-analysis__SKILL.md5.4 KB
  • 1natsu172__dotfiles__claude__skills__github-pr-best-practices__SKILL.md7.7 KB
  • 23Maestro__prospect-pipeline__claude__skills__npid-fastapi-skill.md26.1 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-javascript__SKILL.md15.7 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-code-python__SKILL.md17.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-expression-syntax__SKILL.md9.4 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-mcp-tools-expert__SKILL.md12.5 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-node-configuration__SKILL.md16.6 KB
  • 360AYA25__ClaudeN8N__claude__skills__n8n-workflow-patterns__SKILL.md11.2 KB
  • 3x-Projetos__claude-memory-framework__claude__skills__scientist__SKILL.md14.8 KB
  • 5MinFutures__futures-arena__claude__skills__migration-tracker__SKILL.md16.2 KB
  • 5MinFutures__futures-arena__claude__skills__planning-guidelines__SKILL.md11.8 KB
  • 92Bilal26__TaskPilotAI__claude__skills__assessment-builder__SKILL.md17.5 KB
  • 92Bilal26__TaskPilotAI__claude__skills__book-scaffolding__SKILL.md19.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__code-validation-sandbox__SKILL.md6.2 KB
  • 92Bilal26__TaskPilotAI__claude__skills__exercise-designer__SKILL.md18.1 KB
  • 92Bilal26__TaskPilotAI__claude__skills__learning-objectives__SKILL.md24.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.