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

Quality

Content

100%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is an exceptionally well-crafted skill that serves as a mental-model reference for SvelteKit development. It is concise yet comprehensive, using numbered principles with contrastive code examples and explicit validation checkpoints in workflows. The progressive disclosure is excellent, with the main file serving as a dense overview that links to 12 topic-specific reference files for deeper detail.

DimensionReasoningScore

Conciseness

Every section earns its place. The skill assumes Claude's intelligence, avoids explaining what SvelteKit or SSR is, and uses terse numbered principles with minimal prose. Code examples are short and contrastive (❌/✅ pairs) rather than tutorial-style. The common mistakes list is a dense lookup table, not a narrative.

3 / 3

Actionability

Provides executable TypeScript code examples with clear ❌/✅ contrasts, specific file names (+page.server.ts, hooks.server.ts), concrete API calls (fail(), redirect(), throw), and a quick-reference table mapping smells to exact moves. The form action flow and route protection checklists are copy-paste-ready workflows.

3 / 3

Workflow Clarity

The 'Working Through a Change' section provides a clear outside-in sequence with explicit validation checkpoints at each step (e.g., 'Confirm secrets never reach +page.ts', 'Test a direct HTTP call to each endpoint', 'Render with JS off'). The form action flow and protecting routes sub-workflows both end with explicit verification steps ('Check: submit with JavaScript disabled').

3 / 3

Progressive Disclosure

The SKILL.md is a well-structured overview with 12 clearly signaled one-level-deep references to specific topic files (file-naming.md, auth.md, load-functions.md, etc.). Each principle links to its detailed reference, and a reference index at the bottom provides easy navigation. Content is appropriately split between the overview and referenced files.

3 / 3

Total

12

/

12

Passed

Description

89%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a strong skill description with excellent trigger term coverage and clear scope boundaries. The explicit 'Use when...' and 'Triggers on' clauses provide comprehensive guidance for skill selection, and the distinction from the svelte5 skill reduces conflict risk. The main weakness is that the 'what it does' portion is somewhat abstract ('mental-model reset') rather than describing concrete actions like 'validates route structure' or 'generates load functions'.

Suggestions

Replace the abstract phrase 'Mental-model reset' with concrete actions the skill performs, e.g., 'Guides architecture decisions, validates route structure, reviews load function patterns, and debugs data flow in SvelteKit apps.'

DimensionReasoningScore

Specificity

The description names the domain (SvelteKit apps) and lists many relevant concepts (routes, layouts, load functions, form actions, hooks, auth, cookies, etc.), but it describes itself as a 'mental-model reset' rather than listing concrete actions it performs. The actions are implied ('writing or reviewing') but not comprehensively described as specific operations.

2 / 3

Completeness

Clearly answers both 'what' (mental-model reset for SvelteKit apps covering routes, layouts, load functions, etc.) and 'when' (explicit 'Use when...' clause with detailed triggers, plus a 'Triggers on' list). Also helpfully distinguishes scope from a related skill (svelte5) to clarify boundaries.

3 / 3

Trigger Term Quality

Excellent coverage of natural trigger terms users would actually use: includes file naming conventions (+page, +server, +page.server.ts, hooks.server.ts), function names (fail(), redirect(), error(), load), concepts (SSR, hydration, progressive enhancement), and framework-specific terms (locals, route groups, enhance). This is comprehensive and matches how developers naturally talk about SvelteKit.

3 / 3

Distinctiveness Conflict Risk

Highly distinctive with SvelteKit-specific triggers that are unlikely to conflict with other skills. The description explicitly delineates its boundary from a sibling 'svelte5' skill for component-level concerns, which further reduces conflict risk.

3 / 3

Total

11

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
joshuadavidthomas/agent-skills
Reviewed

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.