Skip to content

Latest commit

ย 

History

History
71 lines (53 loc) ยท 2.58 KB

File metadata and controls

71 lines (53 loc) ยท 2.58 KB

Getting Started

This workspace is pre-configured with Cursor rules and Spec-Driven Development workflow using GitHub Spec-Kit.

๐Ÿ› ๏ธ Tech Stack

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)

๐Ÿš€ Quick Start

Option A: Astro Project (Static Sites, Blogs, Content)

pnpm dlx create-astro@latest . --template with-tailwindcss --install --add react --git
pnpm dlx shadcn@latest init

Option B: Vite + React Project (SPAs, Dashboards)

pnpm create vite@latest . --template react-ts
pnpm add tailwindcss @tailwindcss/vite -D
pnpm dlx shadcn@latest init

๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ components/
โ”‚   โ””โ”€โ”€ ui/           # shadcn/ui components
โ”œโ”€โ”€ pages/            # Routes/pages
โ”œโ”€โ”€ layouts/          # Layout components
โ”œโ”€โ”€ stores/           # Zustand stores
โ”œโ”€โ”€ lib/              # Utilities
โ””โ”€โ”€ styles/
    โ””โ”€โ”€ globals.css   # Tailwind imports + theme

๐ŸŽฏ Spec-Kit Commands

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

๐Ÿ“š References


Note: Cursor rules are located in .cursor/rules/ and the project constitution is in .specify/memory/constitution.md.

โšก