# Agent Guidelines — portfolio ## Project Personal engineering portfolio — multi-page SPA built with React + TypeScript + Vite. Data-driven content from `src/data/`, styled with CSS variables supporting dark/light/system themes. ## Tech Stack | Layer | Tool | |-------|------| | Framework | React 19 | | Language | TypeScript 6 (bundler mode, `verbatimModuleSyntax`, `noEmit`) | | Bundler | Vite 8 | | Router | React Router v8 (`react-router` package, pinned `8.4.0`) | | Linter | Oxlint 1 (`plugins: react, typescript, oxc`) | | Package manager | pnpm | ## Commands | Command | Description | |---------|-------------| | `pnpm dev` | Start dev server with HMR | | `pnpm build` | Type-check (`tsc -b`) then build for production | | `pnpm lint` | Run Oxlint | | `pnpm preview` | Preview production build locally | ## Routing - `App.tsx` wraps `` → `` → `` (NOT nested `` — causes `children` not to pass) - Layout: `` (top) → `
` → `