From ea35115de67447db23495210dca63a588d49d62d Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 31 Mar 2026 13:29:56 +1300 Subject: [PATCH] (docs): add CLAUDE.md with project instructions --- CLAUDE.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 000000000..ca26fdc31 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,32 @@ +# Appwrite Console + +SvelteKit web dashboard for Appwrite. Manages projects, databases, functions, auth, storage, and messaging. + +## Commands + +| Command | Purpose | +|---------|---------| +| `pnpm dev` | Start dev server (Vite) | +| `pnpm build` | Production build | +| `pnpm check` | Svelte type checking | +| `pnpm format` | Format with Prettier | +| `pnpm clean` | Clean build artifacts | + +## Stack + +- SvelteKit + TypeScript +- Vite for bundling +- Appwrite Pink design system (`@appwrite.io/pink-svelte`) +- CodeMirror for code editing +- Prettier for formatting, svelte-check for type checking + +## Architecture + +- `src/routes/` — SvelteKit file-based routing +- `src/lib/` — shared components, stores, helpers +- `src/lib/stores/` — Svelte stores for app state +- Uses Appwrite SDK for all backend communication + +## Cross-repo context + +The `feat-dedicated-db` feature spans cloud, edge, and console. When modifying API contracts or response models, check the other repos for breaking changes.