Sveltekit
Official documentation: https://kit.svelte.dev/docs
Overview
This skill provides comprehensive documentation for sveltekit.
Total references: 25 files (~169,440 tokens)
Topics covered: dev, Adding community adapters, Netlify Edge Functions, Navigation, pushState, build, error, Matching, Sorting, Rest parameters, opentelemetryapi, Reducing code size...
Reference Files
Load only the reference files relevant to the user's question:
Cli
- Not found! and more (~92 tokens)
General
- $app/environment and more (~7,641 tokens)
- Topics: browser, building, dev
- @sveltejs/kit/hooks (~10,250 tokens)
- Topics: sequence
- @sveltejs/kit/vite (~57 tokens)
- Topics: sveltekit
- @sveltejs/kit (~14,280 tokens)
- Topics: Server, VERSION, error
- Accessibility and more (~5,954 tokens)
- Topics: Route announcements, Focus management, The lang attribute
- Node servers and more (~7,351 tokens)
- Topics: Usage, Deploying, Environment variables
- Advanced routing and more (~3,694 tokens)
- Topics: Rest parameters, Optional parameters, Matching
- Configuration and more (~7,620 tokens)
- Topics: Config, KitConfig, adapter
- Frequently asked questions (~3,768 tokens)
- Topics: Other resources, What can I make with SvelteKit, How do I include details from packagejson in my application
- Form actions (~9,804 tokens)
- Topics: Default actions, Named actions, Anatomy of an action
- Glossary (~1,392 tokens)
- Topics: CSR, Edge, Hybrid app
- Hooks (~8,143 tokens)
- Topics: Server hooks, Shared hooks, Universal hooks
- Images and more (~3,970 tokens)
- Topics: Vites built-in handling, sveltejsenhanced-img, Loading images dynamically from a CDN
- Loading data (~16,277 tokens)
- Topics: Page data, Layout data, pagedata
- Not found! and more (~7,820 tokens)
- Topics: redirect and error are no longer thrown by you, path is required when setting cookies, Top-level promises are no longer awaited
- Page options and more (~7,208 tokens)
- Topics: prerender, entries, ssr
- Remote functions (~14,059 tokens)
- Topics: Overview, query, querybatch
- Routing (~7,797 tokens)
- Topics: page, error, layout
- SEO and more (~6,936 tokens)
- Topics: Out of the box, Manual setup, Private environment variables
- Shallow routing and more (~2,052 tokens)
- Topics: API, Loading data for a route, Caveats
- @sveltejs/kit (~14,280 tokens)
- Topics: Server, VERSION, error
- Web standards (~3,430 tokens)
- Topics: Fetch APIs, FormData, Stream APIs
Kit
- Not found! and more (~5,380 tokens)
Svelte
- Not found! and more (~185 tokens)
Usage Guidelines
- Identify relevant sections - Match the user's question to the appropriate reference file(s)
- Load minimally - Only read files directly relevant to the question to conserve context
- Cite sources - Reference specific sections when answering
- Combine knowledge - For complex questions, you may need multiple reference files
When to use each reference:
- Cli: Cli-related features and documentation
- General: General documentation, overview, and getting started
- Kit: Kit-related features and documentation
- Svelte: Svelte-related features and documentation