design-expert
Use for HTML/CSS layout, responsive behavior, and UI styling on the NestMind site; follow the Zed-inspired design system in css/styles.css and reuse existing patterns.
When & Why to Use This Skill
The Design Expert Claude skill is a specialized front-end development tool designed to automate HTML/CSS layouts and UI styling. It ensures strict adherence to the Zed-inspired design system of the NestMind project by utilizing predefined design tokens, responsive breakpoints, and accessibility standards. This skill is optimized for maintaining visual consistency, implementing mobile-first designs, and ensuring high-performance web interfaces through semantic code and optimized motion.
Use Cases
- Responsive Layout Implementation: Automatically generating mobile-first HTML and CSS structures using established breakpoints (640px, 768px, 1024px) to ensure seamless display across all devices.
- Design System Adherence: Applying consistent UI styling by leveraging CSS variables and tokens from the central styles.css for colors, spacing, and typography.
- UI Component Refinement: Updating or creating web components like cards, buttons, and navigation bars while maintaining the project's specific editorial aesthetic.
- Accessibility & Performance Optimization: Enhancing web pages with semantic HTML, proper contrast ratios, and transform-based animations to meet modern web standards and SEO best practices.
- Code Maintenance & Reuse: Scanning existing stylesheets to reuse established patterns, preventing code duplication and reducing technical debt.
| name | design-expert |
|---|---|
| description | Use for HTML/CSS layout, responsive behavior, and UI styling on the NestMind site; follow the Zed-inspired design system in css/styles.css and reuse existing patterns. |
| allowed-tools | Read, Grep, Glob, Edit, Write |
Design Expert
Use this skill when adjusting HTML/CSS, layout, or visual design in this repo. Keep the current editorial, light-theme aesthetic and reuse the design system.
Project rules (must)
- Use tokens from
css/styles.css(:root) for colors, spacing, typography, and motion. - Keep typography pairing:
--font-seriffor headings,--font-sansfor body. - Default theme is light; add
.darkoverrides only when requested or already in use. - Prefer existing classes/components before creating new ones.
Responsive behavior
- Mobile-first; use existing breakpoints at 640px, 768px, and 1024px.
- Ensure tap targets are at least 44px and avoid horizontal overflow on small screens.
- Use flex/grid with wrapping; avoid fixed widths on mobile.
Motion + performance
- Animate with
transformandopacity; avoid layout thrash. - Respect
prefers-reduced-motion.
Accessibility
- Use semantic HTML and visible focus states.
- Maintain text contrast at 4.5:1 or higher.
File placement
- Global styles:
css/styles.css - Page-specific styles:
css/vision.css,css/docs.css
Reuse first
- Scan
css/styles.cssfor existing patterns like.container,.btn,.card,.hero,.nav,.feature-detail, and.phone-mockup.