[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FDJVWF297QN595MQCVDQAP":3,"skill-same:01M7FDJVWF297QN595MQCVDQAP":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},"01M7FDJVWF297QN595MQCVDQAP","group-related-elements",null,"Use proximity and spacing to show relationships","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-后端与架构\u002F10-group-related-elements\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: group-related-elements\ndescription: Use proximity and spacing to show relationships\ndomain: ui-design\nskill-type: generative\nversion: 1.0.0\nauthor: refactoring-ui-expert\nprerequisites: []\ndependencies:\n  - 04-apply-consistent-spacing\n---\n\n# Skill: Group Related Elements\n\n## Purpose\nUse proximity and spacing to visually group related elements together and separate unrelated groups.\n\n## Type\nGenerative + Evaluative\n\n## Input\n- Element inventory\n- Relationship mapping (what belongs together)\n- Current spacing between elements\n\n## Output\n- Spacing recommendations to show relationships\n- Pass\u002FFail assessment of current grouping\n\n## Transformation Performed\nAdjusts spacing so elements within a group are closer together than elements in different groups, using the Gestalt principle of proximity.\n\n## Decision Criteria\n\n### PASS (Good Grouping)\n- Related elements have small gap (8-16px)\n- Unrelated groups have larger gap (24-48px)\n- Form labels close to their inputs (4-8px)\n- Sections clearly separated\n- Hierarchy of space: tightest within component, looser between components, loosest between sections\n\n### FAIL (Poor Grouping)\n- Uniform spacing everywhere\n- Labels far from inputs\n- Related elements visually disconnected\n- Unrelated elements too close\n- Using borders instead of space to group\n\n## The Proximity Principle\n\n> Elements that are close together are perceived as more related than elements that are farther apart.\n\n### Spacing Hierarchy\n\n```\nWithin component (label + input): 4-8px\nBetween related components: 16-24px\nBetween sections: 32-64px\nBetween major page areas: 64-96px\n```\n\n## Common Grouping Patterns\n\n| Pattern | Structure | Spacing |\n|---------|-----------|---------|\n| **Form field** | Label → Input | 4-8px between, 16-24px after |\n| **Card** | Header → Content → Footer | 16-24px internal padding |\n| **List items** | Item 1 \u002F Item 2 \u002F Item 3 | 8-12px between items |\n| **Button group** | Primary + Secondary | 8-12px between |\n| **Sections** | Section A (gap) Section B | 48-64px between |\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **The Great Divide** | Equal spacing everywhere | Tighten within groups, expand between groups |\n| **Label Drift** | Labels 20px+ from inputs | Reduce to 4-8px |\n| **Section Smush** | Sections barely separated | Add 48px+ between major sections |\n| **Border Dependency** | Boxes around everything | Use space instead of borders |\n| **Card Clump** | Cards touching each other | Add 16-24px gap between cards |\n\n## Prerequisites\n- Spacing system defined\n- Content grouped logically\n\n## Dependencies\n- `apply-consistent-spacing` (uses spacing scale)\n\n## Refactoring UI References\n- \"Group related information\"\n- \"Use whitespace to create relationships\"\n- \"Proximity beats similarity\"\n\n## Example Assessment\n\n**Input:** Form with: Title (24px margin), Label (8px margin), Input, Label (8px), Input, Section header (16px margin), Label (8px), Input\n\n**Evaluation:** PARTIAL\n- Label to input spacing not specified\n- Section header too close to previous section\n- Consistent 8px but not creating hierarchy\n\n**Recommendation:**\n- Label to input: 4px (tight coupling)\n- After input group: 24px\n- Section header margin-top: 48px (clear break)\n- Within section: 16px between fields\n","# Skill: Group Related Elements\n\n## Purpose\nUse proximity and spacing to visually group related elements together and separate unrelated groups.\n\n## Type\nGenerative + Evaluative\n\n## Input\n- Element inventory\n- Relationship mapping (what belongs together)\n- Current spacing between elements\n\n## Output\n- Spacing recommendations to show relationships\n- Pass\u002FFail assessment of current grouping\n\n## Transformation Performed\nAdjusts spacing so elements within a group are closer together than elements in different groups, using the Gestalt principle of proximity.\n\n## Decision Criteria\n\n### PASS (Good Grouping)\n- Related elements have small gap (8-16px)\n- Unrelated groups have larger gap (24-48px)\n- Form labels close to their inputs (4-8px)\n- Sections clearly separated\n- Hierarchy of space: tightest within component, looser between components, loosest between sections\n\n### FAIL (Poor Grouping)\n- Uniform spacing everywhere\n- Labels far from inputs\n- Related elements visually disconnected\n- Unrelated elements too close\n- Using borders instead of space to group\n\n## The Proximity Principle\n\n> Elements that are close together are perceived as more related than elements that are farther apart.\n\n### Spacing Hierarchy\n\n```\nWithin component (label + input): 4-8px\nBetween related components: 16-24px\nBetween sections: 32-64px\nBetween major page areas: 64-96px\n```\n\n## Common Grouping Patterns\n\n| Pattern | Structure | Spacing |\n|---------|-----------|---------|\n| **Form field** | Label → Input | 4-8px between, 16-24px after |\n| **Card** | Header → Content → Footer | 16-24px internal padding |\n| **List items** | Item 1 \u002F Item 2 \u002F Item 3 | 8-12px between items |\n| **Button group** | Primary + Secondary | 8-12px between |\n| **Sections** | Section A (gap) Section B | 48-64px between |\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **The Great Divide** | Equal spacing everywhere | Tighten within groups, expand between groups |\n| **Label Drift** | Labels 20px+ from inputs | Reduce to 4-8px |\n| **Section Smush** | Sections barely separated | Add 48px+ between major sections |\n| **Border Dependency** | Boxes around everything | Use space instead of borders |\n| **Card Clump** | Cards touching each other | Add 16-24px gap between cards |\n\n## Prerequisites\n- Spacing system defined\n- Content grouped logically\n\n## Dependencies\n- `apply-consistent-spacing` (uses spacing scale)\n\n## Refactoring UI References\n- \"Group related information\"\n- \"Use whitespace to create relationships\"\n- \"Proximity beats similarity\"\n\n## Example Assessment\n\n**Input:** Form with: Title (24px margin), Label (8px margin), Input, Label (8px), Input, Section header (16px margin), Label (8px), Input\n\n**Evaluation:** PARTIAL\n- Label to input spacing not specified\n- Section header too close to previous section\n- Consistent 8px but not creating hierarchy\n\n**Recommendation:**\n- Label to input: 4px (tight coupling)\n- After input group: 24px\n- Section header margin-top: 48px (clear break)\n- Within section: 16px between fields\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],"04-apply-consistent-spacing",[],"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","07-后端与架构\u002F10-group-related-elements",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 group-related-elements",{"tool":45,"command":46},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill group-related-elements",{"tool":48,"command":49},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill group-related-elements","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002F10-group-related-elements\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",[],[]]