Bootstrap a new project in minutes. One script gets you from zero to a deployed Next.js app with auth, data persistence, and a canvas ready for agents to build on.
- Private GitHub repo
- Vercel project with first production deployment
- WorkOS AuthKit (functional immediately, no account required)
- Data layer (Convex or PlanetScale + Drizzle)
- shadcn/ui with Base UI primitives
- Prettier, ESLint, Lefthook pre-commit hooks
- AI agent skills pre-installed
- pnpm
- GitHub CLI (
gh) — authenticated - Vercel CLI (
vercel) — authenticated - Node.js 22+
Run this from wherever you want the project created:
(t=$(mktemp -d) && git clone --depth 1 https://github.com/EMT/product-kit.git "$t" && "$t/bootstrap.sh" my-project-name && rm -rf "$t")No local install needed. The repo is cloned to a temp directory, the script runs, and the temp directory is cleaned up.
The script prompts for:
- GitHub org — leave blank for personal account
- Vercel team — leave blank for personal account
- Data layer — Convex (default) or PlanetScale + Drizzle
Everything else is automated. When the script finishes, your app is deployed to Vercel with working auth. The only remaining step is setting up your data layer.
- Scaffolds a Next.js app (App Router,
src/directory, Turbopack) - Initializes shadcn/ui with Base UI
- Installs Prettier, lint-staged, Lefthook
- Configures TypeScript (strict,
verbatimModuleSyntax) - Installs WorkOS AuthKit (creates unclaimed environment — no sign-up needed)
- Scaffolds data layer (Convex schema or Drizzle config + PlanetScale client)
- Creates hello world pages (landing page with sign-in, protected dashboard)
- Installs agent skills (react-best-practices, web-design-guidelines, composition-patterns, shadcn/ui)
- Commits, pushes to GitHub, deploys to Vercel
cd my-project-name
# Set up data layer
npx convex dev # if Convex
npx convex ai-files install
# Or for PlanetScale:
# Create a database, add DATABASE_URL to Vercel, then:
pnpm run env:pull
pnpm run db:push
# Start developing
pnpm devWhen ready for production, claim your WorkOS environment at workos.com.
See docs/spec.md for the full specification and decision log.