[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FDJC02EV7SJQCRP25Z6CJZ":3,"skill-same:01M7FDJC02EV7SJQCRP25Z6CJZ":52},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7FDJC02EV7SJQCRP25Z6CJZ","build-color-palette",null,"Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002F03-build-color-palette\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: build-color-palette\ndescription: Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades\ndomain: ui-design\nskill-type: generative\nversion: 1.0.0\nauthor: refactoring-ui-expert\nprerequisites: []\ndependencies: []\n---\n\n# Skill: Build Color Palette\n\n## Purpose\nCreate a comprehensive, systematic color palette with sufficient shades to build realistic interfaces (8-10 greys, 5-10 primary shades, 5-10 accent shades).\n\n## Type\nGenerative + Evaluative\n\n## Input\n- Brand color(s) or design mood\u002Fintent\n- UI complexity (simple landing page vs. complex dashboard)\n- Required semantic meanings (success, error, warning, info)\n- Need for categorical colors (charts, calendars, tags)\n\n## Output\n- Color palette specification with multiple shades per color\n- Role assignment for each shade\n- Usage guidelines\n- Pass\u002FFail assessment of existing palette\n\n## Transformation Performed\nMaps functional needs to a comprehensive palette organized into three categories (greys, primary, accents), each with 5-10 distinct shades.\n\n## Decision Criteria\n\n### PASS (Good Color Palette)\n- **Greys: 8-10 shades** - For text, backgrounds, panels, form controls (majority of UI)\n- **Primary: 5-10 shades** - One or two core colors for primary actions, active navigation\n- **Accent: 5-10 shades each** - For semantic states (red, yellow, green), new features, categorization\n- **Systematic shades**: Each color has light to dark variants defined upfront\n- **Clear hierarchy**: Primary color defines overall look; accents used sparingly\n- **Sufficient contrast**: All text meets WCAG AA (4.5:1 for normal, 3:1 for large)\n- **Not using opacity**: Explicit hex values for all shades\n\n### FAIL (Poor Color Palette)\n- Too few greys (3-4 shades leading to compromises)\n- Missing shades of primary color (can't create hover states, subtle backgrounds)\n- Not enough accent colors for semantic states and categorization\n- **Using opacity (rgba) instead of defined shades** (inconsistency)\n- Missing systematic shade progression (arbitrary light\u002Fdark variants)\n- Insufficient contrast for accessibility\n\n## The Palette Structure\n\n### Greys (8-10 shades)\nThe majority of your UI is grey. You need more than you think.\n\n```\nWhite \u002F Near-white: #FFFFFF, #F9FAFB\nGray 100: #F3F4F6 - Subtle backgrounds\nGray 200: #E5E7EB - Borders, dividers\nGray 300: #D1D5DB - Disabled states\nGray 400: #9CA3AF - Placeholder text\nGray 500: #6B7280 - Secondary text\nGray 600: #4B5563 - Body text\nGray 700: #374151 - Strong text\nGray 800: #1F2937 - Headings\nGray 900: #111827 - Near-black text\n```\n\nStart with dark grey (not true black) and work up to white in steady increments.\n\n### Primary Colors (5-10 shades)\nOne or two colors that define the overall look of your site.\n\n```\nPrimary 50: Ultra-light (alert backgrounds)\nPrimary 100: Very light (subtle backgrounds)\nPrimary 200-300: Light (hover states)\nPrimary 400-500: Base (buttons, links)\nPrimary 600-700: Dark (hover text, emphasis)\nPrimary 800-900: Very dark (text on light)\n```\n\n### Accent Colors (5-10 shades each)\nUsed sparingly to grab attention or communicate meaning.\n\n| Color | Use Case |\n|-------|----------|\n| **Red** | Destructive actions, errors, warnings |\n| **Yellow\u002FAmber** | New features, caution, highlights |\n| **Green** | Success, positive trends, confirmation |\n| **Teal\u002FPink\u002FPurple** | Feature highlights, categorization, calendars |\n\nEach accent needs 5-10 shades just like primary colors.\n\n## Visual\u002FUX Signals Used\n1. **Shade progression**: Steady increments from light to dark\n2. **Grey dominance**: Greys are the foundation; colors accent\n3. **Semantic meaning**: Red = danger, Green = success, Yellow = warning\u002Ffeature\n4. **Contrast ratios**: Higher contrast = more importance or readability\n5. **Sparingly used**: Primary and accents used intentionally, not everywhere\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **5-Color Generator** | Using only 5 hex codes for entire UI | Build comprehensive palette with 8-10 greys, 5-10 primary shades, 5-10 accent shades |\n| **Too Few Greys** | 3-4 grey shades leading to compromises | Expand to 8-10 greys from near-white to near-black |\n| **Opacity for Shades** | Using `rgba()` to create lighter\u002Fdarker | Define explicit hex shades upfront for consistency |\n| **Missing Hover States** | No lighter\u002Fdarker variants for interactions | Each interactive color needs 5-10 shades |\n| **Missing Semantic Colors** | Only brand colors, no red\u002Fyellow\u002Fgreen | Add accent colors for errors, warnings, success |\n| **Too Few Accent Shades** | Only one shade of red\u002Fgreen\u002Fyellow | Each accent needs 5-10 shades for flexibility |\n| **True Black Text** | Using #000000 (harsh) | Start with #111827 or #1F2937 |\n\n## Prerequisites\n- Brand guidelines or base color\n- Understanding of UI states (errors, success, hover, etc.)\n- Knowledge of categorical needs (charts, tags, etc.)\n\n## Dependencies\n- `establish-visual-hierarchy` (colors support hierarchy)\n- `manage-color-contrast` (accessibility requirement)\n\n## Refactoring UI References\n- \"You need more colors than you think\"\n- \"Define your shades up front\"\n- \"Greys are the majority of your UI\"\n- \"Don't use opacity to create lighter colors\"\n- \"Build a comprehensive palette, not 5 hex codes\"\n\n## Shade Definition Method\n\nFor each color, define shades by adjusting lightness in HSL:\n- Ultra-light: 95-98% lightness (backgrounds)\n- Light: 80-90% lightness (hover backgrounds)\n- Base: 45-55% lightness (buttons, links)\n- Dark: 20-35% lightness (text, emphasis)\n- Very dark: 10-15% lightness (headings)\n\n## Example Assessment\n\n**Input:** Palette with only: Brand Blue #0066FF, Light Blue #E6F2FF, White, Grey #999999, Black\n\n**Evaluation:** FAIL\n- Only 2 blue shades (need 5-10)\n- Only 1 grey (need 8-10)\n- Missing semantic colors (red, yellow, green)\n- Missing accent shades\n\n**Recommendation:**\nBuild comprehensive palette:\n\n**Greys (10):**\n#F9FAFB, #F3F4F6, #E5E7EB, #D1D5DB, #9CA3AF, #6B7280, #4B5563, #374151, #1F2937, #111827\n\n**Primary Blue (8):**\n#EFF6FF, #DBEAFE, #BFDBFE, #93C5FD, #60A5FA, #3B82F6, #2563EB, #1D4ED8\n\n**Accents (7-8 each):**\n- Red: #FEF2F2... #991B1B (for errors, destructive)\n- Yellow: #FFFBEB... #92400E (for warnings, new features)\n- Green: #F0FDF4... #166534 (for success, positive)\n\nTotal: 10 greys + 8 primary + 21 accents = 39 shades organized systematically\n","# Skill: Build Color Palette\n\n## Purpose\nCreate a comprehensive, systematic color palette with sufficient shades to build realistic interfaces (8-10 greys, 5-10 primary shades, 5-10 accent shades).\n\n## Type\nGenerative + Evaluative\n\n## Input\n- Brand color(s) or design mood\u002Fintent\n- UI complexity (simple landing page vs. complex dashboard)\n- Required semantic meanings (success, error, warning, info)\n- Need for categorical colors (charts, calendars, tags)\n\n## Output\n- Color palette specification with multiple shades per color\n- Role assignment for each shade\n- Usage guidelines\n- Pass\u002FFail assessment of existing palette\n\n## Transformation Performed\nMaps functional needs to a comprehensive palette organized into three categories (greys, primary, accents), each with 5-10 distinct shades.\n\n## Decision Criteria\n\n### PASS (Good Color Palette)\n- **Greys: 8-10 shades** - For text, backgrounds, panels, form controls (majority of UI)\n- **Primary: 5-10 shades** - One or two core colors for primary actions, active navigation\n- **Accent: 5-10 shades each** - For semantic states (red, yellow, green), new features, categorization\n- **Systematic shades**: Each color has light to dark variants defined upfront\n- **Clear hierarchy**: Primary color defines overall look; accents used sparingly\n- **Sufficient contrast**: All text meets WCAG AA (4.5:1 for normal, 3:1 for large)\n- **Not using opacity**: Explicit hex values for all shades\n\n### FAIL (Poor Color Palette)\n- Too few greys (3-4 shades leading to compromises)\n- Missing shades of primary color (can't create hover states, subtle backgrounds)\n- Not enough accent colors for semantic states and categorization\n- **Using opacity (rgba) instead of defined shades** (inconsistency)\n- Missing systematic shade progression (arbitrary light\u002Fdark variants)\n- Insufficient contrast for accessibility\n\n## The Palette Structure\n\n### Greys (8-10 shades)\nThe majority of your UI is grey. You need more than you think.\n\n```\nWhite \u002F Near-white: #FFFFFF, #F9FAFB\nGray 100: #F3F4F6 - Subtle backgrounds\nGray 200: #E5E7EB - Borders, dividers\nGray 300: #D1D5DB - Disabled states\nGray 400: #9CA3AF - Placeholder text\nGray 500: #6B7280 - Secondary text\nGray 600: #4B5563 - Body text\nGray 700: #374151 - Strong text\nGray 800: #1F2937 - Headings\nGray 900: #111827 - Near-black text\n```\n\nStart with dark grey (not true black) and work up to white in steady increments.\n\n### Primary Colors (5-10 shades)\nOne or two colors that define the overall look of your site.\n\n```\nPrimary 50: Ultra-light (alert backgrounds)\nPrimary 100: Very light (subtle backgrounds)\nPrimary 200-300: Light (hover states)\nPrimary 400-500: Base (buttons, links)\nPrimary 600-700: Dark (hover text, emphasis)\nPrimary 800-900: Very dark (text on light)\n```\n\n### Accent Colors (5-10 shades each)\nUsed sparingly to grab attention or communicate meaning.\n\n| Color | Use Case |\n|-------|----------|\n| **Red** | Destructive actions, errors, warnings |\n| **Yellow\u002FAmber** | New features, caution, highlights |\n| **Green** | Success, positive trends, confirmation |\n| **Teal\u002FPink\u002FPurple** | Feature highlights, categorization, calendars |\n\nEach accent needs 5-10 shades just like primary colors.\n\n## Visual\u002FUX Signals Used\n1. **Shade progression**: Steady increments from light to dark\n2. **Grey dominance**: Greys are the foundation; colors accent\n3. **Semantic meaning**: Red = danger, Green = success, Yellow = warning\u002Ffeature\n4. **Contrast ratios**: Higher contrast = more importance or readability\n5. **Sparingly used**: Primary and accents used intentionally, not everywhere\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **5-Color Generator** | Using only 5 hex codes for entire UI | Build comprehensive palette with 8-10 greys, 5-10 primary shades, 5-10 accent shades |\n| **Too Few Greys** | 3-4 grey shades leading to compromises | Expand to 8-10 greys from near-white to near-black |\n| **Opacity for Shades** | Using `rgba()` to create lighter\u002Fdarker | Define explicit hex shades upfront for consistency |\n| **Missing Hover States** | No lighter\u002Fdarker variants for interactions | Each interactive color needs 5-10 shades |\n| **Missing Semantic Colors** | Only brand colors, no red\u002Fyellow\u002Fgreen | Add accent colors for errors, warnings, success |\n| **Too Few Accent Shades** | Only one shade of red\u002Fgreen\u002Fyellow | Each accent needs 5-10 shades for flexibility |\n| **True Black Text** | Using #000000 (harsh) | Start with #111827 or #1F2937 |\n\n## Prerequisites\n- Brand guidelines or base color\n- Understanding of UI states (errors, success, hover, etc.)\n- Knowledge of categorical needs (charts, tags, etc.)\n\n## Dependencies\n- `establish-visual-hierarchy` (colors support hierarchy)\n- `manage-color-contrast` (accessibility requirement)\n\n## Refactoring UI References\n- \"You need more colors than you think\"\n- \"Define your shades up front\"\n- \"Greys are the majority of your UI\"\n- \"Don't use opacity to create lighter colors\"\n- \"Build a comprehensive palette, not 5 hex codes\"\n\n## Shade Definition Method\n\nFor each color, define shades by adjusting lightness in HSL:\n- Ultra-light: 95-98% lightness (backgrounds)\n- Light: 80-90% lightness (hover backgrounds)\n- Base: 45-55% lightness (buttons, links)\n- Dark: 20-35% lightness (text, emphasis)\n- Very dark: 10-15% lightness (headings)\n\n## Example Assessment\n\n**Input:** Palette with only: Brand Blue #0066FF, Light Blue #E6F2FF, White, Grey #999999, Black\n\n**Evaluation:** FAIL\n- Only 2 blue shades (need 5-10)\n- Only 1 grey (need 8-10)\n- Missing semantic colors (red, yellow, green)\n- Missing accent shades\n\n**Recommendation:**\nBuild comprehensive palette:\n\n**Greys (10):**\n#F9FAFB, #F3F4F6, #E5E7EB, #D1D5DB, #9CA3AF, #6B7280, #4B5563, #374151, #1F2937, #111827\n\n**Primary Blue (8):**\n#EFF6FF, #DBEAFE, #BFDBFE, #93C5FD, #60A5FA, #3B82F6, #2563EB, #1D4ED8\n\n**Accents (7-8 each):**\n- Red: #FEF2F2... #991B1B (for errors, destructive)\n- Yellow: #FFFBEB... #92400E (for warnings, new features)\n- Green: #F0FDF4... #166534 (for success, positive)\n\nTotal: 10 greys + 8 primary + 21 accents = 39 shades organized systematically\n",{"name":5,"author":24,"domain":25,"version":26,"skill-type":27,"description":7,"dependencies":28,"prerequisites":29},"refactoring-ui-expert","ui-design","1.0.0","generative",[],[],"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","07-后端与架构\u002F03-build-color-palette",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill build-color-palette",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill build-color-palette",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill build-color-palette","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002F03-build-color-palette\u002FSKILL.md",true,[],[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]