From svelte-skills
Provides Svelte patterns for web components, libraries (Bits UI, Ark UI, Melt UI), form handling, and third-party UI integrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/svelte-skills:svelte-componentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Component libraries:** Bits UI (headless) | Ark UI | Melt UI
Component libraries: Bits UI (headless) | Ark UI | Melt UI (primitives)
Form trick: Use form attribute when form can't wrap inputs:
<form id="my-form" action="/submit"><!-- outside table --></form>
<table>
<tr>
<td><input form="my-form" name="email" /></td>
<td><button form="my-form">Submit</button></td>
</tr>
</table>
// svelte.config.js
export default {
compilerOptions: {
customElement: true,
},
};
<!-- MyButton.svelte -->
<svelte:options customElement="my-button" />
<button><slot /></button>
defaultValue attribute enables easy form resetsnpx claudepluginhub spences10/svelte-skills-kit --plugin svelte-skillsBuilds token-driven Svelte 5 components with runes ($state, $props) and TypeScript. Use when creating Svelte component libraries, integrating design tokens, or building SvelteKit design system components.
Designs reusable UI components in React, Vue, Svelte using composition patterns, CSS-in-JS like Tailwind/styled-components, and API best practices for libraries and design systems.
Svelte runes-first reactivity and SvelteKit fullstack conventions. Invoke whenever task involves any interaction with Svelte code — writing, reviewing, refactoring, debugging, or understanding .svelte, .svelte.js, .svelte.ts files and SvelteKit projects.