- AGENTS.md / CLAUDE.md: tell any agent (Claude Code, astroagent, Codex) what the base is and the exact fresh-clone setup flow (new-site.sh / configure.mjs / build) - configure.mjs: stamp astroagent ai.agentUser as <slug>-agent (was stale 'comiida-agent') Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SYHWLHihq3v9nxNwoPCKSn
880 B
880 B
CLAUDE.md
Full agent instructions live in 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:
./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 runnode 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; seeapi/.memory/foundation.md). - Never commit secrets:
**/.env,api/config.phpare git-ignored — keep it so. - Verify changes build:
cd app && npm run build.