[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EHEYVFQE9YT7A7RGDC48P6":3,"skill-same:01M7EHEYVFQE9YT7A7RGDC48P6":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":13,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":48},"01M7EHEYVFQE9YT7A7RGDC48P6","kb-design-system",null,"Reference data, not a reviewer. Validate design system tokens for WCAG AA\u002FAAA contrast. Compute color token contrast, focus ring validation (WCAG 2.4.13), motion tokens, and spacing for touch targets across frameworks.","mhyahya854\u002FAI-Second-Brain_Universal-Rules","mhyahya854","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F194078115?v=4","01M7EGSP2M9T858SDHJMXQ257Y","01M7EGSP3N6HN6879SVDPMD4DZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FCommunity-Access\u002Faccessibility-agents\u002Fkb-design-system\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: kb-design-system\ndescription: Reference data, not a reviewer. Validate design system tokens for WCAG AA\u002FAAA contrast. Compute color token contrast, focus ring validation (WCAG 2.4.13), motion tokens, and spacing for touch targets across frameworks.\nlicense: MIT\ndisable-model-invocation: true\nuser-invocable: false\nmetadata:\n  tier: reference\n  domain: cross-cutting\n  output: none\n  effort: low\n  title: Design System\n---\n\n## Design System Accessibility Skill\n\nThis skill provides reference data for design token contrast validation, focus ring compliance, and spacing audits. Used by `design-system-auditor.agent.md`.\n\n---\n\n## WCAG Contrast Ratio - Computation Reference\n\n### Step 1: Linearize sRGB Channel\n\nFor each channel `C` in `[0, 255]`:\n\n```text\nc = C \u002F 255\nc_lin = c \u002F 12.92              if c \u003C= 0.04045\nc_lin = ((c + 0.055) \u002F 1.055)^2.4   otherwise\n```\n\n### Step 2: Relative Luminance\n\n```text\nL = 0.2126 * R_lin + 0.7152 * G_lin + 0.0722 * B_lin\n```\n\n### Step 3: Contrast Ratio\n\n```text\nratio = (L_lighter + 0.05) \u002F (L_darker + 0.05)\n```\n\n### Quick JavaScript Implementation\n\n```js\nfunction relativeLuminance(hex) {\n  const c = hex.replace('#', '').match(\u002F.{2}\u002Fg)\n    .map(h => parseInt(h, 16) \u002F 255)\n    .map(c => c \u003C= 0.04045 ? c \u002F 12.92 : Math.pow((c + 0.055) \u002F 1.055, 2.4));\n  return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2];\n}\n\nfunction contrastRatio(hex1, hex2) {\n  const L1 = relativeLuminance(hex1);\n  const L2 = relativeLuminance(hex2);\n  const lighter = Math.max(L1, L2);\n  const darker = Math.min(L1, L2);\n  return (lighter + 0.05) \u002F (darker + 0.05);\n}\n\n\u002F\u002F Example\ncontrastRatio('#6B7280', '#FFFFFF'); \u002F\u002F 5.74:1 - PASSES AA (was a common misconception)\ncontrastRatio('#9CA3AF', '#FFFFFF'); \u002F\u002F 2.85:1 - FAILS AA\n```\n\n### HSL to Hex Conversion (for CSS variable tokens)\n\nMany design systems store colors as HSL triplets (e.g., shadcn\u002Fui, Radix):\n\n```js\nfunction hslToHex(h, s, l) {\n  s \u002F= 100; l \u002F= 100;\n  const a = s * Math.min(l, 1 - l);\n  const f = n => {\n    const k = (n + h \u002F 30) % 12;\n    return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n  };\n  return '#' + [f(0), f(8), f(4)]\n    .map(x => Math.round(x * 255).toString(16).padStart(2, '0'))\n    .join('');\n}\n\n\u002F\u002F shadcn\u002Fui: --muted-foreground: 215.4 16.3% 46.9%\nhslToHex(215.4, 16.3, 46.9); \u002F\u002F -> approximately #6B7280\n```\n\n---\n\n## WCAG Contrast Thresholds\n\nEach WCAG contrast threshold, with use case, AA, AAA and notes.\n\n| Use Case | AA | AAA | Notes |\n|----------|-----|-----|-------|\n| Normal text (\u003C 18pt \u002F \u003C 14pt bold) | 4.5:1 | 7:1 | Most body text |\n| Large text (>= 18pt \u002F >= 14pt bold) | 3:1 | 4.5:1 | Headings, display text |\n| UI components (borders, icons) | 3:1 | - | Input borders, icon buttons |\n| Focus indicators (WCAG 2.4.13, 2.2) | 3:1 | - | Against adjacent colors |\n| Placeholder text | 4.5:1 | - | Counts as normal text |\n| Disabled state | Exempt | Exempt | Documented exemption |\n| Logo \u002F brand | Exempt | Exempt | No requirement |\n| Decorative content | Exempt | Exempt | Must be marked decorative |\n\n---\n\n## Framework Token Paths - Complete Reference\n\n### Tailwind CSS\n\n```js\n\u002F\u002F tailwind.config.js \u002F tailwind.config.ts\nmodule.exports = {\n  theme: {\n    \u002F\u002F Base colors (Tailwind default palette)\n    colors: {\n      \u002F\u002F All color scales: slate, gray, zinc, neutral, stone, red, orange, amber,\n      \u002F\u002F yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet,\n      \u002F\u002F purple, fuchsia, pink, rose\n      \u002F\u002F Each scale: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950\n    },\n    extend: {\n      colors: {\n        \u002F\u002F Custom semantic colors - CHECK ALL PAIRS\n        brand: { primary: '#...', secondary: '#...' },\n        background: '#...',\n        foreground: '#...',\n        muted: '#...',\n        'muted-foreground': '#...',\n        accent: '#...',\n        'accent-foreground': '#...',\n        destructive: '#...',\n        'destructive-foreground': '#...',\n        card: '#...',\n        'card-foreground': '#...',\n        popover: '#...',\n        'popover-foreground': '#...',\n        border: '#...',    \u002F\u002F UI component - check 3:1 against background\n        input: '#...',     \u002F\u002F UI component - check 3:1 against background\n        ring: '#...',      \u002F\u002F Focus ring - check 3:1 against background\n        primary: '#...',\n        'primary-foreground': '#...',\n        secondary: '#...',\n        'secondary-foreground': '#...',\n      },\n      ringColor: { DEFAULT: '...' },  \u002F\u002F Focus state\n      ringWidth: { DEFAULT: '2px' },  \u002F\u002F Must be >= 2px for WCAG 2.4.13\n    }\n  }\n}\n```\n\n### shadcn\u002Fui \u002F Radix CSS Variables\n\n```css\n\u002F* globals.css - HSL triplets without hsl() wrapper *\u002F\n:root {\n  --background: 0 0% 100%;\n  --foreground: 222.2 84% 4.9%;\n  --card: 0 0% 100%;\n  --card-foreground: 222.2 84% 4.9%;\n  --popover: 0 0% 100%;\n  --popover-foreground: 222.2 84% 4.9%;\n  --primary: 222.2 47.4% 11.2%;\n  --primary-foreground: 210 40% 98%;\n  --secondary: 210 40% 96.1%;\n  --secondary-foreground: 222.2 47.4% 11.2%;\n  --muted: 210 40% 96.1%;\n  --muted-foreground: 215.4 16.3% 46.9%;     \u002F* HIGH RISK - check on --background *\u002F\n  --accent: 210 40% 96.1%;\n  --accent-foreground: 222.2 47.4% 11.2%;\n  --destructive: 0 84.2% 60.2%;               \u002F* HIGH RISK - red on white *\u002F\n  --destructive-foreground: 210 40% 98%;\n  --border: 214.3 31.8% 91.4%;               \u002F* UI component - check 3:1 *\u002F\n  --input: 214.3 31.8% 91.4%;                \u002F* UI component - check 3:1 *\u002F\n  --ring: 222.2 84% 4.9%;                    \u002F* Focus ring - check 3:1 *\u002F\n}\n\n.dark {\n  --background: 222.2 84% 4.9%;\n  --foreground: 210 40% 98%;\n  \u002F* ... all dark mode variants *\u002F\n}\n```\n\n### Material UI (MUI) v5+\n\n```js\n\u002F\u002F Token paths in createTheme()\npalette: {\n  primary: {\n    main: '#1976d2',            \u002F\u002F text-on-white: 4.56:1 \n    light: '#42a5f5',           \u002F\u002F text-on-white: 2.86:1  (do not use as text color)\n    dark: '#1565c0',            \u002F\u002F text-on-white: 5.91:1 \n    contrastText: '#fff',       \u002F\u002F check on main\n  },\n  secondary: {\n    main: '#9c27b0',            \u002F\u002F text-on-white: 4.56:1  (barely)\n    light: '#ba68c8',           \u002F\u002F text-on-white: 2.55:1 \n    dark: '#7b1fa2',\n    contrastText: '#fff',\n  },\n  error: {\n    main: '#d32f2f',            \u002F\u002F text-on-white: 5.08:1 \n    light: '#ef5350',           \u002F\u002F text-on-white: 3.04:1 \n  },\n  warning: {\n    main: '#ed6c02',            \u002F\u002F text-on-white: 2.94:1  COMMON FAILURE\n    light: '#ff9800',           \u002F\u002F text-on-white: 2.02:1 \n    dark: '#e65100',            \u002F\u002F text-on-white: 3.84:1  (still fails!)\n    contrastText: 'rgba(0, 0, 0, 0.87)',  \u002F\u002F check on warning.main\n  },\n  info: {\n    main: '#0288d1',            \u002F\u002F text-on-white: 4.54:1  (barely)\n    light: '#03a9f4',           \u002F\u002F text-on-white: 2.88:1 \n  },\n  success: {\n    main: '#2e7d32',            \u002F\u002F text-on-white: 7.24:1 \n    light: '#4caf50',           \u002F\u002F text-on-white: 2.52:1 \n  },\n  text: {\n    primary: 'rgba(0,0,0,0.87)',   \u002F\u002F -> ~#212121: 16.07:1 on white \n    secondary: 'rgba(0,0,0,0.6)', \u002F\u002F -> ~#666: 5.74:1 on white \n    disabled: 'rgba(0,0,0,0.38)', \u002F\u002F -> ~#9E9E9E: 2.34:1  (exempt when disabled)\n  },\n  background: { paper: '#fff', default: '#fafafa' },\n  action: {\n    active: 'rgba(0,0,0,0.54)',   \u002F\u002F ~4.48:1  for small icons\n    disabled: 'rgba(0,0,0,0.26)', \u002F\u002F exempt when disabled\n  }\n}\n```\n\n### Chakra UI v2\u002Fv3\n\n```js\n\u002F\u002F Token paths in extendTheme()\nconst theme = extendTheme({\n  colors: {\n    \u002F\u002F Direct palette values\n    brand: { 50: '#f5f3ff', 500: '#7C3AED', 600: '#6D28D9', 700: '#5B21B6', 900: '#2E1065' },\n    gray: { 50: '#F9FAFB', 100: '#F3F4F6', 200: '#E5E7EB', 300: '#D1D5DB',\n            400: '#9CA3AF',  \u002F\u002F text-on-white: 2.85:1 \n            500: '#6B7280',  \u002F\u002F text-on-white: 4.48:1  (near-miss)\n            600: '#4B5563',  \u002F\u002F text-on-white: 7.44:1 \n            700: '#374151', 800: '#1F2937', 900: '#111827' },\n  },\n  semanticTokens: {\n    colors: {\n      'chakra-body-text': { default: 'gray.800', _dark: 'whiteAlpha.900' },\n      'chakra-body-bg': { default: 'white', _dark: 'gray.800' },\n      'chakra-placeholder-color': { default: 'gray.400', _dark: 'whiteAlpha.400' },\n      \u002F\u002F gray.400 on white = 2.85:1  - placeholder fails AA\n    }\n  },\n  components: {\n    Button: {\n      variants: {\n        solid: (props) => ({\n          bg: `${props.colorScheme}.500`,  \u002F\u002F check colorScheme.500 on white\n          color: 'white',                  \u002F\u002F white on colorScheme.500 - check 3:1\n        }),\n        ghost: (props) => ({\n          color: `${props.colorScheme}.600`,  \u002F\u002F text-on-white variant\n        }),\n      }\n    }\n  }\n});\n```\n\n### Style Dictionary (W3C Design Tokens)\n\n```json\n{\n  \"color\": {\n    \"text\": {\n      \"primary\": { \"$value\": \"#111827\", \"$type\": \"color\" },\n      \"secondary\": { \"$value\": \"#6B7280\", \"$type\": \"color\" },   \u002F\u002F 4.48:1 on white \n      \"muted\": { \"$value\": \"#9CA3AF\", \"$type\": \"color\" },       \u002F\u002F 2.85:1 on white \n      \"inverse\": { \"$value\": \"#FFFFFF\", \"$type\": \"color\" },\n      \"on-primary\": { \"$value\": \"#FFFFFF\", \"$type\": \"color\" }\n    },\n    \"background\": {\n      \"default\": { \"$value\": \"#FFFFFF\", \"$type\": \"color\" },\n      \"subtle\": { \"$value\": \"#F9FAFB\", \"$type\": \"color\" },\n      \"primary\": { \"$value\": \"#1D4ED8\", \"$type\": \"color\" }\n    },\n    \"status\": {\n      \"error\": { \"$value\": \"#DC2626\", \"$type\": \"color\" },\n      \"warning\": { \"$value\": \"#D97706\", \"$type\": \"color\" },     \u002F\u002F 3:1 on white  for normal text\n      \"success\": { \"$value\": \"#16A34A\", \"$type\": \"color\" },\n      \"info\": { \"$value\": \"#2563EB\", \"$type\": \"color\" }\n    },\n    \"border\": {\n      \"default\": { \"$value\": \"#D1D5DB\", \"$type\": \"color\" },     \u002F\u002F 1.44:1 on white  UI component\n      \"focus\": { \"$value\": \"#2563EB\", \"$type\": \"color\" }        \u002F\u002F focus ring\n    }\n  }\n}\n```\n\n---\n\n## High-Risk Token Pairs - Known Failures\n\nEach token pair, with its common value, ratio on white, status and notes.\n\n| Token pair | Common value | Ratio on white | Status | Notes |\n|-----------|-------------|----------------|--------|-------|\n| MUI `warning.main` | `#ed6c02` | 2.94:1 |  FAIL | Orange on white - always fails |\n| MUI `warning.light` | `#ff9800` | 2.02:1 |  FAIL | Light orange - critical failure |\n| Tailwind `amber-400` | `#FBBF24` | 1.73:1 |  FAIL | Never use amber-400 as text |\n| Tailwind `yellow-400` | `#FACC15` | 1.60:1 |  FAIL | Yellow always fails on white |\n| gray-400 (Tailwind) | `#9CA3AF` | 2.85:1 |  FAIL | Common placeholder color |\n| gray-500 (Tailwind) | `#6B7280` | 4.48:1 |  FAIL | Near-miss - very common |\n| Chakra `gray.400` | `#9CA3AF` | 2.85:1 |  FAIL | Chakra placeholder default |\n| MUI `text.disabled` | `rgba(0,0,0,0.38)` | ~2.34:1 |  (exempt) | Disabled = exempt per WCAG |\n| MUI `action.active` | `rgba(0,0,0,0.54)` | ~4.48:1 |  FAIL | Icon color on white |\n| shadcn `--muted-foreground` | `hsl(215.4 16.3% 46.9%)` | ~4.48:1 |  FAIL | Default shadcn theme |\n| shadcn `--destructive` | `hsl(0 84.2% 60.2%)` | ~3.13:1 |  FAIL | Red badge on white |\n| Style Dictionary `text.secondary` | `#6B7280` | 4.48:1 |  FAIL | Ubiquitous - always check |\n\n### Compliant Replacements\n\nEach failing token, with its replacement, new ratio and notes.\n\n| Failing token | Replacement | New ratio | Notes |\n|--------------|-------------|-----------|-------|\n| `#9CA3AF` (gray-400) | `#6B7280` (gray-500) | 4.48:1 | Still near-miss; use `#595959` for safety |\n| `#6B7280` (gray-500) | `#4B5563` (gray-600) | 7.44:1 | Safest option |\n| `#ed6c02` (MUI warning) | `#b45309` (amber-700) | 4.57:1 | Minimum pass |\n| `#ff9800` (MUI warning.light) | `#b45309` (amber-700) | 4.57:1 | |\n| `#FBBF24` (amber-400) | `#92400e` (amber-800) | 8.80:1 | Use as background, not text |\n| `#FACC15` (yellow-400) | `#713f12` (yellow-900) | 12.04:1 | Use as background, not text |\n| `hsl(0 84.2% 60.2%)` (shadcn destructive) | `#b91c1c` (red-700) | 5.56:1 | |\n\n---\n\n## Storybook addon-a11y Configuration\n\n```bash\nnpm install --save-dev @storybook\u002Faddon-a11y\n```\n\n```js\n\u002F\u002F .storybook\u002Fmain.js\nmodule.exports = {\n  addons: ['@storybook\u002Faddon-a11y'],\n};\n\n\u002F\u002F .storybook\u002Fpreview.js - global configuration\nexport const parameters = {\n  a11y: {\n    config: {\n      rules: [\n        { id: 'color-contrast', enabled: true },\n        { id: 'button-name', enabled: true },\n        { id: 'image-alt', enabled: true },\n        { id: 'focus-visible', enabled: true },    \u002F\u002F Requires axe-core 4.4+\n        { id: 'target-size', enabled: true },       \u002F\u002F WCAG 2.5.5 \u002F 2.5.8\n      ],\n    },\n    \u002F\u002F Disable for specific stories (use sparingly)\n    disable: false,\n  },\n};\n\n\u002F\u002F Per-story override\nexport const MyStory = {\n  parameters: {\n    a11y: {\n      config: {\n        rules: [{ id: 'color-contrast', enabled: false }],  \u002F\u002F Document WHY\n      }\n    }\n  }\n};\n```\n\n### Running Storybook a11y Checks in CI\n\n```bash\n# Install storybook test runner\nnpm install --save-dev @storybook\u002Ftest-runner\n\n# package.json scripts\n{\n  \"scripts\": {\n    \"storybook:test\": \"test-storybook\",\n    \"storybook:test:a11y\": \"test-storybook --ci\"\n  }\n}\n\n# Run in CI\nnpx storybook dev --port 6006 &\nnpx wait-on tcp:6006\nnpx test-storybook --ci\n```\n\n---\n\n## WCAG 2.4.13 Focus Appearance Requirements (AAA, exceeds AA baseline)\n\n**WCAG 2.4.13 Focus Appearance (Level AAA in WCAG 2.2)** - exceeds the 2.4.7 Focus Visible (AA) baseline, but recommended as best practice:\n\n1. **Area:** Focus indicator encloses the component OR has a perimeter >= component's perimeter x 2px\n2. **Contrast change:** The focus indicator area must change contrast by >= 3:1 between focused and unfocused states\n3. **Not obscured:** The focus indicator must not be entirely hidden by author-created content\n\n### Minimum Compliant Focus Ring Implementation\n\n```css\n\u002F* Minimum WCAG 2.4.13 compliant focus ring *\u002F\n:focus-visible {\n  outline: 2px solid #0054B3;      \u002F* >= 2px width *\u002F\n  outline-offset: 2px;             \u002F* Separates from component edge *\u002F\n  \u002F* #0054B3 on #FFF = 8.28:1 -> passes 3:1 for UI components *\u002F\n}\n\n\u002F* Dark mode variant *\u002F\n@media (prefers-color-scheme: dark) {\n  :focus-visible {\n    outline-color: #7CAFFF;        \u002F* lighter blue on dark background *\u002F\n    \u002F* #7CAFFF on #1E1E1E = 5.74:1  *\u002F\n  }\n}\n\n\u002F* VIOLATION patterns to detect *\u002F\n:focus { outline: none; }                           \u002F* Hard fail *\u002F\n:focus { outline: 0; }                              \u002F* Hard fail *\u002F\n:focus-visible { box-shadow: none; outline: none; } \u002F* Hard fail *\u002F\nbutton:focus { outline: none; }                     \u002F* Hard fail *\u002F\n*:focus { outline-color: transparent; }             \u002F* Hard fail *\u002F\n```\n\n### Focus Ring Token Validation Checklist\n\nEach check, with its requirement and tool.\n\n| Check | Requirement | Tool |\n|-------|------------|------|\n| `outline-width` >= 2px | WCAG 2.4.13 area requirement | CSS audit |\n| Focus color contrast >= 3:1 | Against adjacent background | Contrast calculator |\n| Focus state differs from unfocused | Visible change required | Visual inspection |\n| No `outline: none` without replacement | N\u002FA | grep \u002F CSS audit |\n| Present in both light and dark modes | Consistent | Visual inspection |\n\n---\n\n## Design Token File Discovery Commands\n\n```bash\n# Find all token files in a project\nfind . -type f \\( \\\n  -name \"tokens.json\" \\\n  -o -name \"design-tokens.json\" \\\n  -o -name \"colors.json\" \\\n  -o -name \"variables.css\" \\\n  -o -name \"tokens.css\" \\\n  -o -name \"_variables.scss\" \\\n  -o -name \"theme.ts\" \\\n  -o -name \"theme.js\" \\\n  -o -name \"tailwind.config.*\" \\\n\\) \\\n-not -path \"*\u002Fnode_modules\u002F*\" \\\n-not -path \"*\u002F.next\u002F*\" \\\n-not -path \"*\u002Fdist\u002F*\"\n\n# PowerShell equivalent\nGet-ChildItem -Recurse -File -Include tokens.json,design-tokens.json,colors.json,`\n  variables.css,tokens.css,_variables.scss,theme.ts,theme.js,tailwind.config.js,tailwind.config.ts `\n  | Where-Object { $_.FullName -notmatch 'node_modules|\\.next|dist' }\n```\n\n---\n\n## Severity Classification\n\nEach finding, with its severity.\n\n| Finding | Severity |\n|---------|---------|\n| Text token below 3:1 | Critical |\n| Text token 3:1-4.49:1 (normal text) | Error |\n| Text token 4.5:1-6.99:1, AAA target | Warning |\n| UI component token below 3:1 | Error |\n| Focus ring missing completely | Critical |\n| Focus ring below 2px | Error |\n| Focus ring contrast below 3:1 | Error |\n| Touch target token below 24 x 24px (WCAG 2.5.8) | Error |\n| Touch target token below 44 x 44px (WCAG 2.5.5) | Warning |\n| No `prefers-reduced-motion` reset | Warning |\n| Placeholder color below 4.5:1 | Error |\n| Disabled token below 3:1 | Info (documented exemption, note for transparency) |\n","## Design System Accessibility Skill\n\nThis skill provides reference data for design token contrast validation, focus ring compliance, and spacing audits. Used by `design-system-auditor.agent.md`.\n\n---\n\n## WCAG Contrast Ratio - Computation Reference\n\n### Step 1: Linearize sRGB Channel\n\nFor each channel `C` in `[0, 255]`:\n\n```text\nc = C \u002F 255\nc_lin = c \u002F 12.92              if c \u003C= 0.04045\nc_lin = ((c + 0.055) \u002F 1.055)^2.4   otherwise\n```\n\n### Step 2: Relative Luminance\n\n```text\nL = 0.2126 * R_lin + 0.7152 * G_lin + 0.0722 * B_lin\n```\n\n### Step 3: Contrast Ratio\n\n```text\nratio = (L_lighter + 0.05) \u002F (L_darker + 0.05)\n```\n\n### Quick JavaScript Implementation\n\n```js\nfunction relativeLuminance(hex) {\n  const c = hex.replace('#', '').match(\u002F.{2}\u002Fg)\n    .map(h => parseInt(h, 16) \u002F 255)\n    .map(c => c \u003C= 0.04045 ? c \u002F 12.92 : Math.pow((c + 0.055) \u002F 1.055, 2.4));\n  return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2];\n}\n\nfunction contrastRatio(hex1, hex2) {\n  const L1 = relativeLuminance(hex1);\n  const L2 = relativeLuminance(hex2);\n  const lighter = Math.max(L1, L2);\n  const darker = Math.min(L1, L2);\n  return (lighter + 0.05) \u002F (darker + 0.05);\n}\n\n\u002F\u002F Example\ncontrastRatio('#6B7280', '#FFFFFF'); \u002F\u002F 5.74:1 - PASSES AA (was a common misconception)\ncontrastRatio('#9CA3AF', '#FFFFFF'); \u002F\u002F 2.85:1 - FAILS AA\n```\n\n### HSL to Hex Conversion (for CSS variable tokens)\n\nMany design systems store colors as HSL triplets (e.g., shadcn\u002Fui, Radix):\n\n```js\nfunction hslToHex(h, s, l) {\n  s \u002F= 100; l \u002F= 100;\n  const a = s * Math.min(l, 1 - l);\n  const f = n => {\n    const k = (n + h \u002F 30) % 12;\n    return l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n  };\n  return '#' + [f(0), f(8), f(4)]\n    .map(x => Math.round(x * 255).toString(16).padStart(2, '0'))\n    .join('');\n}\n\n\u002F\u002F shadcn\u002Fui: --muted-foreground: 215.4 16.3% 46.9%\nhslToHex(215.4, 16.3, 46.9); \u002F\u002F -> approximately #6B7280\n```\n\n---\n\n## WCAG Contrast Thresholds\n\nEach WCAG contrast threshold, with use case, AA, AAA and notes.\n\n| Use Case | AA | AAA | Notes |\n|----------|-----|-----|-------|\n| Normal text (\u003C 18pt \u002F \u003C 14pt bold) | 4.5:1 | 7:1 | Most body text |\n| Large text (>= 18pt \u002F >= 14pt bold) | 3:1 | 4.5:1 | Headings, display text |\n| UI components (borders, icons) | 3:1 | - | Input borders, icon buttons |\n| Focus indicators (WCAG 2.4.13, 2.2) | 3:1 | - | Against adjacent colors |\n| Placeholder text | 4.5:1 | - | Counts as normal text |\n| Disabled state | Exempt | Exempt | Documented exemption |\n| Logo \u002F brand | Exempt | Exempt | No requirement |\n| Decorative content | Exempt | Exempt | Must be marked decorative |\n\n---\n\n## Framework Token Paths - Complete Reference\n\n### Tailwind CSS\n\n```js\n\u002F\u002F tailwind.config.js \u002F tailwind.config.ts\nmodule.exports = {\n  theme: {\n    \u002F\u002F Base colors (Tailwind default palette)\n    colors: {\n      \u002F\u002F All color scales: slate, gray, zinc, neutral, stone, red, orange, amber,\n      \u002F\u002F yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet,\n      \u002F\u002F purple, fuchsia, pink, rose\n      \u002F\u002F Each scale: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950\n    },\n    extend: {\n      colors: {\n        \u002F\u002F Custom semantic colors - CHECK ALL PAIRS\n        brand: { primary: '#...', secondary: '#...' },\n        background: '#...',\n        foreground: '#...',\n        muted: '#...',\n        'muted-foreground': '#...',\n        accent: '#...',\n        'accent-foreground': '#...',\n        destructive: '#...',\n        'destructive-foreground': '#...',\n        card: '#...',\n        'card-foreground': '#...',\n        popover: '#...',\n        'popover-foreground': '#...',\n        border: '#...',    \u002F\u002F UI component - check 3:1 against background\n        input: '#...',     \u002F\u002F UI component - check 3:1 against background\n        ring: '#...',      \u002F\u002F Focus ring - check 3:1 against background\n        primary: '#...',\n        'primary-foreground': '#...',\n        secondary: '#...',\n        'secondary-foreground': '#...',\n      },\n      ringColor: { DEFAULT: '...' },  \u002F\u002F Focus state\n      ringWidth: { DEFAULT: '2px' },  \u002F\u002F Must be >= 2px for WCAG 2.4.13\n    }\n  }\n}\n```\n\n### shadcn\u002Fui \u002F Radix CSS Variables\n\n```css\n\u002F* globals.css - HSL triplets without hsl() wrapper *\u002F\n:root {\n  --background: 0 0% 100%;\n  --foreground: 222.2 84% 4.9%;\n  --card: 0 0% 100%;\n  --card-foreground: 222.2 84% 4.9%;\n  --popover: 0 0% 100%;\n  --popover-foreground: 222.2 84% 4.9%;\n  --primary: 222.2 47.4% 11.2%;\n  --primary-foreground: 210 40% 98%;\n  --secondary: 210 40% 96.1%;\n  --secondary-foreground: 222.2 47.4% 11.2%;\n  --muted: 210 40% 96.1%;\n  --muted-foreground: 215.4 16.3% 46.9%;     \u002F* HIGH RISK - check on --background *\u002F\n  --accent: 210 40% 96.1%;\n  --accent-foreground: 222.2 47.4% 11.2%;\n  --destructive: 0 84.2% 60.2%;               \u002F* HIGH RISK - red on white *\u002F\n  --destructive-foreground: 210 40% 98%;\n  --border: 214.3 31.8% 91.4%;               \u002F* UI component - check 3:1 *\u002F\n  --input: 214.3 31.8% 91.4%;                \u002F* UI component - check 3:1 *\u002F\n  --ring: 222.2 84% 4.9%;                    \u002F* Focus ring - check 3:1 *\u002F\n}\n\n.dark {\n  --background: 222.2 84% 4.9%;\n  --foreground: 210 40% 98%;\n  \u002F* ... all dark mode variants *\u002F\n}\n```\n\n### Material UI (MUI) v5+\n\n```js\n\u002F\u002F Token paths in createTheme()\npalette: {\n  primary: {\n    main: '#1976d2',            \u002F\u002F text-on-white: 4.56:1 \n    light: '#42a5f5',           \u002F\u002F text-on-white: 2.86:1  (do not use as text color)\n    dark: '#1565c0',            \u002F\u002F text-on-white: 5.91:1 \n    contrastText: '#fff',       \u002F\u002F check on main\n  },\n  secondary: {\n    main: '#9c27b0',            \u002F\u002F text-on-white: 4.56:1  (barely)\n    light: '#ba68c8',           \u002F\u002F text-on-white: 2.55:1 \n    dark: '#7b1fa2',\n    contrastText: '#fff',\n  },\n  error: {\n    main: '#d32f2f',            \u002F\u002F text-on-white: 5.08:1 \n    light: '#ef5350',           \u002F\u002F text-on-white: 3.04:1 \n  },\n  warning: {\n    main: '#ed6c02',            \u002F\u002F text-on-white: 2.94:1  COMMON FAILURE\n    light: '#ff9800',           \u002F\u002F text-on-white: 2.02:1 \n    dark: '#e65100',            \u002F\u002F text-on-white: 3.84:1  (still fails!)\n    contrastText: 'rgba(0, 0, 0, 0.87)',  \u002F\u002F check on warning.main\n  },\n  info: {\n    main: '#0288d1',            \u002F\u002F text-on-white: 4.54:1  (barely)\n    light: '#03a9f4',           \u002F\u002F text-on-white: 2.88:1 \n  },\n  success: {\n    main: '#2e7d32',            \u002F\u002F text-on-white: 7.24:1 \n    light: '#4caf50',           \u002F\u002F text-on-white: 2.52:1 \n  },\n  text: {\n    primary: 'rgba(0,0,0,0.87)',   \u002F\u002F -> ~#212121: 16.07:1 on white \n    secondary: 'rgba(0,0,0,0.6)', \u002F\u002F -> ~#666: 5.74:1 on white \n    disabled: 'rgba(0,0,0,0.38)', \u002F\u002F -> ~#9E9E9E: 2.34:1  (exempt when disabled)\n  },\n  background: { paper: '#fff', default: '#fafafa' },\n  action: {\n    active: 'rgba(0,0,0,0.54)',   \u002F\u002F ~4.48:1  for small icons\n    disabled: 'rgba(0,0,0,0.26)', \u002F\u002F exempt when disabled\n  }\n}\n```\n\n### Chakra UI v2\u002Fv3\n\n```js\n\u002F\u002F Token paths in extendTheme()\nconst theme = extendTheme({\n  colors: {\n    \u002F\u002F Direct palette values\n    brand: { 50: '#f5f3ff', 500: '#7C3AED', 600: '#6D28D9', 700: '#5B21B6', 900: '#2E1065' },\n    gray: { 50: '#F9FAFB', 100: '#F3F4F6', 200: '#E5E7EB', 300: '#D1D5DB',\n            400: '#9CA3AF',  \u002F\u002F text-on-white: 2.85:1 \n            500: '#6B7280',  \u002F\u002F text-on-white: 4.48:1  (near-miss)\n            600: '#4B5563',  \u002F\u002F text-on-white: 7.44:1 \n            700: '#374151', 800: '#1F2937', 900: '#111827' },\n  },\n  semanticTokens: {\n    colors: {\n      'chakra-body-text': { default: 'gray.800', _dark: 'whiteAlpha.900' },\n      'chakra-body-bg': { default: 'white', _dark: 'gray.800' },\n      'chakra-placeholder-color': { default: 'gray.400', _dark: 'whiteAlpha.400' },\n      \u002F\u002F gray.400 on white = 2.85:1  - placeholder fails AA\n    }\n  },\n  components: {\n    Button: {\n      variants: {\n        solid: (props) => ({\n          bg: `${props.colorScheme}.500`,  \u002F\u002F check colorScheme.500 on white\n          color: 'white',                  \u002F\u002F white on colorScheme.500 - check 3:1\n        }),\n        ghost: (props) => ({\n          color: `${props.colorScheme}.600`,  \u002F\u002F text-on-white variant\n        }),\n      }\n    }\n  }\n});\n```\n\n### Style Dictionary (W3C Design Tokens)\n\n```json\n{\n  \"color\": {\n    \"text\": {\n      \"primary\": { \"$value\": \"#111827\", \"$type\": \"color\" },\n      \"secondary\": { \"$value\": \"#6B7280\", \"$type\": \"color\" },   \u002F\u002F 4.48:1 on white \n      \"muted\": { \"$value\": \"#9CA3AF\", \"$type\": \"color\" },       \u002F\u002F 2.85:1 on white \n      \"inverse\": { \"$value\": \"#FFFFFF\", \"$type\": \"color\" },\n      \"on-primary\": { \"$value\": \"#FFFFFF\", \"$type\": \"color\" }\n    },\n    \"background\": {\n      \"default\": { \"$value\": \"#FFFFFF\", \"$type\": \"color\" },\n      \"subtle\": { \"$value\": \"#F9FAFB\", \"$type\": \"color\" },\n      \"primary\": { \"$value\": \"#1D4ED8\", \"$type\": \"color\" }\n    },\n    \"status\": {\n      \"error\": { \"$value\": \"#DC2626\", \"$type\": \"color\" },\n      \"warning\": { \"$value\": \"#D97706\", \"$type\": \"color\" },     \u002F\u002F 3:1 on white  for normal text\n      \"success\": { \"$value\": \"#16A34A\", \"$type\": \"color\" },\n      \"info\": { \"$value\": \"#2563EB\", \"$type\": \"color\" }\n    },\n    \"border\": {\n      \"default\": { \"$value\": \"#D1D5DB\", \"$type\": \"color\" },     \u002F\u002F 1.44:1 on white  UI component\n      \"focus\": { \"$value\": \"#2563EB\", \"$type\": \"color\" }        \u002F\u002F focus ring\n    }\n  }\n}\n```\n\n---\n\n## High-Risk Token Pairs - Known Failures\n\nEach token pair, with its common value, ratio on white, status and notes.\n\n| Token pair | Common value | Ratio on white | Status | Notes |\n|-----------|-------------|----------------|--------|-------|\n| MUI `warning.main` | `#ed6c02` | 2.94:1 |  FAIL | Orange on white - always fails |\n| MUI `warning.light` | `#ff9800` | 2.02:1 |  FAIL | Light orange - critical failure |\n| Tailwind `amber-400` | `#FBBF24` | 1.73:1 |  FAIL | Never use amber-400 as text |\n| Tailwind `yellow-400` | `#FACC15` | 1.60:1 |  FAIL | Yellow always fails on white |\n| gray-400 (Tailwind) | `#9CA3AF` | 2.85:1 |  FAIL | Common placeholder color |\n| gray-500 (Tailwind) | `#6B7280` | 4.48:1 |  FAIL | Near-miss - very common |\n| Chakra `gray.400` | `#9CA3AF` | 2.85:1 |  FAIL | Chakra placeholder default |\n| MUI `text.disabled` | `rgba(0,0,0,0.38)` | ~2.34:1 |  (exempt) | Disabled = exempt per WCAG |\n| MUI `action.active` | `rgba(0,0,0,0.54)` | ~4.48:1 |  FAIL | Icon color on white |\n| shadcn `--muted-foreground` | `hsl(215.4 16.3% 46.9%)` | ~4.48:1 |  FAIL | Default shadcn theme |\n| shadcn `--destructive` | `hsl(0 84.2% 60.2%)` | ~3.13:1 |  FAIL | Red badge on white |\n| Style Dictionary `text.secondary` | `#6B7280` | 4.48:1 |  FAIL | Ubiquitous - always check |\n\n### Compliant Replacements\n\nEach failing token, with its replacement, new ratio and notes.\n\n| Failing token | Replacement | New ratio | Notes |\n|--------------|-------------|-----------|-------|\n| `#9CA3AF` (gray-400) | `#6B7280` (gray-500) | 4.48:1 | Still near-miss; use `#595959` for safety |\n| `#6B7280` (gray-500) | `#4B5563` (gray-600) | 7.44:1 | Safest option |\n| `#ed6c02` (MUI warning) | `#b45309` (amber-700) | 4.57:1 | Minimum pass |\n| `#ff9800` (MUI warning.light) | `#b45309` (amber-700) | 4.57:1 | |\n| `#FBBF24` (amber-400) | `#92400e` (amber-800) | 8.80:1 | Use as background, not text |\n| `#FACC15` (yellow-400) | `#713f12` (yellow-900) | 12.04:1 | Use as background, not text |\n| `hsl(0 84.2% 60.2%)` (shadcn destructive) | `#b91c1c` (red-700) | 5.56:1 | |\n\n---\n\n## Storybook addon-a11y Configuration\n\n```bash\nnpm install --save-dev @storybook\u002Faddon-a11y\n```\n\n```js\n\u002F\u002F .storybook\u002Fmain.js\nmodule.exports = {\n  addons: ['@storybook\u002Faddon-a11y'],\n};\n\n\u002F\u002F .storybook\u002Fpreview.js - global configuration\nexport const parameters = {\n  a11y: {\n    config: {\n      rules: [\n        { id: 'color-contrast', enabled: true },\n        { id: 'button-name', enabled: true },\n        { id: 'image-alt', enabled: true },\n        { id: 'focus-visible', enabled: true },    \u002F\u002F Requires axe-core 4.4+\n        { id: 'target-size', enabled: true },       \u002F\u002F WCAG 2.5.5 \u002F 2.5.8\n      ],\n    },\n    \u002F\u002F Disable for specific stories (use sparingly)\n    disable: false,\n  },\n};\n\n\u002F\u002F Per-story override\nexport const MyStory = {\n  parameters: {\n    a11y: {\n      config: {\n        rules: [{ id: 'color-contrast', enabled: false }],  \u002F\u002F Document WHY\n      }\n    }\n  }\n};\n```\n\n### Running Storybook a11y Checks in CI\n\n```bash\n# Install storybook test runner\nnpm install --save-dev @storybook\u002Ftest-runner\n\n# package.json scripts\n{\n  \"scripts\": {\n    \"storybook:test\": \"test-storybook\",\n    \"storybook:test:a11y\": \"test-storybook --ci\"\n  }\n}\n\n# Run in CI\nnpx storybook dev --port 6006 &\nnpx wait-on tcp:6006\nnpx test-storybook --ci\n```\n\n---\n\n## WCAG 2.4.13 Focus Appearance Requirements (AAA, exceeds AA baseline)\n\n**WCAG 2.4.13 Focus Appearance (Level AAA in WCAG 2.2)** - exceeds the 2.4.7 Focus Visible (AA) baseline, but recommended as best practice:\n\n1. **Area:** Focus indicator encloses the component OR has a perimeter >= component's perimeter x 2px\n2. **Contrast change:** The focus indicator area must change contrast by >= 3:1 between focused and unfocused states\n3. **Not obscured:** The focus indicator must not be entirely hidden by author-created content\n\n### Minimum Compliant Focus Ring Implementation\n\n```css\n\u002F* Minimum WCAG 2.4.13 compliant focus ring *\u002F\n:focus-visible {\n  outline: 2px solid #0054B3;      \u002F* >= 2px width *\u002F\n  outline-offset: 2px;             \u002F* Separates from component edge *\u002F\n  \u002F* #0054B3 on #FFF = 8.28:1 -> passes 3:1 for UI components *\u002F\n}\n\n\u002F* Dark mode variant *\u002F\n@media (prefers-color-scheme: dark) {\n  :focus-visible {\n    outline-color: #7CAFFF;        \u002F* lighter blue on dark background *\u002F\n    \u002F* #7CAFFF on #1E1E1E = 5.74:1  *\u002F\n  }\n}\n\n\u002F* VIOLATION patterns to detect *\u002F\n:focus { outline: none; }                           \u002F* Hard fail *\u002F\n:focus { outline: 0; }                              \u002F* Hard fail *\u002F\n:focus-visible { box-shadow: none; outline: none; } \u002F* Hard fail *\u002F\nbutton:focus { outline: none; }                     \u002F* Hard fail *\u002F\n*:focus { outline-color: transparent; }             \u002F* Hard fail *\u002F\n```\n\n### Focus Ring Token Validation Checklist\n\nEach check, with its requirement and tool.\n\n| Check | Requirement | Tool |\n|-------|------------|------|\n| `outline-width` >= 2px | WCAG 2.4.13 area requirement | CSS audit |\n| Focus color contrast >= 3:1 | Against adjacent background | Contrast calculator |\n| Focus state differs from unfocused | Visible change required | Visual inspection |\n| No `outline: none` without replacement | N\u002FA | grep \u002F CSS audit |\n| Present in both light and dark modes | Consistent | Visual inspection |\n\n---\n\n## Design Token File Discovery Commands\n\n```bash\n# Find all token files in a project\nfind . -type f \\( \\\n  -name \"tokens.json\" \\\n  -o -name \"design-tokens.json\" \\\n  -o -name \"colors.json\" \\\n  -o -name \"variables.css\" \\\n  -o -name \"tokens.css\" \\\n  -o -name \"_variables.scss\" \\\n  -o -name \"theme.ts\" \\\n  -o -name \"theme.js\" \\\n  -o -name \"tailwind.config.*\" \\\n\\) \\\n-not -path \"*\u002Fnode_modules\u002F*\" \\\n-not -path \"*\u002F.next\u002F*\" \\\n-not -path \"*\u002Fdist\u002F*\"\n\n# PowerShell equivalent\nGet-ChildItem -Recurse -File -Include tokens.json,design-tokens.json,colors.json,`\n  variables.css,tokens.css,_variables.scss,theme.ts,theme.js,tailwind.config.js,tailwind.config.ts `\n  | Where-Object { $_.FullName -notmatch 'node_modules|\\.next|dist' }\n```\n\n---\n\n## Severity Classification\n\nEach finding, with its severity.\n\n| Finding | Severity |\n|---------|---------|\n| Text token below 3:1 | Critical |\n| Text token 3:1-4.49:1 (normal text) | Error |\n| Text token 4.5:1-6.99:1, AAA target | Warning |\n| UI component token below 3:1 | Error |\n| Focus ring missing completely | Critical |\n| Focus ring below 2px | Error |\n| Focus ring contrast below 3:1 | Error |\n| Touch target token below 24 x 24px (WCAG 2.5.8) | Error |\n| Touch target token below 44 x 44px (WCAG 2.5.5) | Warning |\n| No `prefers-reduced-motion` reset | Warning |\n| Placeholder color below 4.5:1 | Error |\n| Disabled token below 3:1 | Info (documented exemption, note for transparency) |\n",{"name":5,"license":14,"metadata":23,"description":7,"user-invocable":19,"disable-model-invocation":29},{"tier":24,"title":25,"domain":26,"effort":27,"output":28},"reference","Design System","cross-cutting","low","none",true,"main","4c174e06a831864e98c30f630a7aa6c04738b094","skills\u002F_intake\u002Fgithub\u002FCommunity-Access\u002Faccessibility-agents\u002Fkb-design-system","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules","https:\u002F\u002Fgithub.com\u002Fmhyahya854","2026-11-06 02:03:37",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":29},[38,41,44],{"tool":39,"command":40},"npx","npx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill kb-design-system",{"tool":42,"command":43},"bunx","bunx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill kb-design-system",{"tool":45,"command":46},"pnpm","pnpm dlx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill kb-design-system","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FCommunity-Access\u002Faccessibility-agents\u002Fkb-design-system\u002FSKILL.md",[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",573,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FCommunity-Access\u002Faccessibility-agents\u002Fkb-design-system\u002Fagents\u002Fopenai.yaml",[56,64,72,80,87,94],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7EX4T721AAH60R0239P8WBZ","frontend-slides","Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT\u002FPPTX to web, or create slides for a talk\u002Fpitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":68,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EX495RSHTTCEJVX7C83FA3","design-dna","Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure\u002Fschema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on \"design DNA\", \"extract design style\", \"analyze design\", \"design tokens from reference\", \"generate design from JSON\", \"design system from screenshot\", \"design profile\", \"style guide JSON\", \"visual effects analysis\", \"design with effects\", \"3d design analysis\".","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EX45RF2XZKRC3KDJDTT1PH","wireframe","Generate JSON wireframe with HTML preview","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7EWZEM3MHD48AYSYFR2C9JP","social-publishing","Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, Pinterest) via the SocialClaw API. Use when the user wants to publish, schedule, or manage social media content programmatically. Requires SOCIALCLAW_API_KEY.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fsocial-publishing\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M7EWKDEK9840C728VXT78EQ9","hermes-tweet","Install and operate Hermes Tweet, a Hermes Agent plugin for X\u002FTwitter research, timeline reading, tweet analysis, and approval-gated private or state-changing operations. Use this skill when installing Hermes Tweet, researching X\u002FTwitter accounts, monitoring launch signals, investigating mentions, auditing giveaways, or preparing gated X operations. Use proactively when a Hermes Agent workflow needs current X\u002FTwitter context. Requires XQUIK_API_KEY for read and action tools.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fhermes-tweet\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M7EWASXP3NZWW95CJPT2CRWN","refactoring-ui","Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions \"my UI looks off\" (or amateur\u002Funprofessional), \"fix the design\", \"Tailwind styling\", \"color palette\", \"visual hierarchy\", \"design system\", \"spacing scale\", or \"component styling\". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwondelai\u002Fskills\u002Frefactoring-ui\u002FSKILL.md",[],[]]