Pular para o conteúdo
Kitbay
Skill

enforce-rules-for-unocss

MITAtualizado em 13 de nov. de 202651.383Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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