Skip to content

borghei/Claude-Skills / product-team/design-direction

design-direction

Verified

Turns a product brief into a design-system spec: style direction, contrast-checked palette, type pairing, tokens, UX rules and chart choices. Use when starting a new product's UI, picking a palette or fonts, or auditing a token file.

assets/sample_tokens.json

View on GitHub
{
  "contrast_target": "AA",
  "modes": [
    "light",
    "dark"
  ],
  "color": {
    "light": {
      "primary": "#2F5BEA",
      "on_primary": "#FFFFFF",
      "accent": "#C2410C",
      "on_accent": "#FFFFFF",
      "bg": "#FFFFFF",
      "surface": "#F4F6FA",
      "fg": "#111827",
      "muted_fg": "#4B5563",
      "border": "#D7DCE5",
      "focus": "#2F5BEA",
      "danger": "#B91C1C",
      "on_danger": "#FFFFFF",
      "success": "#15803D"
    },
    "dark": {
      "primary": "#5479EE",
      "on_primary": "#0E1422",
      "accent": "#FB923C",
      "on_accent": "#0E1422",
      "bg": "#0E1422",
      "surface": "#172033",
      "fg": "#E8ECF4",
      "muted_fg": "#A3ADBF",
      "border": "#2B3650",
      "focus": "#5479EE",
      "danger": "#F87171",
      "on_danger": "#0E1422",
      "success": "#4ADE80"
    }
  },
  "font": {
    "families": [
      "Inter",
      "JetBrains Mono"
    ],
    "base_size": 16,
    "line_height": 1.5,
    "heading_line_height": 1.2,
    "scale": [
      13,
      16,
      20,
      25,
      31,
      39,
      49
    ]
  },
  "space": [
    4,
    8,
    12,
    16,
    24,
    32,
    48,
    64
  ],
  "radius": {
    "sm": 2,
    "md": 4,
    "lg": 6,
    "full": 9999
  },
  "elevation": [
    "none",
    "0 0 0 1px var(--border)"
  ],
  "motion": {
    "durations_ms": [
      120,
      180,
      240
    ],
    "easing": "cubic-bezier(0.2, 0, 0, 1)",
    "reduced_motion": true
  },
  "touch_target": 44,
  "focus": {
    "width": 2,
    "offset": 2
  },
  "icon": {
    "sizes": [
      16,
      20,
      24
    ],
    "stroke": 1.5
  }
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall