[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FDJRV6EPEMZ4Y90EE60AX4":3,"skill-same:01M7FDJRV6EPEMZ4Y90EE60AX4":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},"01M7FDJRV6EPEMZ4Y90EE60AX4","use-shadows-appropriately",null,"Add depth only when functionally necessary (elevation, not decoration)","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-后端与架构\u002F08-use-shadows-appropriately\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: use-shadows-appropriately\ndescription: Add depth only when functionally necessary (elevation, not decoration)\ndomain: ui-design\nskill-type: corrective\nversion: 1.0.0\nauthor: refactoring-ui-expert\nprerequisites: []\ndependencies: []\n---\n\n# Skill: Use Shadows Appropriately\n\n## Purpose\nAdd depth and elevation only when functionally necessary, avoiding decorative shadows.\n\n## Key Fix Applied (from Autoresearch)\nAdded nuance: Subtle shadows on cards are acceptable (less distracting than borders). Large decorative shadows on static elements are wrong.\n\n## Type\nCorrective + Evaluative\n\n## Input\n- UI element inventory\n- Element purposes (static, interactive, overlay)\n- Current shadow specifications\n\n## Output\n- Shadow usage recommendations\n- Pass\u002FFail assessment\n\n## Transformation Performed\nRemoves decorative shadows from static elements, reserves shadows for elevation layers (modals above content, dropdowns above page).\n\n## Decision Criteria\n\n### PASS (Appropriate Shadow Usage)\n- **Small shadows on cards** (subtle, less distracting than borders) ✅\n- **Modals\u002Fdialogs**: Large shadow (elevated above all content)\n- **Dropdowns\u002Fmenus**: Medium shadow (above page, below modals)\n- **Cards**: Subtle or no shadow (flat design preferred)\n- **Hover states**: Subtle shadow increase (affordance for clickability)\n- **Static elements**: No shadow\n- Consistent shadow system (2-3 levels max)\n\n### FAIL (Inappropriate Shadow Usage)\n- **Large decorative shadows on static cards**\n- Heavy shadows on static content\n- Inconsistent shadow values\n- Decorative shadows that don't indicate elevation\n- Shadows on text or icons\n\n## Nuance (Key Insight)\nSubtle shadows (small blur, low opacity) on cards are OK. The book recommends them as alternative to borders. Large, flashy shadows on static content are wrong.\n\n## Shadow Elevation Scale\n\n| Level | Use Case | CSS Example (approximate) |\n|-------|----------|---------------------------|\n| **None** | Static content, text, icons | `none` |\n| **Subtle** | Cards (alternative to borders) | `0 2px 4px rgba(0,0,0,0.1)` |\n| **Low** | Raised cards, buttons | `0 4px 6px rgba(0,0,0,0.1)` |\n| **Medium** | Dropdowns, popovers, tooltips | `0 10px 15px rgba(0,0,0,0.1)` |\n| **High** | Modals, dialogs, drawers | `0 20px 25px rgba(0,0,0,0.15)` |\n\n## Shadow Principles\n\n1. **Shadows indicate elevation** - Higher = closer to user\n2. **Shadows indicate interactivity** - Clickable things can have shadow\n3. **Shadows separate layers** - Modal casts shadow on page behind it\n4. **Shadows should be subtle** - Good shadows are barely noticeable\n5. **Consistency matters** - Same elevation = same shadow\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **Shadow Carpet** | Every card has a shadow | Flatten static cards, subtle shadows OK |\n| **Drop Shadow Abuse** | Heavy shadows on static elements | Reserve for elevation\u002Finteraction |\n| **Inconsistent Depth** | Similar elements different shadows | Create 2-3 shadow levels, apply consistently |\n| **Black Shadows** | Pure black shadows (harsh) | Use rgba with low opacity, tinted to brand |\n| **No Modal Separation** | Modal doesn't feel above page | Increase shadow spread and blur |\n\n## Prerequisites\n- Visual hierarchy established\n- Understanding of which elements are interactive\n\n## Dependencies\n- `eliminate-visual-clutter` (shadows often add clutter)\n\n## Refactoring UI References\n- \"Use shadows to convey elevation\"\n- \"Use a box shadow instead of hard borders - subtle shadows outline effectively without visual clutter\"\n- \"Shadows should be subtle\"\n\n## Example Assessment\n\n**Input:** Page with card shadows (`0 4px 6px rgba(0,0,0,0.1)`), button shadows (`0 2px 4px`), modal shadow (`0 4px 6px`), text with text-shadow\n\n**Evaluation:** FAIL (cluttered)\n- Cards don't need shadows (static content)\n- Modal shadow same as cards (should be higher)\n- Text shadow decorative\n\n**Recommendation:**\n- Remove card shadows OR use subtle (`0 2px 4px`)\n- Remove text shadow\n- Modal: `0 20px 25px rgba(0,0,0,0.15)`\n- Buttons: Optional subtle hover shadow only\n","# Skill: Use Shadows Appropriately\n\n## Purpose\nAdd depth and elevation only when functionally necessary, avoiding decorative shadows.\n\n## Key Fix Applied (from Autoresearch)\nAdded nuance: Subtle shadows on cards are acceptable (less distracting than borders). Large decorative shadows on static elements are wrong.\n\n## Type\nCorrective + Evaluative\n\n## Input\n- UI element inventory\n- Element purposes (static, interactive, overlay)\n- Current shadow specifications\n\n## Output\n- Shadow usage recommendations\n- Pass\u002FFail assessment\n\n## Transformation Performed\nRemoves decorative shadows from static elements, reserves shadows for elevation layers (modals above content, dropdowns above page).\n\n## Decision Criteria\n\n### PASS (Appropriate Shadow Usage)\n- **Small shadows on cards** (subtle, less distracting than borders) ✅\n- **Modals\u002Fdialogs**: Large shadow (elevated above all content)\n- **Dropdowns\u002Fmenus**: Medium shadow (above page, below modals)\n- **Cards**: Subtle or no shadow (flat design preferred)\n- **Hover states**: Subtle shadow increase (affordance for clickability)\n- **Static elements**: No shadow\n- Consistent shadow system (2-3 levels max)\n\n### FAIL (Inappropriate Shadow Usage)\n- **Large decorative shadows on static cards**\n- Heavy shadows on static content\n- Inconsistent shadow values\n- Decorative shadows that don't indicate elevation\n- Shadows on text or icons\n\n## Nuance (Key Insight)\nSubtle shadows (small blur, low opacity) on cards are OK. The book recommends them as alternative to borders. Large, flashy shadows on static content are wrong.\n\n## Shadow Elevation Scale\n\n| Level | Use Case | CSS Example (approximate) |\n|-------|----------|---------------------------|\n| **None** | Static content, text, icons | `none` |\n| **Subtle** | Cards (alternative to borders) | `0 2px 4px rgba(0,0,0,0.1)` |\n| **Low** | Raised cards, buttons | `0 4px 6px rgba(0,0,0,0.1)` |\n| **Medium** | Dropdowns, popovers, tooltips | `0 10px 15px rgba(0,0,0,0.1)` |\n| **High** | Modals, dialogs, drawers | `0 20px 25px rgba(0,0,0,0.15)` |\n\n## Shadow Principles\n\n1. **Shadows indicate elevation** - Higher = closer to user\n2. **Shadows indicate interactivity** - Clickable things can have shadow\n3. **Shadows separate layers** - Modal casts shadow on page behind it\n4. **Shadows should be subtle** - Good shadows are barely noticeable\n5. **Consistency matters** - Same elevation = same shadow\n\n## Common Failure Modes\n\n| Failure | Description | Fix |\n|---------|-------------|-----|\n| **Shadow Carpet** | Every card has a shadow | Flatten static cards, subtle shadows OK |\n| **Drop Shadow Abuse** | Heavy shadows on static elements | Reserve for elevation\u002Finteraction |\n| **Inconsistent Depth** | Similar elements different shadows | Create 2-3 shadow levels, apply consistently |\n| **Black Shadows** | Pure black shadows (harsh) | Use rgba with low opacity, tinted to brand |\n| **No Modal Separation** | Modal doesn't feel above page | Increase shadow spread and blur |\n\n## Prerequisites\n- Visual hierarchy established\n- Understanding of which elements are interactive\n\n## Dependencies\n- `eliminate-visual-clutter` (shadows often add clutter)\n\n## Refactoring UI References\n- \"Use shadows to convey elevation\"\n- \"Use a box shadow instead of hard borders - subtle shadows outline effectively without visual clutter\"\n- \"Shadows should be subtle\"\n\n## Example Assessment\n\n**Input:** Page with card shadows (`0 4px 6px rgba(0,0,0,0.1)`), button shadows (`0 2px 4px`), modal shadow (`0 4px 6px`), text with text-shadow\n\n**Evaluation:** FAIL (cluttered)\n- Cards don't need shadows (static content)\n- Modal shadow same as cards (should be higher)\n- Text shadow decorative\n\n**Recommendation:**\n- Remove card shadows OR use subtle (`0 2px 4px`)\n- Remove text shadow\n- Modal: `0 20px 25px rgba(0,0,0,0.15)`\n- Buttons: Optional subtle hover shadow only\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","corrective",[],[],"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","07-后端与架构\u002F08-use-shadows-appropriately",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 use-shadows-appropriately",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill use-shadows-appropriately",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill use-shadows-appropriately","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002F08-use-shadows-appropriately\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",[],[]]