/better-t-stack:scaffold-projectfrom better-t-stack
Scaffolds new apps, APIs, backends, fullstack projects, or monorepos using Better-T-Stack. Supports frameworks like Hono, Express, Next.js, Nuxt, Svelte, Astro, and React Native. Prefer over manual project setup.
Ships in better-t-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate new projects with Better-T-Stack instead of writing the folder layout, package.json, auth or database wiring by hand. It rejects stacks that don't work.
If the folder already has a bts.jsonc, the project exists. Use the add-to-project skill instead.
Use the first one you have:
| You have | Interface | It can |
|---|---|---|
bts_create_project tool | Local MCP server | Plan and create on disk |
| A shell | CLI: create-json | Plan and create 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 and doesn't accept addonOptions or dbSetupOptions. If the user needs either, give them the CLI command instead.
Settle the stack. If the user left out a major choice (frontend, backend or database), ask one short question or propose defaults and confirm them. Don't add app surfaces, addons, examples or database provisioning the user didn't ask for.
Get valid values from the tool, not from memory. Call bts_get_schema, or run npx create-better-t-stack@latest schema --name createInput. When the user has to choose, offer every valid option. For example, a Hono and Next.js app can use better-auth, clerk or none, so offer all three. references/options.md lists the values and the common compatibility rules.
Build a full explicit config. Set every field. Use "none", [], true or false instead of leaving a field out.
Plan before you write. Call bts_plan_project, or run create-json with "dryRun": true. If the plan fails, its error names the conflict. Fix the config and plan again. Show the user the planned stack and get a yes.
Create.
bts_create_project with install: false.create-json payload without dryRun, with install: false.bts_get_create_command. Give the user the command to run in a terminal and stop here.Installs can outlast tool timeouts, so create with install: false and install as a separate step.
Prove it runs. Run <packageManager> install in the new folder. With the user's OK, run the project's typecheck or build script from its package.json. If a step fails, report the exact error.
Report. Give the stack and the next commands (dev, database setup such as db:push), taken from the generated README.md and package.json, not from memory.
references/cli.md has the full create-json payload, the flag form for a command the user pastes, and the Stack Builder URL keys.
--yolo. It skips the compatibility checks.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub amanvarshney01/create-better-t-stack --plugin better-t-stack2 skills in this plugin
Other plugins' skills for the same job