SvelteKit routing, load functions, server-only modules, form actions, hooks, cookies, env, adapters, and invalidation. Use when editing +page.ts, +page.server.ts, +layout.ts, +server.ts, hooks.server.ts, app.d.ts, or SvelteKit route behavior.
68
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
When SvelteKit load behavior, invalidation, cookies, hooks, env handling, server-only modules, generated $types, or adapter behavior affects correctness, ask DeepWiki a narrow question against sveltejs/kit before relying on memory. Verify decisive details against local installed types and source.
Use the svelte skill for component runes and template mechanics.
+page.server.ts or +layout.server.ts for secrets, database access, auth, cookies, and locals.+page.ts or +layout.ts only for client-safe data and behavior.$lib/server, .server modules, hooks.server.ts, +server.ts, or server route files.load return values must be serializable.load functions. Put per-request state in event.locals.depends, invalidate, invalidateAll, and untrack deliberately. Do not assume server fetches are invalidation-trackable unless the dependency is explicit.+page.server.ts.fail() for validation failures so the page keeps form state and status.use:enhance only for POST forms.hooks.server.ts, then expose the request result through event.locals../$types in route files.cb12bcc
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.