--- name: Frontend description: Svelte SPA structure and conventions. applyTo: "frontend/src/**" --- # Frontend - SPA entry point is `frontend/src/index.ts`, main component is `frontend/src/App.svelte`. - Component organization: `lib/` for utilities and stores, keep route components in a `routes/` folder when needed, `css/` for styles. - Use PascalCase component names and export props at the top of the `