From aer-skills
Design and review component styles using CSS Modules, design tokens, and CSS custom properties. Use when creating/refactoring component styles, defining theme variables, reviewing CSS architecture, applying modern CSS (logical properties, container queries), or ensuring CSS accessibility. Triggers on: margin-inline, @container, gap, flex, grid, theme, token, accessibility, prefers-reduced-motion, focus-visible.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aer-skills:architect-css Describe the component and whether this is a new style system, a refactor, or a reviewDescribe the component and whether this is a new style system, a refactor, or a reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```css
/* Good: Local tokens, logical properties, parent layout, strict accessibility */
.container {
/* Local component tokens mapped from global theme */
--c-cmp-card-bg: var(--theme-surface);
--c-cmp-card-padding: var(--spacing-4);
background-color: var(--c-cmp-card-bg);
padding-block: var(--c-cmp-card-padding);
/* Layout handled strictly by parent */
display: flex;
gap: var(--spacing-2);
}
.button {
/* Accessibility: explicit focus states and motion preferences */
&:focus-visible {
outline: 2px solid var(--theme-focus-ring);
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
transition: none;
}
}
Produce maintainable, token-driven styles that:
*.module.cssgap, grid), responsiveness (@container), or logical propertiesmargin-inline, padding-block, etc.).display: flex or display: grid with gap). Do not apply margin to elements that affect layout outside their boundary.:focus-visible for keyboard navigation states; never use outline: none without providing a highly visible alternative.@media (prefers-reduced-motion: reduce) for animations and transitions.aria-expanded, aria-hidden).--c-cmp-*, --s-cmp-*).:focus-visible states and respect prefers-reduced-motion.Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Provides Slack GIF creation utilities with dimension/FPS/color constraints and Python PIL-based frame generation. Use for animated Slack emoji or message GIFs.
npx claudepluginhub aerstudios/skills