Svelte5 Runes Static
Svelte 5 runes patterns for adapter-static prerendering that keep global state hydration-safe.
- CCM score
- 51 of 100
- skills.sh installs
- 390
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers store-to-rune bridging, derived computations, and SSG/SSR guards for SvelteKit static builds
- Includes anti-pattern examples for frozen module-scope runes,
$auto-subscription inside$derived, and getter-based store factories - Enforces writable/derived stores for global state and
$stateplus$effectsubscriptions for component-local reactivity - Designed for SvelteKit projects using
adapter-staticthat encounter hydration mismatches or stale reactive state
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill svelte5-runes-static -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Svelte 5 Runes with adapter-static (SvelteKit)
Overview
Build static-first SvelteKit applications with Svelte 5 runes without breaking hydration. Apply these patterns when using adapter-static (prerendering) and combining global stores with component-local runes.
Related Skills
svelte(Svelte 5 runes core patterns)sveltekit(adapters, deployment, SSR/SSG patterns)typescript-core(TypeScript patterns and validation)vitest(unit testing patterns)
Core Expertise
Building static-first Svelte 5 applications using runes mode with proper state management patterns that survive prerendering and hydration.
Critical Compatibility Rules
❌ NEVER: Runes in Module Scope with adapter-static
Problem: Runes don't hydrate properly after static prerendering
// ❌ BROKEN - State becomes frozen after SSG
export function createStore() {
let state = $state({ count: 0 });
return {
get count() { return state.count; },
increment: () => { state.count++; }
};
}
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the svelte5-runes-static skill help with?
It covers Svelte 5 runes patterns for SvelteKit projects using adapter-static, including hydration-safe state, store bridges, and reactivity that survives prerendering. It warns against placing runes in module scope and shows a hybrid pattern with writable stores for global state and runes for component state.
How do I install the svelte5-runes-static skill?
Run npx -y skills add bobmatnyc/claude-mpm-skills --skill svelte5-runes-static -y in your project. Once installed, the agent can apply these patterns when you work with Svelte 5 runes and adapter-static prerendering.
Which category is svelte5-runes-static in, and what else is there?
It sits in the Frontend & UI Code category on Claude Marketplaces, alongside skills such as vercel-react-best-practices, web-design-guidelines and design-taste-frontend. Its focus is narrower than those, covering only Svelte 5 runes with SvelteKit static rendering.
More from bobmatnyc/claude-mpm-skills
All 154- Better Auth Core386
- Homebrew Formula Maintenance383
- Better Auth Integrations381
- Reporting Pipelines381
- Better Auth Plugins380
- Git Worktrees379
- Vb Winforms377
- Nextjs Core375
- Headlessui374
- Fastapi Local Dev373
- Sec Edgar Pipeline372
- Vb Core371
- Vercel Networking Domains371
- Svelte370
- Env Manager368
- Mongodb368
- Digitalocean Containers Images365
- Hono Jsx365
- Phoenix Api Channels365
- Langgraph364
- Pr Quality Checklist364
- Vercel Observability364
- Media Transcoding363
- Writing Plans363
Similar to Svelte5 Runes Static
More Frontend & UI Codesveltemindrally/skills812 installsExpert Svelte 5 and SvelteKit guidance covering runes, snippets, SSR, and migration from Svelte 4.
svelte-runesspences10/svelte-skills-kit1.1K installsSvelte 5 runes guidance that picks the right rune for state, props, effects, or Svelte 4 migration.
svelte-developmentmanutej/luxor-claude-marketplace438 installsSvelte 5 skill covering runes, components, stores, lifecycle, and transitions with compile-time reactivity.
svelte-core-bestpracticessveltejs/ai-tools13.1K installsOpinionated Svelte 5 guidance that steers components toward runes, derived state, and modern event and snippet patterns.
nuxt4-patternsaffaan-m/ecc11.8K installsNuxt 4 rendering, hydration, and data-fetching patterns covering SSR-safe fetching, route rules, and lazy loading.