add-to-project
What it does
This skill adds tooling and features to a project created with Better-T-Stack, using the tool's own add command. It is for developers who want to extend an existing Better-T-Stack project without wiring things by hand.
When to use it
- ✓When a project has a bts.jsonc file and you want to add a tool or feature to it.
- ✓When you want to add linting, git hooks or a docs site to a Better-T-Stack project.
- ✓When you want to add a shared workspace package to an existing project.
Skill link
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/add-to-project/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Add PWA support and Biome to my Better-T-Stack project.”
5 new skills a week. 1 minute to read.
How it works
The agent reads the project's stack file, plans the change with a dry run, and applies the chosen addons so the stack file stays up to date.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Add to an existing Better-T-Stack project
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.
Pick the interface
bts_add_addonstool: the local MCP server.- A shell: the CLI's
add-json. - Neither: give the user the command
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.
Steps
Read
bts.jsonc. It tells you the current stack. If it's missing,addcan'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 frombts_get_schemaornpx 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 workspacepackagename, or both. Show the user what will change, including any conflict the plan reports.Apply after the user agrees:
bts_add_addons, oradd-jsonwithoutdryRun.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.
What can be added
Addons: pwa, tauri, electrobun, starlight, fumadocs, biome, oxlint, ultracite, husky, lefthook, turborepo, nx, vite-plus, mcp, skills, opentui, wxt, evlog.
turborepo,nxandvite-plusare task runners. A project can have one.axiomcan'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.- A workspace package (
package: "shared", oradd --package shared) scaffoldspackages/sharedwith a manifest, the shared tsconfig andsrc/index.ts.
Rules
- Plan before every apply.
- Don't add addons the user didn't ask for.
- Never hand-edit
bts.jsonc.
FAQ
What if the project has no bts.jsonc file?
The add flow cannot run, so the agent tells you rather than recreating the file.
Does it do a dry run first?
Yes. It plans the change before applying it.
Is this for a new project?
No. For a new project, the separate scaffold skill is used.
Details
Original description by the author
Add addons, tooling or a workspace package to an existing Better-T-Stack project, such as PWA, Tauri, Starlight or Fumadocs docs, Biome, Oxlint, Ultracite, Husky, Lefthook, Turborepo, Nx, the MCP or Skills addon, or a shared `packages/<name>`. Use when the project has a `bts.jsonc` file and the user wants to extend it or add tooling.
Popularity
- GitHub stars
- 5.9k
- Ranking position
- #14548
- License
- MIT
- Updated
- 10/24/2026
Comments
- …
More skills from this repository
scaffold-project
5.9kHelps your agent create a new full-stack or API project with Better-T-Stack, choosing frameworks that work together and skipping broken combinations.
better-t-stack
5.9kTeaches your agent to create or extend end-to-end type-safe TypeScript projects with Better-T-Stack, from frontend to database and auth.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.