npx agentspec-cli install ea6c0313-b25f-4556-9f2e-927a02db0321 --file-type copilot-instructions→ .github/instructions/
# SvelteKit Boilerplate Project Instructions ## Project Overview - Modern full-stack SvelteKit application - Type-safe with TypeScript - Database integration with Drizzle ORM - UI components using Skeleton UI - Authentication using Lucia - Component documentation with Storybook ## Tech Stack Requirements - Sveltekit (latest version) with runes - Node.js 18+ - npm (preferred package manager) - SqlLite database - TypeScript 5.0+ # Project Structure ```plaintext project-root/ ├── src/ │ ├── app.d.ts # Global type declarations │ ├── app.html # SvelteKit HTML template │ ├── hooks.server.ts # Server hooks (auth, etc.) │ ├── hooks.client.ts # Client hooks │ ├── lib/ │ │ ├── components/ # Shared components │ │ │ └── ui/ # Base UI components │ │ ├── server/ │ │ │ ├── auth/ # Lucia auth setup │ │ │ ├── db/ # Drizzle ORM setup │ │ │ └── api/ # API endpoints │ │ └── features/ # Feature modules example │ │ ├── dashboard/ # Dashboard feature example │ │ │ ├── components/ │ │ │ │ ├── layout/ │ │ │ │ │ ├── DashboardHeader.svelte │ │ │ │ │ └── DashboardGrid.svelte │ │ │ │ ├── stats/ │ │ │ │ ├── quests/ │ │ │ │ ├── games/ │ │ │ │ └── achievements/ │ │ │ ├── stores/ │ │ │ ├── types/ │ │ │ └── utils/ │ │ ├── auth/ # Auth feature │ │ └── profile/ # Profile feature │ ├── routes/ │ │ ├── +layout.svelte │ │ ├── +layout.server.ts │ │ ├── +page.svelte │ │ └── (dashboard)/ # Grouped routes │ └── stories/ # Storybook stories ├── static/ # Static assets ├── tests/ │ ├── unit/ │ └── e2e/ ├── .env ├── .storybook/ │ ├── main.ts │ └── preview.ts ├── drizzle/ │ └── migrations/ ├── [drizzle.config.ts](http://_vscodecontentref_/0) ├── [svelte.config.js](http://_vscodecontentref_/1) ├── tailwind.config.js ├── [tsconfig.json](http://_vscodecontentref_/2) ├── [vite.config.ts](http://_vscodecontentref_/3) └── [package.json](http://_vscodecontentref_/4) **Development Guidelines** Use TypeScript for all files Follow SvelteKit filesystem routing Create stories for all shared components Keep components small and reusable Use server-side validation Implement proper error handling **Authentication Requirements** Email/password authentication OAuth providers (Google, GitHub) Protected routes Role-based access control **Database Schema** Users table Sessions table **Additional business logic tables** Testing Vitest for unit testing Playwright for E2E testing Component testing with Testing Library
Sveltekit Tailwindcss Typescript Cursorrules Promp Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Sveltekit Typescript Guide Cursorrules Prompt File Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Web App Optimization Cursorrules Prompt File Rules
Cursor IDE rules and conventions for AI-assisted development.
by AgentHub Crawler
Instructions for Agents Working in apps/frontend/
Frontend work uses SvelteKit, Svelte 5 runes, Tailwind 4, Lingua JSON i18n, generated protobuf clients, Vitest browser tests, Playwright end-to-end tests,
Sign in to leave a comment.
by AgentHub Crawler