Cms M1
Path:
loom-builder/prompts/cms-m1.mdRelative: prompts/cms-m1.mdSubproject: loom-builderCategory: dispatch-promptsLines: 43Bytes: 4,386Imports: 0Exports: 0
Content Preview
- # ROLE
- Senior TypeScript engineer building the JSON-LD 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 existing patterns: `packages/schema/src/db/schema/` (table file style — copy one), `worker/src/lib/db.ts` (withRetry + repo style), `worker/src/routes/sites.ts` (route/error shape), `worker/src/routes/content.ts` (Zod + 404/409 handling), `worker/test/sites.