feat: add AGENTS.md for all packages and apps (9 files)

This commit is contained in:
2026-04-06 15:04:15 +02:00
parent 95a46fe7f4
commit 2c110b33e9
9 changed files with 255 additions and 0 deletions

18
apps/cms/AGENTS.md Normal file
View File

@@ -0,0 +1,18 @@
# apps/cms — Payload CMS Admin Shell
Thin Next.js shell that imports config from `@repo/cms-core` and serves the Payload admin panel. Contains almost no custom code.
## Rules
- All collections, hooks, globals, and payload.config.ts live in `@repo/cms-core`
- This app only contains Next.js routing boilerplate for the admin panel
- Import `@payload-config` which resolves to `@repo/cms-core/src/payload.config.ts`
- NEVER import from `@repo/core/infrastructure`
## Development
```bash
pnpm dev --filter @repo/cms # Starts on port 3001
```
Requires PostgreSQL running (via `docker compose up postgres`).