A SaaS starter for projects built with Claude Code agents end-to-end.
It's two things bundled together:
CLAUDE.md, AGENTS/DNA/, and .claude/commands/ — 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/ # Slash commands: /issue, /cleanse, /sweep, /stage, /ship, /redeploy, …
AGENTS/ # Agent guardrails
CLAUDE.md # (at repo root) — the master contract
DNA/ # Architectural rulings: PRODUCT, ARCHITECTURE, DECISIONS, 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
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