[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75B1J69WN44SCVW4DGHKNZ2":3,"skill-same:01M75B1J69WN44SCVW4DGHKNZ2":63},{"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":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75B1J69WN44SCVW4DGHKNZ2","design-system-patterns",null,"Build scalable design systems with design tokens, theming infrastructure, and component architecture patterns. Use when creating design tokens, implementing theme switching, building component libraries, or establishing design system foundations.","ruake\u002FAWARE","ruake","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F253885939?v=4","01M75AVBM7FRFTS61RZRNMZB6C","01M75AVBMYHD7500NHVANF1HKM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-system-patterns\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: design-system-patterns\ndescription: Build scalable design systems with design tokens, theming infrastructure, and component architecture patterns. Use when creating design tokens, implementing theme switching, building component libraries, or establishing design system foundations.\n---\n\n# Design System Patterns\n\nMaster design system architecture to create consistent, maintainable, and scalable UI foundations across web and mobile applications.\n\n## When to Use This Skill\n\n- Creating design tokens for colors, typography, spacing, and shadows\n- Implementing light\u002Fdark theme switching with CSS custom properties\n- Building multi-brand theming systems\n- Architecting component libraries with consistent APIs\n- Establishing design-to-code workflows with Figma tokens\n- Creating semantic token hierarchies (primitive, semantic, component)\n- Setting up design system documentation and guidelines\n\n## Core Capabilities\n\n### 1. Design Tokens\n\n- Primitive tokens (raw values: colors, sizes, fonts)\n- Semantic tokens (contextual meaning: text-primary, surface-elevated)\n- Component tokens (specific usage: button-bg, card-border)\n- Token naming conventions and organization\n- Multi-platform token generation (CSS, iOS, Android)\n\n### 2. Theming Infrastructure\n\n- CSS custom properties architecture\n- Theme context providers in React\n- Dynamic theme switching\n- System preference detection (prefers-color-scheme)\n- Persistent theme storage\n- Reduced motion and high contrast modes\n\n### 3. Component Architecture\n\n- Compound component patterns\n- Polymorphic components (as prop)\n- Variant and size systems\n- Slot-based composition\n- Headless UI patterns\n- Style props and responsive variants\n\n### 4. Token Pipeline\n\n- Figma to code synchronization\n- Style Dictionary configuration\n- Token transformation and formatting\n- CI\u002FCD integration for token updates\n\n## Quick Start\n\n```typescript\n\u002F\u002F Design tokens with CSS custom properties\nconst tokens = {\n  colors: {\n    \u002F\u002F Primitive tokens\n    gray: {\n      50: \"#fafafa\",\n      100: \"#f5f5f5\",\n      900: \"#171717\",\n    },\n    blue: {\n      500: \"#3b82f6\",\n      600: \"#2563eb\",\n    },\n  },\n  \u002F\u002F Semantic tokens (reference primitives)\n  semantic: {\n    light: {\n      \"text-primary\": \"var(--color-gray-900)\",\n      \"text-secondary\": \"var(--color-gray-600)\",\n      \"surface-default\": \"var(--color-white)\",\n      \"surface-elevated\": \"var(--color-gray-50)\",\n      \"border-default\": \"var(--color-gray-200)\",\n      \"interactive-primary\": \"var(--color-blue-500)\",\n    },\n    dark: {\n      \"text-primary\": \"var(--color-gray-50)\",\n      \"text-secondary\": \"var(--color-gray-400)\",\n      \"surface-default\": \"var(--color-gray-900)\",\n      \"surface-elevated\": \"var(--color-gray-800)\",\n      \"border-default\": \"var(--color-gray-700)\",\n      \"interactive-primary\": \"var(--color-blue-400)\",\n    },\n  },\n};\n```\n\n## Detailed patterns and worked examples\n\nDetailed pattern documentation lives in `references\u002Fdetails.md`. Read that file when the navigation tier above is insufficient.\n\n## Best Practices\n\n1. **Name Tokens by Purpose**: Use semantic names (text-primary) not visual descriptions (dark-gray)\n2. **Maintain Token Hierarchy**: Primitives > Semantic > Component tokens\n3. **Document Token Usage**: Include usage guidelines with token definitions\n4. **Version Tokens**: Treat token changes as API changes with semver\n5. **Test Theme Combinations**: Verify all themes work with all components\n6. **Automate Token Pipeline**: CI\u002FCD for Figma-to-code synchronization\n7. **Provide Migration Paths**: Deprecate tokens gradually with clear alternatives\n\n## Common Issues\n\n- **Token Sprawl**: Too many tokens without clear hierarchy\n- **Inconsistent Naming**: Mixed conventions (camelCase vs kebab-case)\n- **Missing Dark Mode**: Tokens that don't adapt to theme changes\n- **Hardcoded Values**: Using raw values instead of tokens\n- **Circular References**: Tokens referencing each other in loops\n- **Platform Gaps**: Tokens missing for some platforms (web but not mobile)\n","# Design System Patterns\n\nMaster design system architecture to create consistent, maintainable, and scalable UI foundations across web and mobile applications.\n\n## When to Use This Skill\n\n- Creating design tokens for colors, typography, spacing, and shadows\n- Implementing light\u002Fdark theme switching with CSS custom properties\n- Building multi-brand theming systems\n- Architecting component libraries with consistent APIs\n- Establishing design-to-code workflows with Figma tokens\n- Creating semantic token hierarchies (primitive, semantic, component)\n- Setting up design system documentation and guidelines\n\n## Core Capabilities\n\n### 1. Design Tokens\n\n- Primitive tokens (raw values: colors, sizes, fonts)\n- Semantic tokens (contextual meaning: text-primary, surface-elevated)\n- Component tokens (specific usage: button-bg, card-border)\n- Token naming conventions and organization\n- Multi-platform token generation (CSS, iOS, Android)\n\n### 2. Theming Infrastructure\n\n- CSS custom properties architecture\n- Theme context providers in React\n- Dynamic theme switching\n- System preference detection (prefers-color-scheme)\n- Persistent theme storage\n- Reduced motion and high contrast modes\n\n### 3. Component Architecture\n\n- Compound component patterns\n- Polymorphic components (as prop)\n- Variant and size systems\n- Slot-based composition\n- Headless UI patterns\n- Style props and responsive variants\n\n### 4. Token Pipeline\n\n- Figma to code synchronization\n- Style Dictionary configuration\n- Token transformation and formatting\n- CI\u002FCD integration for token updates\n\n## Quick Start\n\n```typescript\n\u002F\u002F Design tokens with CSS custom properties\nconst tokens = {\n  colors: {\n    \u002F\u002F Primitive tokens\n    gray: {\n      50: \"#fafafa\",\n      100: \"#f5f5f5\",\n      900: \"#171717\",\n    },\n    blue: {\n      500: \"#3b82f6\",\n      600: \"#2563eb\",\n    },\n  },\n  \u002F\u002F Semantic tokens (reference primitives)\n  semantic: {\n    light: {\n      \"text-primary\": \"var(--color-gray-900)\",\n      \"text-secondary\": \"var(--color-gray-600)\",\n      \"surface-default\": \"var(--color-white)\",\n      \"surface-elevated\": \"var(--color-gray-50)\",\n      \"border-default\": \"var(--color-gray-200)\",\n      \"interactive-primary\": \"var(--color-blue-500)\",\n    },\n    dark: {\n      \"text-primary\": \"var(--color-gray-50)\",\n      \"text-secondary\": \"var(--color-gray-400)\",\n      \"surface-default\": \"var(--color-gray-900)\",\n      \"surface-elevated\": \"var(--color-gray-800)\",\n      \"border-default\": \"var(--color-gray-700)\",\n      \"interactive-primary\": \"var(--color-blue-400)\",\n    },\n  },\n};\n```\n\n## Detailed patterns and worked examples\n\nDetailed pattern documentation lives in `references\u002Fdetails.md`. Read that file when the navigation tier above is insufficient.\n\n## Best Practices\n\n1. **Name Tokens by Purpose**: Use semantic names (text-primary) not visual descriptions (dark-gray)\n2. **Maintain Token Hierarchy**: Primitives > Semantic > Component tokens\n3. **Document Token Usage**: Include usage guidelines with token definitions\n4. **Version Tokens**: Treat token changes as API changes with semver\n5. **Test Theme Combinations**: Verify all themes work with all components\n6. **Automate Token Pipeline**: CI\u002FCD for Figma-to-code synchronization\n7. **Provide Migration Paths**: Deprecate tokens gradually with clear alternatives\n\n## Common Issues\n\n- **Token Sprawl**: Too many tokens without clear hierarchy\n- **Inconsistent Naming**: Mixed conventions (camelCase vs kebab-case)\n- **Missing Dark Mode**: Tokens that don't adapt to theme changes\n- **Hardcoded Values**: Using raw values instead of tokens\n- **Circular References**: Tokens referencing each other in loops\n- **Platform Gaps**: Tokens missing for some platforms (web but not mobile)\n",{"name":5,"description":7},"main","6184979e01f673905139589c194eab38198db2f7",".agents\u002Fskills\u002Fdesign-system-patterns",1,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE","https:\u002F\u002Fruake.github.io\u002FAWARE","https:\u002F\u002Fgithub.com\u002Fruake","2026-11-15 04:27:27",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ruake\u002FAWARE --skill design-system-patterns",{"tool":37,"command":38},"bunx","bunx skills add ruake\u002FAWARE --skill design-system-patterns",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ruake\u002FAWARE --skill design-system-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-system-patterns\u002FSKILL.md",true,[45,51,55,59],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fcomponent-architecture.md","REFERENCE","参考文档",15293,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-system-patterns\u002Freferences\u002Fcomponent-architecture.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fdesign-tokens.md",11269,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-system-patterns\u002Freferences\u002Fdesign-tokens.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fdetails.md",5566,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-system-patterns\u002Freferences\u002Fdetails.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftheming-architecture.md",12365,"https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdesign-system-patterns\u002Freferences\u002Ftheming-architecture.md",[64,70,77,84,91,97],{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75BPBYT89TEE87CGBDX2KF5","xlsx","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fxlsx\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75BPA000S9MTH5MY7CZNYYQ","writing-plans","Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste.","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75BP80ETH9GYVRH8A7QPCSG","web-design-guidelines","Review files for compliance with Web Interface Guidelines.","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75BP5XG8SX5Q2WWZB6QRVFT","web-component-design","Build reusable, maintainable UI components using modern frameworks with clean composition patterns and styling approache","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-component-design\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M75BP4B1FC4V81QR1VB56H1E","web-artifacts-builder","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M75BP1XVRW8WQ2XXAJBAYV2V","vueuse-functions","This skill is a decision-and-implementation guide for VueUse composables in Vue.js \u002F Nuxt projects. It maps requirements","https:\u002F\u002Fgithub.com\u002Fruake\u002FAWARE\u002Fblob\u002Fmain\u002F.opencode\u002Fskills\u002Fvueuse-functions\u002FSKILL.md",[],[]]