| name | design-system-css |
| title | Design System CSS |
| description | Use this skill when editing styles, spacing, typography, layout, or component appearance. |
| category | design |
| applies_to | ["CSS","design tokens","layout","typography","responsive design"] |
| triggers | ["CSS","style","spacing","typography","layout","component","theme"] |
| priority | medium |
| version | 1 |
Design System CSS Skill
Use this skill when editing styles, spacing, typography, layout, or component appearance.
Priorities
- Use existing CSS custom properties and design tokens.
- Prefer semantic class names.
- Avoid one-off hard-coded values unless the project already uses that pattern.
- Keep layout rules simple.
- Preserve responsive behavior.
- Avoid adding broad global styles unless necessary.
- Do not rewrite unrelated styles.
Workflow
- Inspect existing tokens and component styles.
- Reuse spacing, typography, color, and layout variables where possible.
- Make the smallest targeted style change.
- Check light and dark modes.
- Check mobile and desktop behavior.
Verification
- Confirm styles do not break adjacent components.
- Confirm focus, hover, and active states remain visible.
- Confirm spacing changes are intentional and token-based.