Introduction
TanStack Start AI SaaS engine
What is ShipAny TanStack
ShipAny TanStack is an agent-native headless SaaS engine built on TanStack Start (Vite 8 + nitro, React 19) — designed from the ground up to be driven by Claude Code. The business logic is pre-wired (payments, credits, subscriptions, auth, RBAC, i18n, CMS) with minimal UI, and built-in agent skills turn high-level intents into working code — all the way to production:
/quick-start Build an AI wallpaper generator called WallpaperAI, reference jasper.ai
/deploy-cloudflareThat second command is real: one skill takes the project from local code to a live Cloudflare Workers deployment — D1 database, migrations, RBAC seed, secrets, deploy, admin account — fully automated and idempotent. See Deploy.
Agent-Native by Design
- Skills as the primary interface —
/quick-start,/clone-website,/new-page,/new-module,/deploy-cloudflare… each encodes the project's own conventions, so generated code always lands in the right place with the right patterns - Self-contained business logic — payment, email, storage, AI, auth live in
src/core/andsrc/modules/with no external business packages; agents can read and modify everything AGENTS.md/CLAUDE.mdship with the repo, teaching any coding agent the architecture, commands, and rules
See Agent Skills for the full catalog.
Built-in Engine Features
- Auth — Email/password + Google/GitHub OAuth via better-auth
- Payment — Stripe, Creem, Alipay, WeChat Pay (checkout, subscriptions, webhooks)
- Credits — FIFO consumption, expiration, auto-grant on signup
- RBAC — Roles, permissions, wildcard matching, admin panel management
- API Keys / Invite Codes / CMS — full CRUD with admin UI
- i18n — English + Chinese via Paraglide JS (compiled messages), locale-aware routing
Tech Stack
- Framework: TanStack Start (Vite 8 + nitro, React 19, TypeScript strict) — file-based routing under
src/routes/, no React Server Components; loaders and server functions handle server-side work - UI: shadcn/ui + Tailwind CSS 4
- Data fetching: TanStack Query v5 over a typed API client; Forms: TanStack Form + zod
- Auth: better-auth with Drizzle adapter
- Database: Drizzle ORM — PostgreSQL, MySQL, SQLite, Turso, Cloudflare D1
- i18n: Paraglide JS
Next Steps
- Quick Start — agent-driven or manual setup
- Agent Skills — the built-in skill catalog
- Deploy — one-command Cloudflare Workers deploy