CtrlK
BlogDocsLog inGet started
Tessl Logo

sveltekit

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.

96

1.05x
Quality

95%

Does it follow best practices?

Impact

100%

1.05x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

3%

Securing a SvelteKit Application Backend

Auth boundaries and route protection structure

Criteria
Without context
With context

Route group separation

100%

100%

Hooks populate only

100%

100%

Hooks throws on missing DB

70%

100%

Layout uses throw redirect

100%

100%

Layout redirect correctness

100%

100%

Endpoint self-auth

100%

100%

Endpoint returns 401 unauthorized

100%

100%

Login redirect for authenticated

100%

100%

Login throw redirect

100%

100%

Structure file present

100%

100%

TypeScript types used

100%

100%

100%

11%

User Profile Update Form

Form action with server validation and progressive enhancement

Criteria
Without context
With context

Action in page.server.ts

100%

100%

fail() returned

100%

100%

Field-shaped errors

75%

100%

throw redirect on success

70%

100%

Server-side validation

100%

100%

Native form structure

100%

100%

Field.* error components

70%

100%

use:enhance present

100%

100%

Serializable load data

100%

100%

Schema in $lib/schemas

100%

100%

form prop used for errors

75%

100%

100%

Dashboard Page Refactor

Data ownership, SSR safety, and load function boundaries

Criteria
Without context
With context

User data moved to server

100%

100%

No secrets in universal load

100%

100%

localStorage in effect or removed

100%

100%

No $effect for URL navigation

100%

100%

Serializable load return data

100%

100%

onMount not used for server data

100%

100%

CHANGES.md present

100%

100%

CHANGES explains server load boundary

100%

100%

CHANGES explains browser API fix

100%

100%

CHANGES explains effect/navigation fix

100%

100%

Output files present

100%

100%

Repository
joshuadavidthomas/agent-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.