Getting started
themarch/dev is an opinionated, AI-first dev environment that you can drop on top of any TypeScript project — or use to scaffold a new one.
Install
Section titled “Install”# Try without installingnpx @themarch/cli init my-app
# Or install globallypnpm add -g @themarch/cliScaffold a new project
Section titled “Scaffold a new project”themarch init my-app --template saas-b2bcd my-appcp .env.example .envdocker compose up -d # Postgres + Redispnpm db:migratepnpm devIn ≈ 30 minutes you have a multi-tenant SaaS B2B app with auth, RLS, and end-to-end type safety.
Enhance an existing project
Section titled “Enhance an existing project”cd my-existing-repothemarch enhance .This detects your stack and (with your confirmation) adds:
.cursorrules— variant matched to your stack profileCLAUDE.md— workflow + pitfalls.themarch/skills/— pointer to the catalog.cursor/mcp.json— project-local MCP servers
Run it twice; the second run is a no-op (idempotent).
Add a feature
Section titled “Add a feature”themarch add-feature itemsThis chains the canonical pipeline: add-table → add-rls → add-zod-schema → add-trpc-router → add-page → add-test-e2e. The default is --dry-run so you preview before applying. Pass --apply to write changes.
What next?
Section titled “What next?”- CLI reference — every command and flag
- Skills catalog — the 30 built-in skills
- Templates —
saas-b2b,api-only,lib - MCP servers — query Postgres, run skills, read docs from Claude