A UI design system for Svelte 5 utilizing Tailwind and Bits UI components.
Install
mkdir -p .claude/skills/svelte-ui-design && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/121" && unzip -o skill.zip -d .claude/skills/svelte-ui-design && rm skill.zipInstalls to .claude/skills/svelte-ui-design
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
ALWAYS use this skill for ANY Svelte component styling, design, or UI work. Svelte 5 UI design system using Tailwind CSS 4, Skeleton Labs design tokens/presets/Tailwind Components, and Bits UI headless components. Covers class composition, color systems, interactive components, forms, overlays, and all visual design.Key capabilities
- →Apply Skeleton Labs design tokens
- →Configure Tailwind CSS 4 utility classes
- →Implement accessible Bits UI headless components
- →Manage dark mode and theme states
- →Sync component props with design presets
How it works
Orchestrates component composition by merging Skeleton theme tokens with Bits UI headless logic via a restricted reference map.
Inputs & outputs
When to use svelte-ui-design
- →Create a responsive navigation bar using Bits UI
- →Style a button component with Skeleton Labs presets
- →Implement a themed dialog overlay
- →Apply Tailwind utility classes to a Svelte component
About this skill
Svelte UI Design System
Svelte 5 + Tailwind CSS 4 + Skeleton Labs + Bits UI 통합 디자인 시스템
When to Use This Skill
자동 활성화:
- ANY Svelte component creation or modification
- ALL styling, design, and UI work in Svelte projects
- Component props, layouts, colors, spacing, typography
- Forms, buttons, cards, chips, badges, tables, dialogs, overlays
- Animations, transitions, hover effects, responsive design
- Dark mode, themes, conditional styling, dynamic values
Core Principles
- 컴포넌트: Bits UI headless 컴포넌트만 사용
- 스타일링:
- Skeleton Labs 토큰/프리셋 (preset-filled, preset-tonal 등)
- Skeleton Labs Tailwind Components (card, chip, badge, placeholder 등 - 클래스 조합)
- Tailwind CSS 유틸리티
- Skeleton 색상/프리셋: 반드시 공식 문서 참고, 직접 shade 조합 만들지 말 것
- Progressive disclosure: 필요한 문서만 참조
- 1-level deep 참조: SKILL.md → reference 파일만
Available References
Get Started
- introduction.md - Skeleton 개요
- installation.md - 프레임워크별 설치
- fundamentals.md - 핵심 개념
- core-api.md - @base, @theme, @utility, @variant
Design System
- colors-design.md - 색상 팔레트 및 Color Pairings (필수 참고)
- presets-design.md - 프리셋 시스템 (필수 참고)
- themes.md - 테마 시스템
- typography-design.md - 타이포그래피
- spacing-design.md - 간격 시스템
- iconography.md - 아이콘
Tailwind CSS 4
- tailwind-utilities.md - Tailwind CSS 4 유틸리티
- tailwind-colors.md - OKLCH 색상
- tailwind-theme.md - CSS @theme 설정
- tailwind-variants.md - 상태 variant
Svelte 5
- svelte-class-syntax.md - 클래스 조합
Tailwind Components (Skeleton Labs 클래스 조합)
클래스로 디자인을 뭉쳐놓은 기본 요소. card, chip, badge, placeholder 등.
Bits UI - Headless Components
- bits-ui-complete.md - Bits UI 42개 headless 컴포넌트 완전 문서
Guides
- dark-mode.md - 다크 모드
- layouts.md - 레이아웃
- cookbook.md - 레시피
Migration
- migrate-v2-to-v3.md - v2 → v3
- migrate-v3-to-v4.md - v3 → v4
Bits UI - Headless Components (42개)
완전히 커스터마이징 가능한 unstyled 컴포넌트. Skeleton Labs 토큰/프리셋으로 스타일링.
주요 카테고리:
- Layout: Accordion, Collapsible, Tabs, Separator
- Overlays: Dialog, Popover, Tooltip, Context Menu, Drawer
- Forms: Checkbox, Radio Group, Switch, Slider, Select, Combobox
- Date/Time: Calendar, Date Picker, Date Range Picker, Time Field
- Navigation: Dropdown Menu, Menubar, Navigation Menu, Pagination
- Display: Avatar, Progress, Meter, Badge
- Interactive: Button, Toggle, Link Preview
Quick Reference
Skeleton Labs 중요 규칙
Color Pairings (반드시 colors-design.md 참고):
- 패턴:
{property}-{color}-{lightShade}-{darkShade} - 허용 조합: 50-950, 100-900, 200-800, 300-700, 400-600, 500, 600-400, 700-300, 800-200, 900-100, 950-50
- 규칙: 두 shade의 합이 1000 또는 500 단독
- 예:
bg-surface-50-950,text-primary-200-800
Presets (반드시 presets-design.md 참고):
- Filled:
preset-filled-{color}-{lightShade}-{darkShade}또는preset-filled-{color}-500 - Tonal:
preset-tonal-{color} - Outlined:
preset-outlined-{color}-{lightShade}-{darkShade}
Svelte 5 Class Composition
<!-- Array form -->
<div class={['base', condition && 'extra']}>
<!-- Object form -->
<div class={{ 'active': isActive, 'disabled': !enabled }}>
<!-- Style directive for dynamic values -->
<div
class="bg-(--brand-color)"
style:--brand-color={dynamicValue}>
Usage Pattern
<script lang="ts">
import { Dialog } from "bits-ui";
</script>
<Dialog.Root>
<Dialog.Trigger class="btn preset-filled-primary-500">
Open
</Dialog.Trigger>
<Dialog.Content class={[
'card preset-filled-surface-50-950',
'p-8 rounded-xl shadow-xl'
]}>
<Dialog.Title class="h3 text-primary-600-400">
Title
</Dialog.Title>
</Dialog.Content>
</Dialog.Root>
Best Practices
- 컴포넌트: Bits UI headless 컴포넌트만 사용
- 스타일링: Skeleton Labs 토큰/프리셋 + Tailwind Components (card, chip, badge 등) + Tailwind 유틸리티
- Skeleton 색상/프리셋: 반드시 공식 문서(colors-design.md, presets-design.md)에서 확인
- Class 조합 순서: Tailwind Components → 프리셋 → 레이아웃 → 간격 → 조건부 → variant
- 접근성: WCAG 대비 비율, focus-visible 상태
- 성능: Svelte class 배열/객체 사용, Skeleton 프리셋 활용
- 일관성: 동일한 용어 사용, 3인칭 작성
When not to use it
- →Non-Svelte projects
- →Plain HTML/CSS static pages without build tools
- →Legacy Svelte 3/4 applications without migration path
Prerequisites
Limitations
- →Restricted to specific Skeleton Labs design tokens
- →Requires adherence to the 1-level deep documentation pattern
How it compares
It enforces strict design system compliance and headless component usage instead of generating arbitrary CSS-in-JS.
Compared to similar skills
svelte-ui-design side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| svelte-ui-design (this skill) | 23 | 9mo | No flags | Intermediate |
| web-artifacts-builder | 49 | 3mo | Review | Intermediate |
| skeleton-svelte | 15 | 9mo | No flags | Beginner |
| frontend-ui-dark-ts | 4 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by XIYO
View all by XIYO →You might also like
web-artifacts-builder
anthropics
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
skeleton-svelte
martinemde
Use this skill when working with Skeleton UI components in Svelte projects. It provides guidelines for Skeleton's component composition pattern, theme-aware color system, design presets, and layout patterns. Trigger when building UI components, styling elements, creating layouts, or working with Skeleton-specific features in Svelte 5 and SvelteKit 2+ projects.
frontend-ui-dark-ts
microsoft
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
shadcn-vue-admin
Whbbit1999
Build and maintain the shadcn-vue-admin Vue 3 + Vite + TypeScript admin dashboard with shadcn-vue, Tailwind, Pinia, Vue Router, i18n, and TanStack Query. Use for UI/layout changes, page additions, routing updates, theme/auth work, and component integration in this repo.
designer-skills
llama-farm
Designer subsystem patterns for LlamaFarm. Covers React 18, TanStack Query, TailwindCSS, and Radix UI.
page-builder
svelte-society
Patterns for building list and detail pages with forms, filters, and data fetching