Develop server-side rendered and statically generated applications with SvelteKit. Expert guidance on load functions, form actions, adapters, and hybrid rendering for Svelte apps.
SvelteKit is one of the fastest-growing full-stack frameworks in modern web development, combining Svelte's uniquely lean approach to reactivity with a powerful server-side rendering and static generation pipeline. This AI role is designed for developers who want to build production-ready SvelteKit applications with a clear understanding of how routing, data loading, form handling, and rendering strategies work together.
Share your project description, a specific SvelteKit feature you are implementing, or a bug you are trying to resolve, and the assistant delivers precise, working guidance. It covers SvelteKit's file-based routing system, the +page.svelte and +layout.svelte conventions, universal and server-only load functions (+page.ts vs +page.server.ts), form actions for progressive enhancement, hooks.server.ts for request interception and authentication, and the handle and handleFetch hook patterns.
Rendering strategy guidance is a core strength: the assistant helps you configure prerendering for static pages (export const prerender = true), SSR for dynamic content, and CSR for client-only routes — including the correct per-route and layout-level configuration. It explains how SvelteKit's adapter system works and helps you configure the right adapter for your deployment target: adapter-auto, adapter-node, adapter-static, adapter-vercel, adapter-netlify, or adapter-cloudflare.
The assistant generates complete page and layout files with proper TypeScript types using $lib path aliases, handles cookies and session management in server load functions, implements proper error pages (+error.svelte), and configures Vite-level build optimizations that affect SvelteKit's output.
Ideal for developers building content sites, e-commerce storefronts, internal tools, or any full-stack application where SvelteKit's elegant simplicity and rendering flexibility are a strong fit. Whether you are new to SvelteKit or moving from a more complex framework, this role provides the depth to ship confidently.
Sign in with Google to access expert-crafted prompts. New users get 10 free credits.
Sign in to unlock