[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AS1PAC3Z1XR33SFTC0G87X":3,"skill-same:01M7AS1PAC3Z1XR33SFTC0G87X":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7AS1PAC3Z1XR33SFTC0G87X","ui-design-system",null,"UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use when creating design systems, generating design tokens, maintaining visual consistency, or facilitating design-dev collaboration and developer handoff.","GongYuanCaiJi\u002Fdsh-claude-skills","GongYuanCaiJi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F129952120?v=4","01M7AK39Q4W3VPF7C1K8M58BFX","劉昱廷 Yu-Ting Liu","01M7APPQ7AEZTDQB0N6HCPTR2X",0,"MIT","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"ui-design-system\"\ndescription: UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use when creating design systems, generating design tokens, maintaining visual consistency, or facilitating design-dev collaboration and developer handoff.\n---\n\n# UI Design System\n\nGenerate design tokens, create color palettes, calculate typography scales, build component systems, and prepare developer handoff documentation.\n\n---\n\n## Table of Contents\n\n- [Trigger Terms](#trigger-terms)\n- [Workflows](#workflows)\n  - [Workflow 1: Generate Design Tokens](#workflow-1-generate-design-tokens)\n  - [Workflow 2: Create Component System](#workflow-2-create-component-system)\n  - [Workflow 3: Responsive Design](#workflow-3-responsive-design)\n  - [Workflow 4: Developer Handoff](#workflow-4-developer-handoff)\n- [Tool Reference](#tool-reference)\n- [Quick Reference Tables](#quick-reference-tables)\n- [Knowledge Base](#knowledge-base)\n\n---\n\n## Trigger Terms\n\nUse this skill when you need to:\n\n- \"generate design tokens\"\n- \"create color palette\"\n- \"build typography scale\"\n- \"calculate spacing system\"\n- \"create design system\"\n- \"generate CSS variables\"\n- \"export SCSS tokens\"\n- \"set up component architecture\"\n- \"document component library\"\n- \"calculate responsive breakpoints\"\n- \"prepare developer handoff\"\n- \"convert brand color to palette\"\n- \"check WCAG contrast\"\n- \"build 8pt grid system\"\n\n---\n\n## Workflows\n\n### Workflow 1: Generate Design Tokens\n\n**Situation:** You have a brand color and need a complete design token system.\n\n**Steps:**\n\n1. **Identify brand color and style**\n   - Brand primary color (hex format)\n   - Style preference: `modern` | `classic` | `playful`\n\n2. **Generate tokens using script**\n   ```bash\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern json\n   ```\n\n3. **Review generated categories**\n   - Colors: primary, secondary, neutral, semantic, surface\n   - Typography: fontFamily, fontSize, fontWeight, lineHeight\n   - Spacing: 8pt grid-based scale (0-64)\n   - Borders: radius, width\n   - Shadows: none through 2xl\n   - Animation: duration, easing\n   - Breakpoints: xs through 2xl\n\n4. **Export in target format**\n   ```bash\n   # CSS custom properties\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern css > design-tokens.css\n\n   # SCSS variables\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern scss > _design-tokens.scss\n\n   # JSON for Figma\u002Ftooling\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern json > design-tokens.json\n   ```\n\n5. **Validate accessibility**\n   - Check color contrast meets WCAG AA (4.5:1 normal, 3:1 large text)\n   - Verify semantic colors have contrast colors defined\n\n---\n\n### Workflow 2: Create Component System\n\n**Situation:** You need to structure a component library using design tokens.\n\n**Steps:**\n\n1. **Define component hierarchy**\n   - Atoms: Button, Input, Icon, Label, Badge\n   - Molecules: FormField, SearchBar, Card, ListItem\n   - Organisms: Header, Footer, DataTable, Modal\n   - Templates: DashboardLayout, AuthLayout\n\n2. **Map tokens to components**\n\n   | Component | Tokens Used |\n   |-----------|-------------|\n   | Button | colors, sizing, borders, shadows, typography |\n   | Input | colors, sizing, borders, spacing |\n   | Card | colors, borders, shadows, spacing |\n   | Modal | colors, shadows, spacing, z-index, animation |\n\n3. **Define variant patterns**\n\n   Size variants:\n   ```\n   sm: height 32px, paddingX 12px, fontSize 14px\n   md: height 40px, paddingX 16px, fontSize 16px\n   lg: height 48px, paddingX 20px, fontSize 18px\n   ```\n\n   Color variants:\n   ```\n   primary: background primary-500, text white\n   secondary: background neutral-100, text neutral-900\n   ghost: background transparent, text neutral-700\n   ```\n\n4. **Document component API**\n   - Props interface with types\n   - Variant options\n   - State handling (hover, active, focus, disabled)\n   - Accessibility requirements\n\n5. **Reference:** See `references\u002Fcomponent-architecture.md`\n\n---\n\n### Workflow 3: Responsive Design\n\n**Situation:** You need breakpoints, fluid typography, or responsive spacing.\n\n**Steps:**\n\n1. **Define breakpoints**\n\n   | Name | Width | Target |\n   |------|-------|--------|\n   | xs | 0 | Small phones |\n   | sm | 480px | Large phones |\n   | md | 640px | Tablets |\n   | lg | 768px | Small laptops |\n   | xl | 1024px | Desktops |\n   | 2xl | 1280px | Large screens |\n\n2. **Calculate fluid typography**\n\n   Formula: `clamp(min, preferred, max)`\n\n   ```css\n   \u002F* 16px to 24px between 320px and 1200px viewport *\u002F\n   font-size: clamp(1rem, 0.5rem + 2vw, 1.5rem);\n   ```\n\n   Pre-calculated scales:\n   ```css\n   --fluid-h1: clamp(2rem, 1rem + 3.6vw, 4rem);\n   --fluid-h2: clamp(1.75rem, 1rem + 2.3vw, 3rem);\n   --fluid-h3: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);\n   --fluid-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);\n   ```\n\n3. **Set up responsive spacing**\n\n   | Token | Mobile | Tablet | Desktop |\n   |-------|--------|--------|---------|\n   | --space-md | 12px | 16px | 16px |\n   | --space-lg | 16px | 24px | 32px |\n   | --space-xl | 24px | 32px | 48px |\n   | --space-section | 48px | 80px | 120px |\n\n4. **Reference:** See `references\u002Fresponsive-calculations.md`\n\n---\n\n### Workflow 4: Developer Handoff\n\n**Situation:** You need to hand off design tokens to development team.\n\n**Steps:**\n\n1. **Export tokens in required formats**\n   ```bash\n   # For CSS projects\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern css\n\n   # For SCSS projects\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern scss\n\n   # For JavaScript\u002FTypeScript\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern json\n   ```\n\n2. **Prepare framework integration**\n\n   **React + CSS Variables:**\n   ```tsx\n   import '.\u002Fdesign-tokens.css';\n\n   \u003Cbutton className=\"btn btn-primary\">Click\u003C\u002Fbutton>\n   ```\n\n   **Tailwind Config:**\n   ```javascript\n   const tokens = require('.\u002Fdesign-tokens.json');\n\n   module.exports = {\n     theme: {\n       colors: tokens.colors,\n       fontFamily: tokens.typography.fontFamily\n     }\n   };\n   ```\n\n   **styled-components:**\n   ```typescript\n   import tokens from '.\u002Fdesign-tokens.json';\n\n   const Button = styled.button`\n     background: ${tokens.colors.primary['500']};\n     padding: ${tokens.spacing['2']} ${tokens.spacing['4']};\n   `;\n   ```\n\n3. **Sync with Figma**\n   - Install Tokens Studio plugin\n   - Import design-tokens.json\n   - Tokens sync automatically with Figma styles\n\n4. **Handoff checklist**\n   - [ ] Token files added to project\n   - [ ] Build pipeline configured\n   - [ ] Theme\u002FCSS variables imported\n   - [ ] Component library aligned\n   - [ ] Documentation generated\n\n5. **Reference:** See `references\u002Fdeveloper-handoff.md`\n\n---\n\n## Tool Reference\n\n### design_token_generator.py\n\nGenerates complete design token system from brand color.\n\n| Argument | Values | Default | Description |\n|----------|--------|---------|-------------|\n| brand_color | Hex color | #0066CC | Primary brand color |\n| style | modern, classic, playful | modern | Design style preset |\n| format | json, css, scss, summary | json | Output format |\n\n**Examples:**\n\n```bash\n# Generate JSON tokens (default)\npython scripts\u002Fdesign_token_generator.py \"#0066CC\"\n\n# Classic style with CSS output\npython scripts\u002Fdesign_token_generator.py \"#8B4513\" classic css\n\n# Playful style summary view\npython scripts\u002Fdesign_token_generator.py \"#FF6B6B\" playful summary\n```\n\n**Output Categories:**\n\n| Category | Description | Key Values |\n|----------|-------------|------------|\n| colors | Color palettes | primary, secondary, neutral, semantic, surface |\n| typography | Font system | fontFamily, fontSize, fontWeight, lineHeight |\n| spacing | 8pt grid | 0-64 scale, semantic (xs-3xl) |\n| sizing | Component sizes | container, button, input, icon |\n| borders | Border values | radius (per style), width |\n| shadows | Shadow styles | none through 2xl, inner |\n| animation | Motion tokens | duration, easing, keyframes |\n| breakpoints | Responsive | xs, sm, md, lg, xl, 2xl |\n| z-index | Layer system | base through notification |\n\n---\n\n## Quick Reference Tables\n\n### Color Scale Generation\n\n| Step | Brightness | Saturation | Use Case |\n|------|------------|------------|----------|\n| 50 | 95% fixed | 30% | Subtle backgrounds |\n| 100 | 95% fixed | 38% | Light backgrounds |\n| 200 | 95% fixed | 46% | Hover states |\n| 300 | 95% fixed | 54% | Borders |\n| 400 | 95% fixed | 62% | Disabled states |\n| 500 | Original | 70% | Base\u002Fdefault color |\n| 600 | Original × 0.8 | 78% | Hover (dark) |\n| 700 | Original × 0.6 | 86% | Active states |\n| 800 | Original × 0.4 | 94% | Text |\n| 900 | Original × 0.2 | 100% | Headings |\n\n### Typography Scale (1.25x Ratio)\n\n| Size | Value | Calculation |\n|------|-------|-------------|\n| xs | 10px | 16 ÷ 1.25² |\n| sm | 13px | 16 ÷ 1.25¹ |\n| base | 16px | Base |\n| lg | 20px | 16 × 1.25¹ |\n| xl | 25px | 16 × 1.25² |\n| 2xl | 31px | 16 × 1.25³ |\n| 3xl | 39px | 16 × 1.25⁴ |\n| 4xl | 49px | 16 × 1.25⁵ |\n| 5xl | 61px | 16 × 1.25⁶ |\n\n### WCAG Contrast Requirements\n\n| Level | Normal Text | Large Text |\n|-------|-------------|------------|\n| AA | 4.5:1 | 3:1 |\n| AAA | 7:1 | 4.5:1 |\n\nLarge text: ≥18pt regular or ≥14pt bold\n\n### Style Presets\n\n| Aspect | Modern | Classic | Playful |\n|--------|--------|---------|---------|\n| Font Sans | Inter | Helvetica | Poppins |\n| Font Mono | Fira Code | Courier | Source Code Pro |\n| Radius Default | 8px | 4px | 16px |\n| Shadows | Layered, subtle | Single layer | Soft, pronounced |\n\n---\n\n## Knowledge Base\n\nDetailed reference guides in `references\u002F`:\n\n| File | Content |\n|------|---------|\n| `token-generation.md` | Color algorithms, HSV space, WCAG contrast, type scales |\n| `component-architecture.md` | Atomic design, naming conventions, props patterns |\n| `responsive-calculations.md` | Breakpoints, fluid typography, grid systems |\n| `developer-handoff.md` | Export formats, framework setup, Figma sync |\n\n---\n\n## Validation Checklist\n\n### Token Generation\n- [ ] Brand color provided in hex format\n- [ ] Style matches project requirements\n- [ ] All token categories generated\n- [ ] Semantic colors include contrast values\n\n### Component System\n- [ ] All sizes implemented (sm, md, lg)\n- [ ] All variants implemented (primary, secondary, ghost)\n- [ ] All states working (hover, active, focus, disabled)\n- [ ] Uses only design tokens (no hardcoded values)\n\n### Accessibility\n- [ ] Color contrast meets WCAG AA\n- [ ] Focus indicators visible\n- [ ] Touch targets ≥ 44×44px\n- [ ] Semantic HTML elements used\n\n### Developer Handoff\n- [ ] Tokens exported in required format\n- [ ] Framework integration documented\n- [ ] Design tool synced\n- [ ] Component documentation complete\n","# UI Design System\n\nGenerate design tokens, create color palettes, calculate typography scales, build component systems, and prepare developer handoff documentation.\n\n---\n\n## Table of Contents\n\n- [Trigger Terms](#trigger-terms)\n- [Workflows](#workflows)\n  - [Workflow 1: Generate Design Tokens](#workflow-1-generate-design-tokens)\n  - [Workflow 2: Create Component System](#workflow-2-create-component-system)\n  - [Workflow 3: Responsive Design](#workflow-3-responsive-design)\n  - [Workflow 4: Developer Handoff](#workflow-4-developer-handoff)\n- [Tool Reference](#tool-reference)\n- [Quick Reference Tables](#quick-reference-tables)\n- [Knowledge Base](#knowledge-base)\n\n---\n\n## Trigger Terms\n\nUse this skill when you need to:\n\n- \"generate design tokens\"\n- \"create color palette\"\n- \"build typography scale\"\n- \"calculate spacing system\"\n- \"create design system\"\n- \"generate CSS variables\"\n- \"export SCSS tokens\"\n- \"set up component architecture\"\n- \"document component library\"\n- \"calculate responsive breakpoints\"\n- \"prepare developer handoff\"\n- \"convert brand color to palette\"\n- \"check WCAG contrast\"\n- \"build 8pt grid system\"\n\n---\n\n## Workflows\n\n### Workflow 1: Generate Design Tokens\n\n**Situation:** You have a brand color and need a complete design token system.\n\n**Steps:**\n\n1. **Identify brand color and style**\n   - Brand primary color (hex format)\n   - Style preference: `modern` | `classic` | `playful`\n\n2. **Generate tokens using script**\n   ```bash\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern json\n   ```\n\n3. **Review generated categories**\n   - Colors: primary, secondary, neutral, semantic, surface\n   - Typography: fontFamily, fontSize, fontWeight, lineHeight\n   - Spacing: 8pt grid-based scale (0-64)\n   - Borders: radius, width\n   - Shadows: none through 2xl\n   - Animation: duration, easing\n   - Breakpoints: xs through 2xl\n\n4. **Export in target format**\n   ```bash\n   # CSS custom properties\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern css > design-tokens.css\n\n   # SCSS variables\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern scss > _design-tokens.scss\n\n   # JSON for Figma\u002Ftooling\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern json > design-tokens.json\n   ```\n\n5. **Validate accessibility**\n   - Check color contrast meets WCAG AA (4.5:1 normal, 3:1 large text)\n   - Verify semantic colors have contrast colors defined\n\n---\n\n### Workflow 2: Create Component System\n\n**Situation:** You need to structure a component library using design tokens.\n\n**Steps:**\n\n1. **Define component hierarchy**\n   - Atoms: Button, Input, Icon, Label, Badge\n   - Molecules: FormField, SearchBar, Card, ListItem\n   - Organisms: Header, Footer, DataTable, Modal\n   - Templates: DashboardLayout, AuthLayout\n\n2. **Map tokens to components**\n\n   | Component | Tokens Used |\n   |-----------|-------------|\n   | Button | colors, sizing, borders, shadows, typography |\n   | Input | colors, sizing, borders, spacing |\n   | Card | colors, borders, shadows, spacing |\n   | Modal | colors, shadows, spacing, z-index, animation |\n\n3. **Define variant patterns**\n\n   Size variants:\n   ```\n   sm: height 32px, paddingX 12px, fontSize 14px\n   md: height 40px, paddingX 16px, fontSize 16px\n   lg: height 48px, paddingX 20px, fontSize 18px\n   ```\n\n   Color variants:\n   ```\n   primary: background primary-500, text white\n   secondary: background neutral-100, text neutral-900\n   ghost: background transparent, text neutral-700\n   ```\n\n4. **Document component API**\n   - Props interface with types\n   - Variant options\n   - State handling (hover, active, focus, disabled)\n   - Accessibility requirements\n\n5. **Reference:** See `references\u002Fcomponent-architecture.md`\n\n---\n\n### Workflow 3: Responsive Design\n\n**Situation:** You need breakpoints, fluid typography, or responsive spacing.\n\n**Steps:**\n\n1. **Define breakpoints**\n\n   | Name | Width | Target |\n   |------|-------|--------|\n   | xs | 0 | Small phones |\n   | sm | 480px | Large phones |\n   | md | 640px | Tablets |\n   | lg | 768px | Small laptops |\n   | xl | 1024px | Desktops |\n   | 2xl | 1280px | Large screens |\n\n2. **Calculate fluid typography**\n\n   Formula: `clamp(min, preferred, max)`\n\n   ```css\n   \u002F* 16px to 24px between 320px and 1200px viewport *\u002F\n   font-size: clamp(1rem, 0.5rem + 2vw, 1.5rem);\n   ```\n\n   Pre-calculated scales:\n   ```css\n   --fluid-h1: clamp(2rem, 1rem + 3.6vw, 4rem);\n   --fluid-h2: clamp(1.75rem, 1rem + 2.3vw, 3rem);\n   --fluid-h3: clamp(1.5rem, 1rem + 1.4vw, 2.25rem);\n   --fluid-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);\n   ```\n\n3. **Set up responsive spacing**\n\n   | Token | Mobile | Tablet | Desktop |\n   |-------|--------|--------|---------|\n   | --space-md | 12px | 16px | 16px |\n   | --space-lg | 16px | 24px | 32px |\n   | --space-xl | 24px | 32px | 48px |\n   | --space-section | 48px | 80px | 120px |\n\n4. **Reference:** See `references\u002Fresponsive-calculations.md`\n\n---\n\n### Workflow 4: Developer Handoff\n\n**Situation:** You need to hand off design tokens to development team.\n\n**Steps:**\n\n1. **Export tokens in required formats**\n   ```bash\n   # For CSS projects\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern css\n\n   # For SCSS projects\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern scss\n\n   # For JavaScript\u002FTypeScript\n   python scripts\u002Fdesign_token_generator.py \"#0066CC\" modern json\n   ```\n\n2. **Prepare framework integration**\n\n   **React + CSS Variables:**\n   ```tsx\n   import '.\u002Fdesign-tokens.css';\n\n   \u003Cbutton className=\"btn btn-primary\">Click\u003C\u002Fbutton>\n   ```\n\n   **Tailwind Config:**\n   ```javascript\n   const tokens = require('.\u002Fdesign-tokens.json');\n\n   module.exports = {\n     theme: {\n       colors: tokens.colors,\n       fontFamily: tokens.typography.fontFamily\n     }\n   };\n   ```\n\n   **styled-components:**\n   ```typescript\n   import tokens from '.\u002Fdesign-tokens.json';\n\n   const Button = styled.button`\n     background: ${tokens.colors.primary['500']};\n     padding: ${tokens.spacing['2']} ${tokens.spacing['4']};\n   `;\n   ```\n\n3. **Sync with Figma**\n   - Install Tokens Studio plugin\n   - Import design-tokens.json\n   - Tokens sync automatically with Figma styles\n\n4. **Handoff checklist**\n   - [ ] Token files added to project\n   - [ ] Build pipeline configured\n   - [ ] Theme\u002FCSS variables imported\n   - [ ] Component library aligned\n   - [ ] Documentation generated\n\n5. **Reference:** See `references\u002Fdeveloper-handoff.md`\n\n---\n\n## Tool Reference\n\n### design_token_generator.py\n\nGenerates complete design token system from brand color.\n\n| Argument | Values | Default | Description |\n|----------|--------|---------|-------------|\n| brand_color | Hex color | #0066CC | Primary brand color |\n| style | modern, classic, playful | modern | Design style preset |\n| format | json, css, scss, summary | json | Output format |\n\n**Examples:**\n\n```bash\n# Generate JSON tokens (default)\npython scripts\u002Fdesign_token_generator.py \"#0066CC\"\n\n# Classic style with CSS output\npython scripts\u002Fdesign_token_generator.py \"#8B4513\" classic css\n\n# Playful style summary view\npython scripts\u002Fdesign_token_generator.py \"#FF6B6B\" playful summary\n```\n\n**Output Categories:**\n\n| Category | Description | Key Values |\n|----------|-------------|------------|\n| colors | Color palettes | primary, secondary, neutral, semantic, surface |\n| typography | Font system | fontFamily, fontSize, fontWeight, lineHeight |\n| spacing | 8pt grid | 0-64 scale, semantic (xs-3xl) |\n| sizing | Component sizes | container, button, input, icon |\n| borders | Border values | radius (per style), width |\n| shadows | Shadow styles | none through 2xl, inner |\n| animation | Motion tokens | duration, easing, keyframes |\n| breakpoints | Responsive | xs, sm, md, lg, xl, 2xl |\n| z-index | Layer system | base through notification |\n\n---\n\n## Quick Reference Tables\n\n### Color Scale Generation\n\n| Step | Brightness | Saturation | Use Case |\n|------|------------|------------|----------|\n| 50 | 95% fixed | 30% | Subtle backgrounds |\n| 100 | 95% fixed | 38% | Light backgrounds |\n| 200 | 95% fixed | 46% | Hover states |\n| 300 | 95% fixed | 54% | Borders |\n| 400 | 95% fixed | 62% | Disabled states |\n| 500 | Original | 70% | Base\u002Fdefault color |\n| 600 | Original × 0.8 | 78% | Hover (dark) |\n| 700 | Original × 0.6 | 86% | Active states |\n| 800 | Original × 0.4 | 94% | Text |\n| 900 | Original × 0.2 | 100% | Headings |\n\n### Typography Scale (1.25x Ratio)\n\n| Size | Value | Calculation |\n|------|-------|-------------|\n| xs | 10px | 16 ÷ 1.25² |\n| sm | 13px | 16 ÷ 1.25¹ |\n| base | 16px | Base |\n| lg | 20px | 16 × 1.25¹ |\n| xl | 25px | 16 × 1.25² |\n| 2xl | 31px | 16 × 1.25³ |\n| 3xl | 39px | 16 × 1.25⁴ |\n| 4xl | 49px | 16 × 1.25⁵ |\n| 5xl | 61px | 16 × 1.25⁶ |\n\n### WCAG Contrast Requirements\n\n| Level | Normal Text | Large Text |\n|-------|-------------|------------|\n| AA | 4.5:1 | 3:1 |\n| AAA | 7:1 | 4.5:1 |\n\nLarge text: ≥18pt regular or ≥14pt bold\n\n### Style Presets\n\n| Aspect | Modern | Classic | Playful |\n|--------|--------|---------|---------|\n| Font Sans | Inter | Helvetica | Poppins |\n| Font Mono | Fira Code | Courier | Source Code Pro |\n| Radius Default | 8px | 4px | 16px |\n| Shadows | Layered, subtle | Single layer | Soft, pronounced |\n\n---\n\n## Knowledge Base\n\nDetailed reference guides in `references\u002F`:\n\n| File | Content |\n|------|---------|\n| `token-generation.md` | Color algorithms, HSV space, WCAG contrast, type scales |\n| `component-architecture.md` | Atomic design, naming conventions, props patterns |\n| `responsive-calculations.md` | Breakpoints, fluid typography, grid systems |\n| `developer-handoff.md` | Export formats, framework setup, Figma sync |\n\n---\n\n## Validation Checklist\n\n### Token Generation\n- [ ] Brand color provided in hex format\n- [ ] Style matches project requirements\n- [ ] All token categories generated\n- [ ] Semantic colors include contrast values\n\n### Component System\n- [ ] All sizes implemented (sm, md, lg)\n- [ ] All variants implemented (primary, secondary, ghost)\n- [ ] All states working (hover, active, focus, disabled)\n- [ ] Uses only design tokens (no hardcoded values)\n\n### Accessibility\n- [ ] Color contrast meets WCAG AA\n- [ ] Focus indicators visible\n- [ ] Touch targets ≥ 44×44px\n- [ ] Semantic HTML elements used\n\n### Developer Handoff\n- [ ] Tokens exported in required format\n- [ ] Framework integration documented\n- [ ] Design tool synced\n- [ ] Component documentation complete\n",{"name":5,"description":7},"main","992d25a425dee442a1f6a628d00a4fed33efe839","product-team\u002Fskills\u002Fui-design-system","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi","漏洞研究、根因分析、黑箱測試｜做 AI agent 工具｜Vulnerability research, root-cause analysis, AI agent tooling","2026-08-16 04:26:20",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add GongYuanCaiJi\u002Fdsh-claude-skills --skill ui-design-system",{"tool":37,"command":38},"bunx","bunx skills add GongYuanCaiJi\u002Fdsh-claude-skills --skill ui-design-system",{"tool":40,"command":41},"pnpm","pnpm dlx skills add GongYuanCaiJi\u002Fdsh-claude-skills --skill ui-design-system","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002FSKILL.md",true,[45,51,57,61,65,69],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"assets\u002Fdesign_system_doc_template.md","ASSET","资产文件",6906,"https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002Fassets\u002Fdesign_system_doc_template.md",{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcomponent-architecture.md","REFERENCE","参考文档",10129,"https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002Freferences\u002Fcomponent-architecture.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fdeveloper-handoff.md",10244,"https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002Freferences\u002Fdeveloper-handoff.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fresponsive-calculations.md",8766,"https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002Freferences\u002Fresponsive-calculations.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ftoken-generation.md",8530,"https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002Freferences\u002Ftoken-generation.md",{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fdesign_token_generator.py","SCRIPT","脚本",20582,"https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fproduct-team\u002Fskills\u002Fui-design-system\u002Fscripts\u002Fdesign_token_generator.py",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7ASG5XZVP67CMMRENYFQWPW","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7ASFSGJF6G9KM40S1QJPR57","research","Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends\u002Fsentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Use when the user makes any research request that doesn't obviously match a more-specific specialist skill (e.g., \"research [topic]\", \"look into [topic]\", \"what do we know about [topic]\", \"investigate [topic]\", \"find me information on [topic]\", \"do some research on [topic]\", \"I need to understand [topic]\"). Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fresearch\u002Fskills\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7ASFFNCMS1X5X276VE277KW","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7ASF2BM8D9CDRQV1VBV7FV6","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7ASERRV1ES4S7QJRTTYWK0H","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M7ASEANH3H547WQBZ7X8W5CX","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002FGongYuanCaiJi\u002Fdsh-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[]]