Cms M3
Path:
loom-builder/prompts/cms-m3.mdRelative: prompts/cms-m3.mdSubproject: loom-builderCategory: dispatch-promptsLines: 43Bytes: 3,931Imports: 0Exports: 0
Content Preview
- # ROLE
- Senior TypeScript engineer building the Forms module for a Hono + Drizzle + D1 Worker CMS. Write ROLE/GOAL/PLAN checkbox list first; maintain it.
- # CONTEXT (read first)
- - Repo: `/home/mikes/leverage-cms/leverageai-cms-v2/`. IMITATE: `packages/schema/src/db/schema/` (table file style), `worker/src/lib/db.ts` (withRetry + repo style), `worker/src/routes/content.ts` (Zod + 404/409), `worker/src/index.ts` (auth middleware mounting — note which paths are auth-exempt), `worker/ui/app.js` ("Rep