[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBV9QR2PTB5R34PHCSAEYB":3,"skill-same:01M7FBV9QR2PTB5R34PHCSAEYB":53},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7FBV9QR2PTB5R34PHCSAEYB","manage-color-contrast",null,"Ensure WCAG AA accessibility and readability","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\u002F06-前端与设计\u002Frefactoring-ui-plugin\u002Fskills\u002F09-manage-color-contrast\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: manage-color-contrast\ndescription: Ensure WCAG AA accessibility and readability\ndomain: ui-design\nskill-type: evaluative\nversion: 1.0.0\nauthor: refactoring-ui-expert\nprerequisites: []\ndependencies:\n  - 03-build-color-palette\n---\n\n# Skill: Manage Color Contrast\n\n## Purpose\nEnsure text and interactive elements have sufficient contrast against their backgrounds for readability and accessibility.\n\n## Type\nEvaluative + Corrective\n\n## Input\n- Text colors and sizes\n- Background colors\n- UI element specifications\n\n## Output\n- Contrast ratio calculations\n- Pass\u002FFail against WCAG standards\n- Recommendations for fixes\n\n## Transformation Performed\nCalculates contrast ratios and ensures compliance with WCAG AA standards (4.5:1 for normal text, 3:1 for large text and UI components).\n\n## Decision Criteria\n\n### PASS (Good Contrast)\n- **Normal text (\u003C 18px)**: 4.5:1 minimum (WCAG AA)\n- **Large text (≥ 18px bold or ≥ 24px)**: 3:1 minimum\n- **UI components (buttons, inputs)**: 3:1 minimum for boundaries\n- **Focus indicators**: 3:1 minimum against adjacent colors\n\n### FAIL (Poor Contrast)\n- Light gray text on white (\u003C 4.5:1)\n- White text on light colors\n- Disabled states that look like active (too much contrast)\n- Placeholder text same as input text\n\n## Contrast Ratio Quick Reference\n\n| Text Color on White | Ratio | Pass AA? |\n|---------------------|-------|----------|\n| #000000 (black) | 21:1 | ✓ |\n| #333333 | 12.6:1 | ✓ |\n| #666666 | 5.9:1 | ✓ |\n| #757575 | 4.6:1 | ✓ (minimum) |\n| #999999 | 2.8:1 | ✗ |\n| #CCCCCC | 1.6:1 | ✗ |\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **Light Gray Text** | #999 or lighter for body text | Use #666 minimum, #333 preferred |\n| **Ghost Text** | Placeholder same as value | Make placeholder lighter (#999) |\n| **Low-contrast Primary** | Brand color too light for white text | Darken brand color or use dark text |\n| **Subtle Links** | Links barely different from text | Add underline or increase contrast |\n| **Disabled Confusion** | Disabled buttons too prominent | Reduce to 30% opacity or use gray |\n| **Icon Fade** | Icons too light to see | Match text color or use higher contrast |\n\n## Prerequisites\n- Color palette defined\n- Typography scale defined\n\n## Dependencies\n- `build-color-palette` (gray scale needed)\n\n## Refactoring UI References\n- \"Don't use grey text on colored backgrounds\"\n- \"Ensure sufficient contrast\"\n\n## Example Assessment\n\n**Input:** Body text #888888 on white background\n\n**Evaluation:** FAIL\n- Ratio: ~3.5:1\n- Below 4.5:1 requirement\n\n**Recommendation:**\nChange to #666666 (5.9:1) minimum\nPrefer #333333 or #1A1A1A for body text\n","# Skill: Manage Color Contrast\n\n## Purpose\nEnsure text and interactive elements have sufficient contrast against their backgrounds for readability and accessibility.\n\n## Type\nEvaluative + Corrective\n\n## Input\n- Text colors and sizes\n- Background colors\n- UI element specifications\n\n## Output\n- Contrast ratio calculations\n- Pass\u002FFail against WCAG standards\n- Recommendations for fixes\n\n## Transformation Performed\nCalculates contrast ratios and ensures compliance with WCAG AA standards (4.5:1 for normal text, 3:1 for large text and UI components).\n\n## Decision Criteria\n\n### PASS (Good Contrast)\n- **Normal text (\u003C 18px)**: 4.5:1 minimum (WCAG AA)\n- **Large text (≥ 18px bold or ≥ 24px)**: 3:1 minimum\n- **UI components (buttons, inputs)**: 3:1 minimum for boundaries\n- **Focus indicators**: 3:1 minimum against adjacent colors\n\n### FAIL (Poor Contrast)\n- Light gray text on white (\u003C 4.5:1)\n- White text on light colors\n- Disabled states that look like active (too much contrast)\n- Placeholder text same as input text\n\n## Contrast Ratio Quick Reference\n\n| Text Color on White | Ratio | Pass AA? |\n|---------------------|-------|----------|\n| #000000 (black) | 21:1 | ✓ |\n| #333333 | 12.6:1 | ✓ |\n| #666666 | 5.9:1 | ✓ |\n| #757575 | 4.6:1 | ✓ (minimum) |\n| #999999 | 2.8:1 | ✗ |\n| #CCCCCC | 1.6:1 | ✗ |\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **Light Gray Text** | #999 or lighter for body text | Use #666 minimum, #333 preferred |\n| **Ghost Text** | Placeholder same as value | Make placeholder lighter (#999) |\n| **Low-contrast Primary** | Brand color too light for white text | Darken brand color or use dark text |\n| **Subtle Links** | Links barely different from text | Add underline or increase contrast |\n| **Disabled Confusion** | Disabled buttons too prominent | Reduce to 30% opacity or use gray |\n| **Icon Fade** | Icons too light to see | Match text color or use higher contrast |\n\n## Prerequisites\n- Color palette defined\n- Typography scale defined\n\n## Dependencies\n- `build-color-palette` (gray scale needed)\n\n## Refactoring UI References\n- \"Don't use grey text on colored backgrounds\"\n- \"Ensure sufficient contrast\"\n\n## Example Assessment\n\n**Input:** Body text #888888 on white background\n\n**Evaluation:** FAIL\n- Ratio: ~3.5:1\n- Below 4.5:1 requirement\n\n**Recommendation:**\nChange to #666666 (5.9:1) minimum\nPrefer #333333 or #1A1A1A for body text\n",{"name":5,"author":24,"domain":25,"version":26,"skill-type":27,"description":7,"dependencies":28,"prerequisites":30},"refactoring-ui-expert","ui-design","1.0.0","evaluative",[29],"03-build-color-palette",[],"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Frefactoring-ui-plugin\u002Fskills\u002F09-manage-color-contrast",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":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill manage-color-contrast",{"tool":45,"command":46},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill manage-color-contrast",{"tool":48,"command":49},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill manage-color-contrast","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Frefactoring-ui-plugin\u002Fskills\u002F09-manage-color-contrast\u002FSKILL.md",true,[],[54,61,66,73,80,87],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"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":62,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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",[],[]]