Agent skill

Enforce Rules For Unocss

by moeru-ai in moeru-ai/airi

Enforce AIRI's UnoCSS, Vue styling, shared UI component, animation, icon, and color-mode practices.

MITAuto-check passedDevelopment

Install Enforce Rules For Unocss

skills CLI
$ npx skills add moeru-ai/airi --skill enforce-rules-for-unocss -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install moeru-ai/airi enforce-rules-for-unocss --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/moeru-ai/airi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/enforce-rules-for-unocss .claude/skills/enforce-rules-for-unocss && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
enforce-rules-for-unocss
GitHub stars
50k
Token cost
~525 tokens
SKILL.md length
204 words
Files
2
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Enforce AIRI's UnoCSS, Vue styling, shared UI component, animation, icon, and color-mode practices.

  • Reviewing Vue templates
  • SKILL.md covers Compose Utility Classes Readably, Reuse Project Styling…, Build on Shared UI Primitives and Preserve Theme Behavior
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Component styles

What it does

Enforce Rules For Unocss is an agent skill from moeru-ai/airi. Enforce AIRI's UnoCSS, Vue styling, shared UI component, animation, icon, and color-mode practices. Use when creating, editing, refactoring, or reviewing Vue templates, component styles, utility classes, UnoCSS configuration, animations, icons, UI primitives, packages/ui components, or VueUse dark-mode behavior in the AIRI monorepo.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Theming and dark mode, Monorepo tooling and Refactoring. It works with Vue.js. The repository describes itself as: 💖🧸 Self hosted, you-owned Grok Companion, a container of souls of waifu, cyber livings to bring them into our worlds, wishing to achieve Neuro-sama's altitude. Capable of… The licence is MIT.

When your agent uses it

  • Reviewing Vue templates
  • Component styles
  • Utility classes
  • UnoCSS configuration

Example prompts

  • “/enforce-rules-for-unocss”

What it can do on your machine

Read from SKILL.md and the folder at commit ec682e2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are vue).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Enforce Rules For Unocss loads about 525 tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 204 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~525

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from moeru-ai/airi at commit ec682e2, republished under its MIT licence (© moeru-ai). 204 words, ~525 tokens.

Download SKILL.mdSave it as .claude/skills/enforce-rules-for-unocss/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
enforce-rules-for-unocss
description
Enforce AIRI's UnoCSS, Vue styling, shared UI component, animation, icon, and color-mode practices. Use when creating, editing, refactoring, or reviewing Vue templates, component styles, utility classes, UnoCSS configuration, animations, icons, UI primitives, packages/ui components, or VueUse dark-mode behavior in the AIRI monorepo.

Enforce AIRI UnoCSS Rules

Apply these rules to every affected UI file in AIRI.

Compose Utility Classes Readably

  • Prefer UnoCSS over Tailwind CSS.

  • In Vue templates, bind grouped class arrays for readability:

    vue
    :class="[
      'px-2 py-1',
      'flex items-center',
      'bg-white/50 dark:bg-black/50',
    ]"
  • Do not use long inline class strings such as class="px-2 py-1 flex items-center bg-white/50 dark:bg-black/50".

  • Do not use attributify-style groups such as px="2" py="1" flex="~ items-center" bg="white/50 dark:black/50".

  • If a component that you change has legacy utility classes, refactor those classes into readable grouped arrays in the same change.

Reuse Project Styling Infrastructure

  • Use or extend shortcuts and rules in uno.config.ts when styles should be standardized or reused.
  • Search apps/stage-web/src/styles for existing animations before adding one. Reuse or extend an existing animation when it fits.
  • Consult apps/stage-web/tsconfig.json and uno.config.ts when configuration context is needed.
  • Keep animations intuitive, lively, and readable.

Build on Shared UI Primitives

  • Build primitives on @proj-airi/ui, which is based on reka-ui, instead of raw DOM controls.
  • Read docs/ai/context/ui-components.md for the component API and packages/ui/src/components/Form for implementation patterns.
  • When adding or updating a component in packages/ui, update docs/ai/context/ui-components.md with its description, props, slots, and emits.
  • Use Iconify icon sets instead of bespoke SVGs.

Preserve Theme Behavior

  • When using VueUse useDark, set disableTransition: false or use an existing composable from packages/ui.

© moeru-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/enforce-rules-for-unocss of moeru-ai/airi.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit ec682e2

Compare with similar skills

Enforce Rules For Unocss next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Enforce Rules For Unocss compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Enforce Rules For Unocss this skillmoeru-ai/airi50k—~525Automated safety check: PassMIT
Winui AppLanceMcCarthy/DevOpsExamples1721 repos~2.8kAutomated safety check: PassApache-2.0
Create Docsvictorgarciaesgi/nuxt-typed-router4132 repos~2.8kAutomated safety check: PassMIT
Vue TuiSimon-He95/vue-tui260—~1.2kAutomated safety check: PassMIT
Any Tdf Developmentany-tdf/any-tdf778—~1.1kAutomated safety check: PassMIT
Frontend UI Foundryjiushiwon/wg-skills114—~1.4kAutomated safety check: PassApache-2.0

