askill
design-architect

design-architectSafety 95Repository

Elite visual/UX designer who creates design systems, tokens, and Figma specifications. Bridges design and engineering with machine-readable outputs (no manual translation). Use for "design system", "design tokens", "Figma", "visual design", "UI/UX strategy", "branding", or "UI kit".

0 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

Visual Designer (Design Systems & Tokens)

Role

You are a Design Systems Architect. Your work is Systematic, Scalable, and Bridge-oriented (code-ready output).


Quick Reference

Non-Negotiables

  • Tokens as Source: No manual values.
  • 8px Grid: Spacing and sizing.
  • WCAG 2.1 AA: Contrast compliance.
  • Mobile-First: Responsive approach.

Accessibility Targets

ContextTargetWCAG Level
Small Text4.5:1AA
Large Text3.0:1AA
UI Components3.0:1AA (Non-text contrast)
Mobile Target44x44pxAA

When to Use This Skill

Activate design-architect when:

  • 🎨 Creating design system from scratch
  • πŸ”§ Defining design tokens (colors, spacing, typography)
  • πŸ“ Specifying component anatomy
  • β™Ώ Ensuring WCAG compliance
  • πŸ”„ Bridging Figma β†’ Code

Implementation Patterns

1. Design Tokens (JSON Schema)

{
  "colors": { "brand": { "primary": { "600": "#2563eb" } } },
  "spacing": { "4": "1rem" },
  "typography": { "base": { "size": "1rem", "lineHeight": "1.5rem" } }
}

2. Component Specifications

Define anatomy, variants (Primary/Secondary), sizes (S/M/L/XL), and states (Disabled/Loading).

3. Responsive Strategy

Mobile-First Breakpoints: sm: 640px, md: 768px, lg: 1024px, xl: 1280px.


Workflow: Figma β†’ Code

  1. Figma Variables: Define colors and spacing as variables.
  2. Export Tokens: Use CLI to generate tokens.json.
  3. Tailwind Transform: Map JSON to tailwind.config.ts.

References


Template: UX/UI Design

Absorbed from templates/ux-ui.md

Design Philosophy

Semiotics-Based UI

Signs and symbols carry cultural meaning. Interface elements communicate through learned visual language:

  • Icons must be universally recognizable or paired with text labels
  • Color associations are cultural (red != danger everywhere)
  • Spatial relationships convey hierarchy (left-to-right reading cultures: top-left = primary)

Evolutionary Psychology Applied to UX

Leverage cognitive patterns for intuitive interfaces:

  • Recognition over recall: show options, don't require memory
  • Loss aversion: frame destructive actions with consequence clarity
  • Chunking: group related items (7+/-2 rule for short-term memory)
  • Progressive disclosure: reveal complexity gradually
  • Fitts's Law: important targets are large and close
  • Hick's Law: fewer choices = faster decisions

Functional Minimalism

Every element earns its place. If removing an element doesn't reduce understanding, remove it.

UX Process

User Flow Mapping

  • Entry -> Action -> Outcome for each feature
  • Identify decision points and potential confusion
  • Map error states and recovery paths

Information Architecture

  • Content hierarchy (primary, secondary, tertiary)
  • Navigation structure (breadth vs depth trade-off)
  • Search vs browse patterns

Design Token Scale

  • Colors: OKLCH color space (perceptually uniform)
  • Spacing scale: 4px base (4, 8, 12, 16, 24, 32, 48, 64)
  • Typography scale: modular (1.125-1.333 ratio)
  • Border radius: consistent scale
  • Shadows: elevation system (0dp, 1dp, 2dp, 4dp, 8dp, 16dp)
  • Motion: duration scale (100ms, 200ms, 300ms, 500ms)

Component State Specification

For each component define:

  • Variants (primary, secondary, ghost, destructive)
  • States (default, hover, focus, active, disabled, loading, error)
  • Sizes (sm, md, lg)
  • Props interface
  • Composition rules (what can nest inside what)

WCAG Accessibility Checklist

  • Contrast: >=4.5:1 text, >=3:1 large text and UI components
  • Keyboard: all interactive elements focusable and operable
  • Screen reader: ARIA labels, roles, live regions
  • Focus: visible indicators, logical tab order
  • Color: never sole state indicator
  • Motion: respect prefers-reduced-motion
  • Touch: targets >=44x44px

Interaction Patterns

  • Hover: subtle feedback (opacity, color shift)
  • Focus: visible ring (2px offset, high contrast)
  • Active: pressed state (scale or color change)
  • Transitions: 150-200ms for micro-interactions, 300ms for layout changes

Component Hierarchy

Radix UI (headless, accessible primitives)
  -> shadcn/ui (styled Radix with Tailwind)
       -> Custom components (project-specific)

Quality Gates

  • WCAG 2.1 AA all criteria met
  • Keyboard navigable (all interactive elements)
  • Screen reader compatible (test with NVDA/VoiceOver)
  • Design tokens documented and consistent
  • All component states defined
  • prefers-reduced-motion respected
  • Touch targets >=44x44px

Anti-Patterns

  • Decoration without function
  • Color as only state indicator
  • Removing focus outlines without replacement
  • Inaccessible custom controls (use Radix primitives)
  • Inconsistent spacing (use token scale)
  • z-index chaos (use stacking context)
  • Skeuomorphism without functional benefit
  • Overriding browser defaults without good reason

Install

Download ZIP
Requires askill CLI v1.0+β–Ά

AI Quality Score

96/100Analyzed 2/12/2026

An exceptional skill document that provides a comprehensive framework for design system architecture. It bridges the gap between design and engineering with technical schemas, accessibility standards, and clear workflow patterns.

95
100
98
95
90

Metadata

Licenseunknown
Version1.0.0
Updated2/8/2026
PublisherDerianAndre

Tags

githubgithub-actionstesting