svelte-kit
Installation
SKILL.md
SvelteKit Development
Overview
SvelteKit provides a full-stack framework for Svelte with built-in routing, SSR, and API endpoints. This skill should be invoked when building modern web applications that benefit from Svelte's compilation approach and server-side rendering.
Core Principles
- File-Based Routing: Routes defined by file structure
- SSR: Server-side rendering with hydration
- API Routes: Server endpoints as +server.js files
- Adapter Pattern: Deploy to various platforms
Preparation Checklist
- Initialize:
npm create svelte@latest - Choose TypeScript or JavaScript
- Plan routing structure
- Select deployment adapter