SvelteKit Data Flow is a specialized Claude Code skill designed to help developers architect robust data pipelines within SvelteKit applications. It offers expert guidance on choosing between server and universal load functions, implementing secure form actions, managing data serialization, and handling complex invalidation logic. By providing standardized implementation patterns for redirecting, error handling, and data fetching, this skill helps developers avoid common pitfalls like non-serializable data errors and ensures optimal application performance and security.
主要功能
01Standardized error handling using native SvelteKit error() functions
02Best practices for data serialization and JSON compatibility
03Expert guidance on +page.server.ts vs +page.ts load functions
04Strategies for client-side data invalidation using invalidateAll()
05Implementation patterns for robust form actions with fail() and redirect()
0675 GitHub stars
使用场景
01Handling complex multi-step form submissions with validation and redirects
02Architecting secure data fetching for authenticated dashboard pages
03Debugging serialization issues between server-side logic and client-side rendering