exceptionless-tanstack-form
Installation
SKILL.md
TanStack Form
Documentation: tanstack.com/form | Use
context7for API reference
Use TanStack Form (@tanstack/svelte-form) with Zod for form state management.
Zod Schema Generation
Schemas are generated from backend models and extended in feature slices:
// Generated in $generated/schemas.ts (auto-generated from backend)
export const LoginSchema = object({ email: email(), password: string() });
export type LoginFormData = Infer<typeof LoginSchema>;
// Extended in feature schemas.ts
// From src/lib/features/auth/schemas.ts
import { ChangePasswordModelSchema } from '$generated/schemas';