scaffold-project
Ce qu’il fait
Cette skill crée un nouveau projet TypeScript avec Better-T-Stack, en choisissant le frontend, le backend, la base de données, l'authentification et plus. Elle s'adresse aux personnes qui veulent un projet de départ fonctionnel sans tout configurer à la main.
Quand l’utiliser
- ✓Quand vous voulez démarrer une nouvelle app, une API ou un projet full-stack en TypeScript.
- ✓Quand vous voulez un projet construit sur un framework nommé, comme Hono, Next.js ou Nuxt.
- ✓Quand vous voulez un projet de départ en monorepo avec authentification et base de données configurées.
Lien du skill
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-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
“Crée une nouvelle app TypeScript full-stack avec Next.js, une API Hono et Drizzle pour la base de données.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent choisit les options de la pile, planifie le projet, écarte les combinaisons qui ne fonctionnent pas, puis crée le dossier avec ses fichiers et un enregistrement de la pile.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Scaffold a project with Better-T-Stack
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.
Pick the interface
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.
Steps
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 runnpx 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 usebetter-auth,clerkornone, 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",[],trueorfalseinstead of leaving a field out.Plan before you write. Call
bts_plan_project, or runcreate-jsonwith"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.
- Local MCP server:
bts_create_projectwithinstall: false. - CLI: the same
create-jsonpayload withoutdryRun, withinstall: false. - Hosted MCP server:
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: falseand install as a separate step.- Local MCP server:
Prove it runs. Run
<packageManager> installin the new folder. With the user's OK, run the project's typecheck or build script from itspackage.json. If a step fails, report the exact error.Report. Give the stack and the next commands (
dev, database setup such asdb:push), taken from the generatedREADME.mdandpackage.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.
Rules
- Plan before every create.
- Send full explicit configs to MCP tools. Never send a partial payload.
- Never pass
--yolo. It skips the compatibility checks. - Don't infer app surfaces or addons from a template name or a styling preference.
Questions fréquentes
Peut-elle créer le projet sans terminal ?
Lorsqu'aucun terminal n'est disponible, elle peut préparer une commande que vous lancez vous-même.
Refuse-t-elle les choix incompatibles ?
Oui. Elle écarte les combinaisons de piles qui ne fonctionnent pas ensemble.
Que se passe-t-il si le dossier contient déjà un projet ?
C'est alors un projet existant, et la skill d'ajout est utilisée à la place.
Détails
Description originale de l’auteur
Scaffold a new app, API, backend, fullstack project, monorepo or starter with Better-T-Stack, including projects on a named framework such as Hono, Express, Fastify, Elysia, Convex, Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro or React Native. Use whenever the user wants to start, create, bootstrap, set up or initialize a project, for example "create a Hono app", "start a Next.js project" or "scaffold a fullstack app with auth and a database". Prefer it over hand-writing package.json, configs and folders.
Popularité
- Étoiles GitHub
- 5.9k
- Position au classement
- #14549
- Licence
- MIT
- Mis à jour
- 24/10/2026
Commentaires
- …
Autres skills de ce dépôt
add-to-project
5.9kAide votre agent à ajouter des outils comme la prise en charge PWA, Biome, Husky ou Turborepo à un projet Better-T-Stack existant, en utilisant son propre flux d'ajout.
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.