Are you the author? Sign in to claim
SaaS template for Claude Code agents — SvelteKit + Postgres + Drizzle skeleton with auth, multi-tenancy, and production
A SaaS starter for projects built with Claude Code agents end-to-end.
It's two things bundled together:
CLAUDE.md, AGENTS/ (DNA guardrails, invariants, environment notes, scheduled-jobs registry, mistake/deferred/verification ledgers), and a cold adversarial-review subagent — designed so an agent can take a feature from "describe it" to "merged, deployed, verified" with minimal hand-holding.git clone <this-repo> my-new-saas
cd my-new-saas
rm -rf .git && git init # start fresh
Then start an agent in the new repo and tell it:
Read
TEMPLATE.mdand bootstrap this project namedmy-new-saasfor . Issue tracker: . The human is <2-sentence profile>.
The agent will fill in placeholders, set up env vars, walk you through provider config, and you'll be running locally within minutes.
See TEMPLATE.md for the full bootstrap checklist and CLAUDE.md for what the agent workflow actually does once you're up.
.claude/ # /cleanse command + adversarial-reviewer subagent (other skills you author per-project)
AGENTS/ # Agent guardrails
CLAUDE.md # (at repo root) — the master contract
DNA/ # Architectural rulings: PRODUCT, ARCHITECTURE, DECISIONS, INVARIANTS, DESIGN, UI_SPEC, DEVELOPMENT, DEVELOPMENT_SETUP
HUMAN_TODO.md # Things only the human can do (third-party signups, etc.)
DEFERRED.md # Tech-debt ledger with explicit triggers
POST_MERGE_VERIFICATION.md # Programmatic checks queued for after deploy
AGENT_MISTAKES.md # Self-test failure log used by /cleanse for systemic fixes
ENVIRONMENT_NOTES.md # Environment traps + shared-resource facts (record-keeping, not DNA)
SCHEDULED_JOBS.md # Registry of recurring jobs, each with an absence-alarm
SPECS/ # Design-mock workflow (mocks are the spec an agent implements from)
app/ # The SvelteKit app
src/ # Auth, dashboard shell, settings, API key management
drizzle/ # 0000_init.sql — auth + multi-tenancy
scripts/ # CLI: create-org, create-super-admin, impersonate, migrate-sync
nginx/ # nginx with native ACME (no certbot)
terraform/ # Hetzner Cloud provisioning
scripts/ # deploy.sh (zero-downtime canary), sync-backups.sh
.github/workflows/ # Build → push to GHCR → SSH deploy
docker-compose.yml # Local dev Postgres
docker-compose.prod.yml # Production stack
MIT — copy, adapt, and build on it freely.
A tool-agnostic AI-assisted development framework template. Structured workflow (Spec → Plan → Implement → Review) with
CLAUDE.md + PROGRESS.md templates for AI-assisted productivity
Opinionated, agent-native Rails template — the production Rails starter ZAR uses internally, packaged with a CLAUDE.md o
Claude Code governance templates by tech stack : CLAUDE.md, scoped rules, architecture docs, cost control & dev-level ad