This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
- Development server:
pnpm dev(ornpm run dev) - Build:
pnpm build(ornpm run build) - Preview build:
pnpm preview(ornpm run preview) - Type checking:
pnpm check(ornpm run check) - Type checking (watch):
pnpm check:watch(ornpm run check:watch) - Linting:
pnpm lint(ornpm run lint) - runs both Prettier and ESLint - Formatting:
pnpm format(ornpm run format) - formats with Prettier
Note: This project uses pnpm as the package manager (see pnpm-lock.yaml).
This is a SvelteKit application using:
- Svelte 5 with TypeScript
- TailwindCSS 4.0 for styling with custom design tokens
- shadcn-svelte component library (configured in components.json)
- MDSvex for Markdown support (.svx files)
- ESLint 9 with flat config
src/routes/- SvelteKit file-based routingsrc/lib/components/ui/- shadcn-svelte UI componentssrc/lib/utils.ts- Utility functions includingcn()for class mergingsrc/app.css- Global styles with TailwindCSS theme tokens (light/dark mode support)components.json- shadcn-svelte configuration with path aliases
- Uses TailwindCSS v4 with custom CSS properties for theming
- Dark mode support with CSS variables
- Design tokens defined in src/app.css using OKLCH color space
- Component styling follows shadcn-svelte patterns with tailwind-variants