[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FEKWJCPM6943E444Y2GNZ4":3,"skill-same:01M6FEKWJCPM6943E444Y2GNZ4":48},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6FEKWJCPM6943E444Y2GNZ4","ui-design",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fpproenca\u002Fdot-skills\u002Fui-design\u002FSKILL.md",[],[18,19,20],"design","ui","ui design","2026-11-10 10:12:30",false,"# UI\u002FUX Best Practices Frontend Design\n\nComprehensive UI\u002FUX and frontend design best practices guide. Contains 42 rules across 8 categories, prioritized by impact to guide accessible, performant, and user-friendly interface development.\n\n## When to Apply\n\nReference these guidelines when:\n- Structuring HTML for accessibility and semantics\n- Writing CSS for responsive layouts and visual hierarchy\n- Optimizing images and fonts for Core Web Vitals\n- Designing forms with proper validation and error handling\n- Adding animations and interactive elements\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Accessibility & WCAG Compliance | CRITICAL | `access-` |\n| 2 | Core Web Vitals Optimization | CRITICAL | `cwv-` |\n| 3 | Visual Hierarchy & Layout | HIGH | `layout-` |\n| 4 | Responsive & Mobile-First Design | HIGH | `resp-` |\n| 5 | Typography & Font Loading | MEDIUM-HIGH | `typo-` |\n| 6 | Color & Contrast | MEDIUM | `color-` |\n| 7 | Forms & Validation UX | MEDIUM | `form-` |\n| 8 | Animation & Performance | LOW-MEDIUM | `anim-` |\n\n## Quick Reference\n\n### 1. Accessibility & WCAG Compliance (CRITICAL)\n\n- `access-semantic-html` - Use semantic HTML elements for screen readers\n- `access-keyboard-navigation` - Ensure full keyboard navigation\n- `access-focus-indicators` - Provide visible focus indicators\n- `access-alt-text` - Provide meaningful alt text for images\n- `access-aria-labels` - Use ARIA labels for icon-only controls\n- `access-target-size` - Ensure minimum touch target size (24×24px)\n- `access-heading-hierarchy` - Maintain logical heading hierarchy\n\n### 2. Core Web Vitals Optimization (CRITICAL)\n\n- `cwv-optimize-lcp` - Optimize Largest Contentful Paint under 2.5s\n- `cwv-minimize-cls` - Minimize Cumulative Layout Shift under 0.1\n- `cwv-improve-inp` - Improve Interaction to Next Paint under 200ms\n- `cwv-responsive-images` - Serve responsive images with srcset\n- `cwv-lazy-load-offscreen` - Lazy load offscreen images and iframes\n- `cwv-critical-css` - Inline critical CSS and defer the rest\n\n### 3. Visual Hierarchy & Layout (HIGH)\n\n- `layout-visual-hierarchy` - Establish clear visual hierarchy\n- `layout-whitespace` - Use whitespace to improve readability\n- `layout-f-pattern` - Design for F-pattern reading behavior\n- `layout-grid-system` - Use a consistent grid system\n- `layout-single-cta` - Limit to one primary CTA per screen\n- `layout-proximity-grouping` - Group related elements with proximity\n\n### 4. Responsive & Mobile-First Design (HIGH)\n\n- `resp-mobile-first` - Design mobile-first with min-width queries\n- `resp-fluid-typography` - Use fluid typography with clamp()\n- `resp-container-queries` - Use container queries for components\n- `resp-touch-targets` - Size touch targets for mobile (44×44px)\n- `resp-viewport-meta` - Configure viewport meta tag correctly\n\n### 5. Typography & Font Loading (MEDIUM-HIGH)\n\n- `typo-font-display` - Use font-display to control loading behavior\n- `typo-preload-fonts` - Preload critical web fonts\n- `typo-readable-line-length` - Constrain line length (45-75ch)\n- `typo-line-height` - Set appropriate line height (1.5-1.7)\n- `typo-system-font-stack` - Use system font stack for UI elements\n\n### 6. Color & Contrast (MEDIUM)\n\n- `color-contrast-ratio` - Meet WCAG contrast ratio requirements (4.5:1)\n- `color-not-only-indicator` - Never use color alone to convey information\n- `color-dark-mode` - Support dark mode with prefers-color-scheme\n- `color-semantic-palette` - Use semantic color names in design tokens\n\n### 7. Forms & Validation UX (MEDIUM)\n\n- `form-inline-validation` - Use inline validation after field blur\n- `form-error-messages` - Write actionable error messages\n- `form-labels-above` - Place labels above input fields\n- `form-input-types` - Use correct HTML input types for mobile\n- `form-autocomplete` - Enable browser autocomplete with correct attributes\n\n### 8. Animation & Performance (LOW-MEDIUM)\n\n- `anim-gpu-properties` - Animate only GPU-accelerated properties\n- `anim-will-change` - Use will-change sparingly for animation hints\n- `anim-reduced-motion` - Respect user motion preferences\n- `anim-duration-easing` - Use appropriate animation duration and easing\n\n## How to Use\n\nRead individual reference files for detailed explanations and code examples:\n\n- [Section definitions](references\u002F_sections.md) - Category structure and impact levels\n- [Rule template](assets\u002Ftemplates\u002F_template.md) - Template for adding new rules\n- Example: [access-semantic-html](references\u002Faccess-semantic-html.md)\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: [AGENTS.md](AGENTS.md)\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fpproenca\u002Fdot-skills\u002Fui-design",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill ui-design",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill ui-design",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill ui-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fpproenca\u002Fdot-skills\u002Fui-design\u002FSKILL.md",true,[],[49,58,67,76,82,88],{"skillNo":50,"name":51,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[55,56,57],"model","model hierarchy","model hierarchy skill",{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[64,65,66],"MCP","zoom","zoom mcp",{"skillNo":68,"name":69,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[73,74,75,65],"sdk","zoom apps sdk","apps",{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[78],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[90]]