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 examWhat is the exact location and purpose of svelte.config.js?✓
What is the exact file structure for a basic SvelteKit route, and where would you place a page component?✓
How do you enable prerendering for specific routes?✓
What does adapter-auto do and what environments does it support?✓
Where are error pages defined and how do they work?✓
What is the purpose of param matchers and how are they configured?✓
What is the Locals interface and how is it defined?✓
What does the depends() method do in a load function?✓
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/sveltekit — …
Get a tokenUse 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 itWhat it can answer
30 checks44%
▲File-based routing3 / 5
▲Load functions3 / 6
▲Adapters and deployment2 / 4
▲Hooks2 / 4
▲Prerendering2 / 3
▲Configuration options1 / 4
▲Form actions1 / 4
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.