Blueprints Index
Full-file reference implementations. Agents MUST copy from blueprints instead of assembling partial examples from convention files.
Backend
| Blueprint | File |
|---|---|
| Program.cs (composition root) | backend/program-cs.md |
| AppHost | backend/apphost.md |
| Worker Program.cs | backend/worker-program-cs.md |
| Infrastructure DI | backend/infrastructure-service-registration.md |
| EndpointExtensions | backend/endpoint-extensions.md |
| Write endpoint | backend/write-endpoint.md |
| Outbox | backend/outbox.md |
| Idempotency | backend/idempotency.md |
| Architecture tests | backend/architecture-tests.md |
| Post state TPH | backend/post-state-tph.md |
| Integration test factory | backend/integration-test-factory.md |
| API acceptance tests | backend/api-acceptance-tests/acceptance-test-project.md |
Frontend
| Blueprint | File |
|---|---|
| Feature use case module | frontend/feature-use-case.md |
| Server Action | frontend/server-action.md |
| lib/env.ts | frontend/lib-env.md |
| lib/api/client.ts | frontend/lib-api-client.md |
| Auth.js auth.ts | frontend/auth-ts.md |
| next.config.ts | frontend/next-config.md |
| proxy.ts (auth + CSP) | frontend/proxy-ts.md |
| CSP headers (nonce) | frontend/csp-headers.md |
Templates (copy to consumer repos)
See docs/templates/ for CI workflow, Dockerfiles, global.json, domain doc templates, and infra.