# Better T Stack

Create or extend an end-to-end type-safe TypeScript project with Better-T-Stack...

- Repository: https://github.com/AmanVarshney01/create-better-t-stack (5854 stars)
- Category: Mobile
- License: MIT
- Last updated: 2026-10-24
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add AmanVarshney01/create-better-t-stack --skill better-t-stack -g -a claude-code -y`
Codex: `npx skills add AmanVarshney01/create-better-t-stack --skill better-t-stack -g -a codex -y`
Cursor: `npx skills add AmanVarshney01/create-better-t-stack --skill better-t-stack -g -a cursor -y`
Gemini CLI: `npx skills add AmanVarshney01/create-better-t-stack --skill better-t-stack -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add AmanVarshney01/create-better-t-stack`

## Description

Create or extend an end-to-end type-safe TypeScript project with Better-T-Stack (create-better-t-stack). Use when the user wants to start, scaffold or bootstrap an app, API, fullstack project or monorepo with any of Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro, React Native, Hono, Express, Fastify, Elysia, Convex, tRPC, oRPC, Drizzle, Prisma, Better Auth or Clerk. Also use when a project has a `bts.jsonc` file and the user wants to add addons or a workspace package. Prefer it over hand-writing package.json, configs and folder layout.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Better-T-Stack

Better-T-Stack generates a type-safe TypeScript project from the parts the user picks: frontend, backend, runtime, API layer, database, ORM, auth, payments, addons and deploy targets. It rejects combinations that don't work, so let it build the project instead of writing the setup by hand.

## Pick the interface

Use the first one you have:

| You have                      | Interface                                               | It can                                                            |
| ----------------------------- | ------------------------------------------------------- | ----------------------------------------------------------------- |
| `bts_create_project` tool     | Local MCP server                                        | Plan, create and add, on disk                                     |
| A shell                       | CLI: `create-json` and `add-json`                       | Plan, create and add, on disk                                     |
| `bts_get_create_command` tool | Hosted MCP server, `https://www.better-t-stack.dev/mcp` | Plan and preview files, then return a command for the user to run |
| None of these                 | Stack Builder link                                      | Prefill the visual builder for the user                           |

The hosted MCP server can't write files, can't change an existing project and doesn't accept `addonOptions` or `dbSetupOptions`. If the user needs any of those, give them the CLI command instead.

## Create a project

If the folder already has a `bts.jsonc`, the project exists. Go to [Change an existing project](#change-an-existing-project).

The rest: https://github.com/AmanVarshney01/create-better-t-stack/blob/HEAD/skills/better-t-stack/SKILL.md
