sveltekit-spa
Installation
SKILL.md
SvelteKit SPA Mode
Guide for building SvelteKit applications in pure SPA/CSR mode with adapter-static, specifically optimized for projects with separate backends (e.g., Golang + Echo).
About This Skill
Type: Reference guide (flexible pattern)
This skill provides patterns and conventions for SvelteKit SPA development. The core requirements (SSR disabled, adapter-static configuration) are mandatory for SPA mode, but implementation details should be adapted to your project's needs.
π‘ Additional Resources: This skill includes detailed reference documentation:
references/routing-patterns.md- Complex routing scenarios, nested layouts, route guardsreferences/backend-integration.md- Detailed API patterns, authentication flows, error handling
Core Concept
SvelteKit SPA mode creates a fully client-rendered single-page application. The entire app runs in the browser with a fallback HTML page that bootstraps the application for any route.