skills/unocss/SKILL.md
The instant on-demand atomic CSS engine
npx skillsauth add belos-street/skill-kit unocssInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
UnoCSS - The instant on-demand atomic CSS engine
pnpm install -D unocss
// uno.config.ts
import { defineConfig, presetUno, presetIcons, presetAttributify } from 'unocss'
export default defineConfig({
presets: [
presetUno(),
presetAttributify(),
presetIcons({
scale: 1.2,
cdn: 'https://esm.sh/'
}),
],
})
// main.ts
import 'virtual:uno.css'
import { createApp } from 'vue'
import App from './App.vue'
createApp(App).mount('#app')
<div class="flex items-center justify-between p-4 bg-white shadow-md rounded-lg">
<h1 class="text-2xl font-bold text-gray-800">Hello UnoCSS</h1>
</div>
<div class="flex flex-col md:flex-row gap-4">
<div class="w-full md:w-1/2">Left</div>
<div class="w-full md:w-1/2">Right</div>
</div>
<div class="bg-white dark:bg-gray-800 text-gray-900 dark:text-white">
Content
</div>
development
Modern, lightweight state management for React
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Vue 3 Composition API, script setup macros, reactivity system, and built-in components. Use when writing Vue SFCs, defineProps/defineEmits/defineModel, watchers, or using Transition/Teleport/Suspense/KeepAlive.
tools
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.