# Project Rules — Fullstack Web (Cursor) # Extends global .cursor-rules + project AGENTS.md. ## Stack - Frontend: React + shadcn/ui + Tailwind CSS + Vite - Backend: Node.js API - Testing: Vitest + Playwright ## Rules - src/components/ui/ is shadcn-generated. Never edit manually. - Organize code by domain: src/domains/{domain}/ - API contracts live in api/types.ts and src/shared/types/ — keep in sync. - All business logic in hooks or services, not in components. - Follow AGENTS.md for architecture constraints and Roll workflow.