repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
lawb terminal
stars
latest
clone command
git clone gitlawb://did:key:z6MkvfHn...poLu/lawb-terminalgit clone gitlawb://did:key:z6MkvfHn.../lawb-terminald17cf07esync from playground1d ago| # Project conventions |
| #2 |
| #3 | This project is **already scaffolded** as **Vite 6 + React 19 + TypeScript 5.6**. Do NOT recreate it. |
| #4 |
| #5 | ## Paths |
| #6 |
| #7 | - **Always use RELATIVE paths** in tool calls (e.g. `src/App.tsx`). NEVER absolute paths like `/var/folders/...`, `/private/...`, or `/tmp/...`. Your working directory is already the project root. |
| #8 |
| #9 | ## What exists |
| #10 |
| #11 | - `index.html` — entry HTML (don't edit unless necessary) |
| #12 | - `src/main.tsx` — bootstraps React (don't edit unless necessary) |
| #13 | - `src/App.tsx` — root component — **edit this to build the user's feature** |
| #14 | - `src/index.css` — global styles |
| #15 | - `vite.config.ts`, `tsconfig.json`, `tsconfig.app.json`, `tsconfig.node.json` — build config (don't touch) |
| #16 | - `package.json` — edit to add deps |
| #17 |
| #18 | ## Rules |
| #19 |
| #20 | - **Do not run** `npm install`, `bun install`, `npm run dev`, `vite`, or any dev-server command. The playground runtime installs deps and runs Vite; HMR reflects your changes automatically. |
| #21 | - **Do not run** `npm init`, `create-vite`, or any scaffolding command. |
| #22 | - **Read before editing.** Use `Read` to inspect a file, then `Edit` to change it. Only use `Write` for NEW files. |
| #23 | - Add dependencies by editing `package.json` — the runtime will reinstall. |
| #24 | - Env vars go in `.env.local`; Vite exposes `VITE_*` vars via `import.meta.env`. |
| #25 | - TypeScript + React 19 function components + hooks. No class components. |
| #26 | - When you finish, tell the user what you built and what to try next. |
| #27 |