Design System Architecture
Token hierarchy, theming strategy, and cross-platform consistency
Skill by dtsong
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dtsong-design-system-architecture-a9b2d2
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/design-system-architecture
What's inside
- Skill name
Design System Architecture- Description
- Token hierarchy, theming strategy, and cross-platform consistency
- License
- MIT
- Instructions
- 124 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- name: "Design System Architecture" does not match folder "design-system-architecture"
Files (1)
- SKILL.md
SKILL.md (first lines)
# Design System Architecture ## Purpose Design a token-based design system architecture, including primitive → semantic → component token hierarchy, theming strategy (dark/light mode), and cross-platform implementation plan. ## Inputs - Existing styling approach (Tailwind, CSS modules, styled-components, etc.) - Target platforms (web, iOS, Android, cross-platform) - Brand guidelines or existing color palette - Current component inventory - Theming requirements (dark mode, high contrast, brand variations) ## Process ### Step 1: Audit Current State Review the existing styling approach: - How are colors, spacing, and typography defined today? - Are there hardcoded values scattered across components? - Is there an existing design system or component library? - What CSS methodology is used (utility-first, BEM, CSS-in-JS)? ### Step 2: Define Primitive Tokens Establish the raw values that form the foundation: - **Color primitives:** Named palette (blue-50 through blue-900, gray scale, semantic colors) - **Spacing scale:** 4px base unit → 0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64 - **Type scale:** Size ramp with corresponding line heights and letter spacing - **Border radius:** Small (4px), medium (8px), large (16px), full (9999px) - **Shadow/elevation:** Subtle, medium, prominent - **Duration:** Fast (100ms), normal (200ms), slow (300ms) ### Step 3: Define Semantic Tokens Map primitives to semantic meaning: - **Surface:** surface-primary, surface-secondary, surface-elevated - **Text:** text-primary, text-secondary, text-muted, text-inverse - **Border:** border-default, border-strong, border-focus - **Interactive:** interactive-primary, interactive-hover, interactive-pressed - **Status:** status-success, status-warning, status-error, status-info - **Spacing:** space-xs, space-sm, space-md, space-lg, space-xl ### Step 4: Define Component Tokens Map semantic tokens to component-specific values: - **Button:** button-bg, button-text, button-border, button-radius - **Input:** input-bg, input-border, input-focus-ring, input-text - **Card:** card-bg, card-border, card-shadow, card-radius, card-padding ### Step 5: Design Theme Architecture Define how themes override token values: - **Light theme:** Default token assignments - **Dark theme:** Which semantic tokens change, which stay the same - **High contrast:** Increased border widths, higher contrast ratios - **Implementation:** CSS custom properties, Tailwind config, or platform-specific theming ### Step 6: Cross-Platform Strategy If multiple platforms: - **Token format:** Use Style Dictionary or similar to generate platform-specific output - **Web:** CSS custom properties or Tailwind theme config - **iOS:** Swift color/spacing constants or asset catalogs - **Android:** XML resources or Compose theme - **Shared source of truth:** JSON or YAML token definitions ## Output Format ```markdown # Design System Architecture ## Token Hierarchy ### Primitive Tokens | Category | Token | Value | |----------|-------|-------| | Color | blue-500 | #3B82F6 | | Spacing | space-4 | 16px | | Type | text-base | 16px/24px | ### Semantic Tokens | Token | Light | Dark | Usage | |-------|-------|------|-------| | surface-primary | white | gray-900 | Main background | | text-primary | gray-900 | gray-50 | Body text | | interactive-primary | blue-500 | blue-400 | Buttons, links | ### Component Tokens | Component | Token | Maps To | |-----------|-------|---------| | Button (primary) | button-bg | interactive-primary | | Button (primary) | button-text | text-inverse | ## Theme Switching [Implementation approach — CSS class, media query, user preference] ## File Structure ``` tokens/ primitives.json semantic-light.json semantic-dark.json components.json ``` ## Migration Plan [Steps to migrate from current approach to token-based system] ``` ## Quality Checks - [ ] All existing hardcoded values can be mapped to tokens - [ ] Semantic tokens cover all current UI needs without gaps - [ ] Dark mode token overrides maintain WCAG AA contrast - [ ] Token naming is consistent and predictable - [ ] The migration path doesn't require a big-bang rewrite - [ ] Cross-platform strategy has a single source of truth
From dtsong/claude-code-windows-setup, MIT.
More from dtsong/claude-code-windows-setup
- 0.445score
cicd-generation
dtsong
Use when creating GitHub Actions workflows, adding CI/CD to a project, or reviewing pipeline security.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
pqc-readiness
dtsong
Use when assessing a system's readiness for post-quantum cryptography migration, inventorying classical crypto usage, mapping NIST-standardized PQC…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
protocol-analysis
dtsong
Use when analyzing cryptographic protocol security by modeling state machines, enumerating transitions, and identifying desynchronization, replay, downgrade…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
crypto-review
dtsong
Use when reviewing cryptographic implementations for algorithm choice correctness, key management soundness, side-channel resistance, and crypto agility…
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
code-search
dtsong
Fast codebase searches using grep/glob.
SkillDFreshness: D★ 2Claude Code +9 - 0.429score
Schema Evaluation
dtsong
Evaluate and design data warehouse schemas — star, snowflake, data vault, OBT — with grain definition, SCD strategies, and normalization trade-offs
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Schema Design
dtsong
Migration-ready database schema design with normalization and indexing strategies
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Motion Design
dtsong
Animation principles, micro-interaction specs, and reduced-motion support
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Visual Audit
dtsong
Structured visual design critique with specific actionable feedback
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Changelog Design
dtsong
Changelog entries and migration guides for breaking changes with version strategy
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Pattern Analysis
dtsong
Audit codebase patterns and conventions, evaluate proposed changes for consistency
SkillDFreshness: D★ 2Claude Code +9 - 0.426score
Interaction Design
dtsong
Design component interaction specs with all visual states, transitions, and accessibility requirements
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Feb 21, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from dtsong
- 0.445score
cicd-generation
dtsong
Use when creating GitHub Actions workflows, adding CI/CD to a project, or reviewing pipeline security.
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
protocol-analysis
dtsong
Use when analyzing cryptographic protocol security by modeling state machines, enumerating transitions, and identifying desynchronization, replay, downgrade…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
pqc-readiness
dtsong
Use when assessing a system's readiness for post-quantum cryptography migration, inventorying classical crypto usage, mapping NIST-standardized PQC…
SkillDFreshness: D★ 2Claude Code +9 - 0.440score
crypto-review
dtsong
Use when reviewing cryptographic implementations for algorithm choice correctness, key management soundness, side-channel resistance, and crypto agility…
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
code-search
dtsong
Fast codebase searches using grep/glob.
SkillDFreshness: D★ 2Claude Code +9 - 0.434score
dockerfile-generation
dtsong
Build minimal, secure Dockerfiles with verification-first workflow.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
Design System Architecture skill. Agent Mart. https://agentmart.dev/skills/dtsong-design-system-architecture-a9b2d2 (last updated 2026-10-24)