Skip to content
Kitbay
Skill

enforce-rules-for-unocss

MITUpdated on Nov 13, 202651,383GitHub stars

A rules skill in the AIRI monorepo for Vue templates, component styles, UnoCSS configuration, animations, icons and dark mode.

What the skill teaches

A rules skill in the AIRI monorepo for Vue templates, component styles, UnoCSS configuration, animations, icons and dark mode. It prefers UnoCSS to Tailwind and asks for utility classes grouped in bound arrays, one group per line, instead of long class strings or attribute-style grouping, refactoring older classes when a component is touched. Reusable styles belong in UnoCSS shortcuts and rules, existing animations are reused before new ones are written, controls are built on AIRI's own reka-ui based component package with Iconify icons instead of custom SVGs, and new shared components must be documented in the project's AI context file. A VueUse dark mode setting keeps theme transitions working.

Capabilities

  • Group UnoCSS classes readably
  • Reuse shortcuts and existing animations
  • Build controls on shared UI primitives
  • Document new shared components