This workspace is pre-configured with Cursor rules and Spec-Driven Development workflow using GitHub Spec-Kit.
| Technology | Version/Notes |
|---|---|
| Framework | Astro (SSG/SSR) or Vite + React (SPA) |
| Language | TypeScript (strict mode) |
| Styling | Tailwind CSS v4 |
| Components | shadcn/ui (installed on-demand) |
| Icons | Lucide React |
| Linting | Biome |
| Testing | Vitest |
| Package Mgr | pnpm (required) |
pnpm dlx create-astro@latest . --template with-tailwindcss --install --add react --git
pnpm dlx shadcn@latest initpnpm create vite@latest . --template react-ts
pnpm add tailwindcss @tailwindcss/vite -D
pnpm dlx shadcn@latest initsrc/
โโโ components/
โ โโโ ui/ # shadcn/ui components
โโโ pages/ # Routes/pages
โโโ layouts/ # Layout components
โโโ stores/ # Zustand stores
โโโ lib/ # Utilities
โโโ styles/
โโโ globals.css # Tailwind imports + theme
Use these commands in Cursor to leverage Spec-Driven Development:
| Command | Description |
|---|---|
/init |
Initialize a new feature spec |
/speckit.specify |
Generate specification from requirements |
/speckit.plan |
Create implementation plan |
/speckit.tasks |
Break down plan into tasks |
/speckit.implement |
Execute the implementation |
Note: Cursor rules are located in .cursor/rules/ and the project constitution is in .specify/memory/constitution.md.