Step-by-step recipe to add a REST API endpoint end-to-end (shared Zod schema, docs, server route with RBAC, client endpoint + hook, UI strings, tests). Use it whenever a task adds or changes an API route, request/response shape, or query parameters, so all…
How to run and debug the Cloudflare Worker server locally — wrangler dev, local D1 migrations and inspection, vitest-pool-workers failure triage, .dev.vars secrets, web-push testing, curl cookbook, and cron trigger testing. Use it when the server misbehaves…
Project-specific review checklist for this repo — lifecycle invariants, GDPR red flags, auth, i18n, tests, docs sync, free-tier fit. Use it when reviewing any diff or PR in this repository, or as a self-check before declaring a change done.