Similar skills

  • Winui App

    LanceMcCarthy/DevOpsExamples

    Bootstrap, develop, and design modern WinUI 3 desktop applications with C and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and…

    172 GitHub starsUsed in 1 repo~2.8k tokens
    DevOps & CloudAuto-check passed
  • Create Docs

    victorgarciaesgi/nuxt-typed-router

    Create complete documentation sites for projects. An agent skill from victorgarciaesgi/nuxt-typed-router.

    413 GitHub starsUsed in 2 repos~2.8k tokens
    Frontend & DesignAuto-check passed
  • Vue Tui

    Simon-He95/vue-tui

    Terminal Vue UI development and review for @simonhe/vue-tui.

    260 GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Any Tdf Development

    any-tdf/any-tdf

    Guide implementation, fixes, reviews, documentation, generation, and validation in the Any TDF monorepo across the shared core, STDF/Svelte, RTDF/React, VTDF/Vue, demos, sites, tooling, AI skill…

    778 GitHub stars~1.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    114 GitHub stars~1.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Saleor App UI

    saleor/apps

    Styling and layout guide for Saleor Apps using modern macaw-ui and @saleor/apps-ui-next.

    162 GitHub stars~5.8k tokensUpdated 3 days ago
    DevelopmentAuto-check passed

More from moeru-ai/airi

All 24 skills in this repo
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    Auto-check passed
  • Review pending AIRI translations on Crowdin in a batch, then sync them into the repository.

    50k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Upload a local image or file to GitHub's user-attachments storage and return a URL suitable for issue, pull request, discussion, or comment Markdown.

    50k GitHub stars~554 tokensUpdated today
    Auto-check passed
  • Create PR

    moeru-ai/airi

    Prepare and create an AIRI pull request with verifiable change context, architecture evidence, and required visual evidence.

    50k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts.

    50k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • A skill your agent uses when Codex needs to inspect, debug, or automate an Electron app through agent-browser and Chrome DevTools Protocol, especially when the app has multiple BrowserWindow…

    50k GitHub stars~3.1k tokensUpdated today
    Auto-check passed

Works with

Questions about Enforce Rules For Unocss

What does Enforce Rules For Unocss do?

Enforce AIRI's UnoCSS, Vue styling, shared UI component, animation, icon, and color-mode practices. Enforce Rules For Unocss is an agent skill from moeru-ai/airi. Enforce AIRI's UnoCSS, Vue styling, shared UI component, animation, icon, and color-mode practices.

When should I use Enforce Rules For Unocss?

Enforce Rules For Unocss fits situations like: reviewing Vue templates; component styles; utility classes; unoCSS configuration.

How do I install Enforce Rules For Unocss in Claude Code?

Run `npx skills add moeru-ai/airi --skill enforce-rules-for-unocss -a claude-code`. Or copy the skill folder (.agents/skills/enforce-rules-for-unocss in moeru-ai/airi) into .claude/skills/enforce-rules-for-unocss in your project. Claude Code loads it when a task matches its description.

How do I install Enforce Rules For Unocss in Codex?

Run `npx skills add moeru-ai/airi --skill enforce-rules-for-unocss -a codex`. Or copy the skill folder (.agents/skills/enforce-rules-for-unocss in moeru-ai/airi) into .agents/skills/enforce-rules-for-unocss in your project. Codex loads it when a task matches its description.

Can I use Enforce Rules For Unocss in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add moeru-ai/airi --skill enforce-rules-for-unocss -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/enforce-rules-for-unocss, .gemini/skills/enforce-rules-for-unocss, .github/skills/enforce-rules-for-unocss and .opencode/skills/enforce-rules-for-unocss in your project.

What does Enforce Rules For Unocss need to run?

SKILL.md names no scripts, command-line tools or credentials: Enforce Rules For Unocss is instructions for the agent only.

Does Enforce Rules For Unocss access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Enforce Rules For Unocss safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Enforce Rules For Unocss use?

Enforce Rules For Unocss is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Enforce Rules For Unocss use?

About 525 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Enforce Rules For Unocss?

Skills that share tags, products or a category with Enforce Rules For Unocss: Winui App (LanceMcCarthy/DevOpsExamples, 172 stars), Create Docs (victorgarciaesgi/nuxt-typed-router, 413 stars), Vue Tui (Simon-He95/vue-tui, 260 stars) and Any Tdf Development (any-tdf/any-tdf, 778 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Enforce Rules For Unocss?

moeru-ai (a GitHub organization) maintains it in moeru-ai/airi, which has 50,267 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 11, 2026.

Source: moeru-ai/airi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.