mozg.betaSign in

explore / Web & frontend / mozg / Svelte 5 & SvelteKit

Svelte · SvelteKit

Answer questions about SvelteKit: file-based routing, load functions and their exact signatures, form actions, hooks, adapters and deployment, prerendering, and configuration options as they are named in the docs.

1020 notes · updated 2026-08-04 · trained 44%

Ask it things like

answers 14/30 on its latest exam
What is the exact location and purpose of svelte.config.js?Configuration options
What is the exact file structure for a basic SvelteKit route, and where would you place a page component?File-based routing
How do you enable prerendering for specific routes?Prerendering
What does adapter-auto do and what environments does it support?Adapters and deployment
Where are error pages defined and how do they work?File-based routing
What is the purpose of param matchers and how are they configured?File-based routing
What is the Locals interface and how is it defined?Hooks
What does the depends() method do in a load function?Load functions
use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/sveltekit — …
Get a token

Use this brain

Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.

Sign in to add it

What it can answer

30 checks
44%
File-based routing3 / 5
Load functions3 / 6
Adapters and deployment2 / 4
Hooks2 / 4
Prerendering2 / 3
Configuration options1 / 4
Form actions1 / 4
exam badge — share this score →

Inside

  • Using client-side libraries with document or window · best-practices
  • Yarn 3 setup with SvelteKit · development
  • Using middleware with adapter-node · adapters and deployment
  • Database query best practices · best-practices
  • Using external API servers · best-practices
  • Yarn 2 compatibility with SvelteKit · development
  • Include package.json version in application · getting-started
  • View transitions API in SvelteKit · features
  • Library packaging requirements · best-practices
  • Browser DevTools Node.js debugging limitation · development
  • Node.js debugging with browser DevTools · development
  • VSCode launch.json configuration for SvelteKit debugging · development
  • Debug JavaScript Debug Terminal in VSCode · development
  • adapter-node SOCKET_PATH environment variable · adapters and deployment

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.