Mental-model reset for SvelteKit apps. Use when writing or reviewing routes, layouts, load functions, form actions, remote functions, hooks, auth, cookies, endpoints, redirects, errors, SSR, progressive enhancement, or app-level data flow. Triggers on SvelteKit, +page, +layout, +server, +page.server.ts, +layout.server.ts, hooks.server.ts, load, actions, fail(), redirect(), error(), cookies, locals, route groups, protected routes, sessions, form actions, enhance, remote functions, command(), query(), form(), getRequestEvent(), SSR, hydration, and serialization. Use svelte5 for component-level runes, snippets, accessibility, actions, transitions, and component API review.
93
92%
Does it follow best practices?
Impact
93%
1.01xAverage score across 3 eval scenarios
Passed
No known issues
Auth route boundaries and endpoint self-protection
Route groups used
100%
100%
Auth pages outside protected group
100%
100%
Layout uses throw redirect
25%
100%
Auth check in layout.server.ts
100%
100%
Hooks only populate locals
100%
100%
No silent auth bypass
100%
50%
+server.ts self-enforces auth
100%
100%
No pathname conditionals in root layout
100%
100%
STRUCTURE.md present
100%
100%
throw used for error()
100%
100%
Form actions, server validation, Field.* components
Action in +page.server.ts
100%
100%
Server-side validation
100%
100%
fail() returned for errors
100%
100%
throw redirect on success
0%
0%
Serializable action return
100%
100%
use:enhance applied
87%
100%
Native form method POST
100%
100%
Field.Field wraps inputs
100%
100%
Field.Error for error display
100%
100%
Field.Label used
100%
100%
Schema in $lib/schemas
100%
100%
NOTES.md explains flow
100%
100%
Server load, serializable data, URL filter state
Server load for posts
100%
100%
URL params used in load
100%
100%
Date serialized as string
100%
100%
No class instances returned
100%
100%
Filter controls use event handlers
100%
100%
No $effect for navigation
100%
100%
Display values derived from data
100%
100%
No browser API in load
100%
100%
throw error for not-found
50%
50%
NOTES.md explains data flow
100%
100%
40067f1
Table of Contents
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.