/better-t-stack:add-to-projectfrom better-t-stack
Adds addons, tooling, or workspace packages to an existing Better-T-Stack project. Reads bts.jsonc, plans changes, and applies them via the CLI or MCP tool.
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.
None: SKILL.md is the whole skill.
Add tooling to a Better-T-Stack project with its add flow instead of wiring it by hand. For a new project, use the scaffold-project skill.
bts.jsonc at the project root records the stack chosen at creation and a reproducibleCommand that recreates it. The add flow reads it to detect the stack and updates it afterwards.
bts_add_addons tool: the local MCP server.add-json.bunx create-better-t-stack@latest add --addons <names>, using the project's package runner.The hosted MCP server can't change an existing project.
Read bts.jsonc. It tells you the current stack. If it's missing, add can't run. Tell the user instead of recreating the file. Never edit it by hand.
Check nested options. Some addons take options in addonOptions: the Fumadocs template, search and AI chat, the WXT and OpenTUI templates, the MCP addon's servers and agents, and the Skills addon's sources. Get their shape from bts_get_schema or npx create-better-t-stack@latest schema --name addonOptions.
Plan. Call bts_plan_addons, or run:
npx create-better-t-stack@latest add-json --json '{
"projectDir": "./my-app",
"addons": ["pwa", "biome"],
"dryRun": true
}'
Pass addons, a workspace package name, or both. Show the user what will change, including any conflict the plan reports.
Apply after the user agrees: bts_add_addons, or add-json without dryRun.
Prove it runs. Run <packageManager> install. With the user's OK, run the project's typecheck or build script. Report the exact error if a step fails.
Report what changed and the follow-up commands.
Addons: pwa, tauri, electrobun, starlight, fumadocs, biome, oxlint, ultracite, husky, lefthook, turborepo, nx, vite-plus, mcp, skills, opentui, wxt, evlog.
turborepo, nx and vite-plus are task runners. A project can have one.axiom can't be added later. It sets up deployment infrastructure, so it must be chosen at creation. If the user asks for it, say so instead of planning it.package: "shared", or add --package shared) scaffolds packages/shared with a manifest, the shared tsconfig and src/index.ts.bts.jsonc.What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub amanvarshney01/create-better-t-stack --plugin better-t-stackOther plugins' skills for the same job