add-to-project
Ce qu’il fait
Cette skill ajoute des outils et des fonctionnalités à un projet créé avec Better-T-Stack, en utilisant la commande d'ajout de l'outil. Elle s'adresse aux développeurs qui veulent enrichir un projet Better-T-Stack existant sans tout câbler à la main.
Quand l’utiliser
- ✓Quand un projet contient un fichier bts.jsonc et que vous voulez y ajouter un outil ou une fonctionnalité.
- ✓Quand vous voulez ajouter du lint, des crochets git ou un site de documentation à un projet Better-T-Stack.
- ✓Quand vous voulez ajouter un paquet d'espace de travail partagé à un projet existant.
Lien du skill
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/add-to-project/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Ajoute la prise en charge PWA et Biome à mon projet Better-T-Stack.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent lit le fichier de pile du projet, prévoit la modification avec un essai à blanc, puis applique les modules complémentaires choisis afin que le fichier de pile reste à jour.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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.
Questions fréquentes
Que se passe-t-il si le projet n'a pas de fichier bts.jsonc ?
Le flux d'ajout ne peut pas fonctionner, et l'agent vous le signale au lieu de recréer le fichier.
Fait-elle d'abord un essai à blanc ?
Oui. Elle prévoit la modification avant de l'appliquer.
S'agit-il d'un nouveau projet ?
Non. Pour un nouveau projet, c'est la skill de scaffolding séparée qui est utilisée.
Détails
Description originale de l’auteur
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.
Popularité
- Étoiles GitHub
- 5.9k
- Position au classement
- #14548
- Licence
- MIT
- Mis à jour
- 24/10/2026
Commentaires
- …
Autres skills de ce dépôt
scaffold-project
5.9kAide votre agent à créer un nouveau projet full-stack ou API avec Better-T-Stack, en choisissant des frameworks compatibles et en évitant les combinaisons qui ne fonctionnent pas.
better-t-stack
5.9kApprend à votre agent à créer ou étendre des projets TypeScript de bout en bout, sûrs au niveau des types, avec Better-T-Stack, du frontend à la base de données et à l'authentification.
Skills similaires
diffs
394kPermet à votre agent de produire un diff réel et partageable de vos modifications, sous forme de lien ou d'image, plutôt qu'un résumé écrit à la main.
coding-agent
394kAide votre agent à confier une tâche de programmation plus importante à Codex, Claude Code ou OpenCode comme travailleur en arrière-plan, puis à suivre sa progression.
gh-issues
394kAide votre agent à trouver des tickets GitHub, choisir ceux à traiter et ouvrir des pull requests avec des correctifs, y compris le suivi des commentaires de relecture.