# CLAUDE.md

Full agent instructions live in **[AGENTS.md](AGENTS.md)** — read that first.

## Quick reference

This is the **SeedProject base** — a cloneable Astro + PHP website foundation. On a
fresh clone, set it up for the new site:

```bash
./scripts/new-site.sh                       # configure identity (prompts) → stamps engines
cd app && npm install && npm run build      # build the frontend → ../public
```

- **Identity source of truth:** `site.config.json`. Edit it, then run
  `node scripts/configure.mjs`. Never hardcode site name / URL / author elsewhere.
- **Backend:** `cd api && composer install && php console app:install --db-... --url=... --name=...`
  (served at `/api`; see `api/.memory/foundation.md`).
- **Never commit secrets:** `**/.env`, `api/config.php` are git-ignored — keep it so.
- **Verify changes build:** `cd app && npm run build`.
