Skip to content

Blueprints Index

Full-file reference implementations. Agents MUST copy from blueprints instead of assembling partial examples from convention files.

Backend

BlueprintFile
Program.cs (composition root)backend/program-cs.md
AppHostbackend/apphost.md
Worker Program.csbackend/worker-program-cs.md
Infrastructure DIbackend/infrastructure-service-registration.md
EndpointExtensionsbackend/endpoint-extensions.md
Write endpointbackend/write-endpoint.md
Outboxbackend/outbox.md
Idempotencybackend/idempotency.md
Architecture testsbackend/architecture-tests.md
Post state TPHbackend/post-state-tph.md
Integration test factorybackend/integration-test-factory.md
API acceptance testsbackend/api-acceptance-tests/acceptance-test-project.md

Frontend

BlueprintFile
Feature use case modulefrontend/feature-use-case.md
Server Actionfrontend/server-action.md
lib/env.tsfrontend/lib-env.md
lib/api/client.tsfrontend/lib-api-client.md
Auth.js auth.tsfrontend/auth-ts.md
next.config.tsfrontend/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.