Manage UI components using MCP tools with primary focus on Svelte ecosystem. Specialized in Svelte component libraries including shadcn-svelte, Skeleton UI, and Melt UI...
Specialized in Svelte component libraries and their management:
Verify project setup:
# Check if SvelteKit project
ls src/routes/ src/lib/
If using shadcn-svelte:
npx shadcn-svelte@latest init
If using Skeleton UI:
npm install @skeletonlabs/skeleton
For simple component additions (e.g., "add a date picker"):
npx shadcn-svelte@latest add button
npx shadcn-svelte@latest add card
npx shadcn-svelte@latest add dialog
npm install @skeletonlabs/skeleton
# Import in app.css: @import '@skeletonlabs/skeleton/theme';
Create custom component with Tailwind CSS:
<!-- src/lib/components/DatePicker.svelte -->
<script lang="ts">
import { createEventDispatcher } from 'svelte';
export let value: Date = new Date();
export let placeholder = 'Select date';
const dispatch = createEventDispatcher();
</script>
<input
type="date"
bind:value
{placeholder}
on:change={(e) => dispatch('change', { value: e.target.value })}
class="w-full px-3 py-2 border rounded-lg focus:ring-2 focus:ring-blue-500"
/>
For multi-component features (e.g., "build a login form"), see references/workflows.md.
When to use Complex Build:
Svelte-specific considerations:
form, input, select, checkbox, radio-group, textareacard, dialog, sheet, drawer, tabs, containeralert, toast, skeleton, progress, spinnerbutton, dropdown-menu, navigation-menu, breadcrumbtable, badge, avatar, accordion, carousel# shadcn-svelte
npx shadcn-svelte@latest add button card form
# Skeleton UI
npm install @skeletonlabs/skeleton
# Add to app.css: @import '@skeletonlabs/skeleton/theme';
# Melt UI
npm install @melt-ui/svelte
Always run audit:
shadcn___get_audit_checklist
Shadcn provides structural foundation with default styling. For custom aesthetics:
1. shadcn-svelte
npx shadcn-svelte@latest init
npx shadcn-svelte@latest add [component-name]
src/lib/components/ui/src/app.csscomponents.json2. Skeleton UI
npm install @skeletonlabs/skeleton
src/app.css → @import '@skeletonlabs/skeleton/theme';@skeletonlabs/skeletonsrc/app.css3. Melt UI
npm install @melt-ui/svelte
4. Custom Components
For shadcn-svelte:
src/app.cssclass: directivesFor Skeleton UI:
For Custom Components:
Invoke frontend-design skill when:
Workflow for Svelte projects:
shadcn-svelte-management patterns adapted for Sveltefrontend-design for visual customization:src/app.csstailwind.config.jsCustomization targets:
src/app.css - CSS variables, custom fonts, theme importstailwind.config.js - theme colors, fonts, animationssrc/lib/components/ui/ - component-level overridesclass: directives for dynamic styling