[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBTYMQQA70345Z3Z6YYXQF":3,"skill-same:01M7FBTYMQQA70345Z3Z6YYXQF":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},"01M7FBTYMQQA70345Z3Z6YYXQF","design-button-hierarchy",null,"Create clear primary\u002Fsecondary\u002Ftertiary action distinctions","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\u002F05-design-button-hierarchy\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: design-button-hierarchy\ndescription: Create clear primary\u002Fsecondary\u002Ftertiary action distinctions\ndomain: ui-design\nskill-type: generative\nversion: 1.0.0\nauthor: refactoring-ui-expert\nprerequisites: []\ndependencies:\n  - 03-build-color-palette\n---\n\n# Skill: Design Button Hierarchy\n\n## Purpose\nCreate clear distinctions between primary, secondary, and tertiary actions so users know which action to take.\n\n## Type\nGenerative + Evaluative\n\n## Input\n- List of actions\u002Fbuttons needed\n- Relative importance of each action (primary, secondary, tertiary)\n- Context (form, modal, page, toolbar)\n\n## Output\n- Button style specifications for each level\n- Pass\u002FFail assessment of existing button hierarchy\n\n## Transformation Performed\nMaps action importance to visual treatment: primary = filled brand color, secondary = outline or subtle (including grey solid), tertiary = text-only or link style.\n\n## Decision Criteria\n\n### PASS (Good Button Hierarchy)\n- **One clear primary action** per screen\u002Fsection (filled, high contrast, brand color)\n- **Secondary actions** visually subordinate (outlined, ghost, or lower contrast solid including grey)\n- **Tertiary actions** minimal (text link or subtle)\n- Clear visual distinction between levels (not subtle 10% differences)\n- Destructive actions (delete) use red but don't compete with primary\n\n### FAIL (Poor Button Hierarchy)\n- Multiple buttons with equal visual weight\n- Primary action not obvious\n- Very light grey (200) secondary looks disabled\n- Destructive actions draw more attention than primary\n- All buttons filled with same color\n\n## Button Style Patterns\n\n| Level | Background | Border | Text | Use Case |\n|-------|------------|--------|------|----------|\n| **Primary** | Brand color (solid) | None | White\u002Flight | Main CTA, save, submit |\n| **Secondary** | Grey (solid) or transparent | Brand color (if outline) | Brand color or grey | Alternative action, cancel |\n| **Tertiary** | Transparent | None | Brand color or gray | Optional actions, learn more |\n| **Destructive** | Red | None | White | Delete, remove (not competing) |\n| **Disabled** | Gray 200 | None | Gray 400 | Cannot proceed |\n\n## Visual\u002FUX Signals Used\n1. **Fill vs outline**: Filled = primary, outline = secondary\n2. **Color saturation**: More saturated = more important\n3. **Size**: Primary can be slightly larger\n4. **Position**: Primary often on right or bottom (reading pattern)\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **Button Battle** | Save and Cancel both filled brand | Make Cancel outline or grey solid |\n| **Gray Button Confusion** | Very light grey (200) secondary looks disabled | Use grey 400-500 or outline, not near-white grey |\n| **Red Alert** | Delete button more prominent than primary | Make delete text-only or smaller |\n| **Primary Overload** | 3+ \"primary\" buttons | Choose one primary, demote others |\n| **Invisible Tertiary** | Text links same color as body | Use brand color or underline |\n\n## Prerequisites\n- Visual hierarchy established\n- Color palette defined\n\n## Dependencies\n- `build-color-palette` (needs brand and semantic colors)\n- `establish-visual-hierarchy` (buttons are part of hierarchy)\n\n## Refactoring UI References\n- \"Make primary actions obvious\"\n- \"Destructive actions shouldn't dominate\"\n- \"Secondary actions should be clear but not prominent - outline styles or lower contrast background colors are great options\"\n\n## Example Assessment\n\n**Input:** Modal with \"Save Changes\" (filled blue), \"Cancel\" (filled grey), \"Delete\" (filled red)\n\n**Evaluation:** PARTIAL\n- Cancel: Grey filled is acceptable secondary treatment (lower contrast solid)\n- Delete: Filled red competes with Save (should be text red)\n- Issue: Two actions with solid fills competing\n\n**Recommendation:**\n- Save: Keep filled blue (primary)\n- Cancel: Grey filled is acceptable, but could be outline for clearer distinction\n- Delete: Change to text red (destructive shouldn't compete)\n","# Skill: Design Button Hierarchy\n\n## Purpose\nCreate clear distinctions between primary, secondary, and tertiary actions so users know which action to take.\n\n## Type\nGenerative + Evaluative\n\n## Input\n- List of actions\u002Fbuttons needed\n- Relative importance of each action (primary, secondary, tertiary)\n- Context (form, modal, page, toolbar)\n\n## Output\n- Button style specifications for each level\n- Pass\u002FFail assessment of existing button hierarchy\n\n## Transformation Performed\nMaps action importance to visual treatment: primary = filled brand color, secondary = outline or subtle (including grey solid), tertiary = text-only or link style.\n\n## Decision Criteria\n\n### PASS (Good Button Hierarchy)\n- **One clear primary action** per screen\u002Fsection (filled, high contrast, brand color)\n- **Secondary actions** visually subordinate (outlined, ghost, or lower contrast solid including grey)\n- **Tertiary actions** minimal (text link or subtle)\n- Clear visual distinction between levels (not subtle 10% differences)\n- Destructive actions (delete) use red but don't compete with primary\n\n### FAIL (Poor Button Hierarchy)\n- Multiple buttons with equal visual weight\n- Primary action not obvious\n- Very light grey (200) secondary looks disabled\n- Destructive actions draw more attention than primary\n- All buttons filled with same color\n\n## Button Style Patterns\n\n| Level | Background | Border | Text | Use Case |\n|-------|------------|--------|------|----------|\n| **Primary** | Brand color (solid) | None | White\u002Flight | Main CTA, save, submit |\n| **Secondary** | Grey (solid) or transparent | Brand color (if outline) | Brand color or grey | Alternative action, cancel |\n| **Tertiary** | Transparent | None | Brand color or gray | Optional actions, learn more |\n| **Destructive** | Red | None | White | Delete, remove (not competing) |\n| **Disabled** | Gray 200 | None | Gray 400 | Cannot proceed |\n\n## Visual\u002FUX Signals Used\n1. **Fill vs outline**: Filled = primary, outline = secondary\n2. **Color saturation**: More saturated = more important\n3. **Size**: Primary can be slightly larger\n4. **Position**: Primary often on right or bottom (reading pattern)\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **Button Battle** | Save and Cancel both filled brand | Make Cancel outline or grey solid |\n| **Gray Button Confusion** | Very light grey (200) secondary looks disabled | Use grey 400-500 or outline, not near-white grey |\n| **Red Alert** | Delete button more prominent than primary | Make delete text-only or smaller |\n| **Primary Overload** | 3+ \"primary\" buttons | Choose one primary, demote others |\n| **Invisible Tertiary** | Text links same color as body | Use brand color or underline |\n\n## Prerequisites\n- Visual hierarchy established\n- Color palette defined\n\n## Dependencies\n- `build-color-palette` (needs brand and semantic colors)\n- `establish-visual-hierarchy` (buttons are part of hierarchy)\n\n## Refactoring UI References\n- \"Make primary actions obvious\"\n- \"Destructive actions shouldn't dominate\"\n- \"Secondary actions should be clear but not prominent - outline styles or lower contrast background colors are great options\"\n\n## Example Assessment\n\n**Input:** Modal with \"Save Changes\" (filled blue), \"Cancel\" (filled grey), \"Delete\" (filled red)\n\n**Evaluation:** PARTIAL\n- Cancel: Grey filled is acceptable secondary treatment (lower contrast solid)\n- Delete: Filled red competes with Save (should be text red)\n- Issue: Two actions with solid fills competing\n\n**Recommendation:**\n- Save: Keep filled blue (primary)\n- Cancel: Grey filled is acceptable, but could be outline for clearer distinction\n- Delete: Change to text red (destructive shouldn't compete)\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","generative",[29],"03-build-color-palette",[],"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Frefactoring-ui-plugin\u002Fskills\u002F05-design-button-hierarchy",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 design-button-hierarchy",{"tool":45,"command":46},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill design-button-hierarchy",{"tool":48,"command":49},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill design-button-hierarchy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Frefactoring-ui-plugin\u002Fskills\u002F05-design-button-hierarchy\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",[],[]]