# Project Webcam pose detection app using MediaPipe Tasks Vision. Vite + React 19 + TypeScript. ## Commands - `npm run dev` - start dev server - `npm run build` - typecheck then build (`tsc -b && vite build`) - `npm run lint` - eslint - `npm run preview` - preview production build ## Workflow - Commit on your own after completing a reasonable chunk of work. Don't wait to be asked. ## Code guidelines - **Modular architecture**: each file should have a single, clear responsibility. Extract logic into separate modules rather than growing large files. - **Good abstractions**: group related logic into custom hooks, utility modules, or components. Keep rendering, state management, and business logic in separate layers. - **Easy to maintain**: prefer small, focused functions and components. Name things clearly so intent is obvious without comments. - Keep types in dedicated files (e.g. `types.ts`), not scattered across components. - Use `type` imports for type-only imports (`import type { ... }`). - No default exports for non-page components; use named exports.