/mindrally-skills:sveltefrom Mindrally Skills Collection
Covers Svelte 5 runes-based reactivity, snippets, SSR/SSG, and state management with migration notes from Svelte 4. Use when writing or reviewing Svelte components, building SvelteKit routes, or migrating codebases.
Ships in Mindrally Skills Collection. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill covers Svelte and SvelteKit development with deep knowledge of SSR, SSG, and modern web patterns, including the Svelte 5 runes system and how it differs from legacy Svelte 4 reactivity.
Svelte 5 introduces runes — compiler-level primitives that make reactivity explicit, replacing Svelte 4's implicit let/$: reactivity.
$state for reactive state (replaces plain let bindings that needed reactivity)$derived for computed values (replaces $: computed = ...)$effect for side effects (replaces $: { ... } blocks)$props for component properties (replaces export let prop)$bindable for two-way bindable props (replaces implicit bind: support on exported props)$inspect during development to log reactive value changesimport { $state } from 'svelte'. Only import genuine utilities that still require it, such as tick, untrack, mount, or unmount.Svelte 4 (legacy reactivity):
<script>
let count = 0;
$: double = count * 2;
$: {
if (count > 10) alert('Too high!');
}
</script>
<button on:click={() => count++}>{count} / {double}</button>
Svelte 5 (runes):
<script>
let count = $state(0);
let double = $derived(count * 2);
$effect(() => {
if (count > 10) alert('Too high!');
});
</script>
<button onclick={() => count++}>{count} / {double}</button>
Key differences to apply when writing or reviewing components:
$state() marks reactive variables, $derived() replaces $: for computed values, $effect() replaces $: {} blocks for side effects.onclick={handler}) instead of Svelte-specific directives (on:click={handler}). There are no more event modifiers like |preventDefault; call e.preventDefault() inline instead: onclick={e => { e.preventDefault(); handler(e); }}.let { propName } = $props() instead of multiple export let propName declarations. Mark a prop bindable from the parent with $bindable().{#snippet name(params)}...{/snippet} and {@render name(args)} reduce duplication and are more composable than named slots. Existing <slot> usage still works but prefer snippets in new Svelte 5 code.When maintaining an existing Svelte 4 codebase, keep using export let, on:event, and $: reactive statements consistently within that codebase rather than mixing paradigms — full-file migrations to runes should be deliberate, not incidental.
<style> tags@apply directives$state in .svelte.js/.svelte.ts modules under Svelte 5) for shared state$state fields for reactive class propertiesWhat SKILL.md sets; muted values are Claude Code's defaults
265 skills in this plugin
/accessibility-a11yImplement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces./alpine-jsAlpine.js development guidelines for lightweight reactive interactions with Tailwind CSS and various backend frameworks./analytics-data-analysisBest practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks. Use when performing exploratory data analysis, building data pipelines, creating statistical visualizations, writing Jupyter notebooks, cleaning and transforming datasets, or implementing analytics dashboards.npx claudepluginhub mindrally/skills --plugin mindrally-skillsOther plugins' skills for the same job