scaffold-project
O que ela faz
Esta skill cria um projeto TypeScript novo com o Better-T-Stack, escolhendo frontend, backend, banco de dados, autenticação e outros itens. É para quem quer um projeto inicial funcionando sem configurar tudo à mão.
Quando usar
- ✓Quando você quer começar um app, uma API ou um projeto full-stack novo em TypeScript.
- ✓Quando você quer um projeto baseado em um framework específico, como Hono, Next.js ou Nuxt.
- ✓Quando você quer um modelo de monorepo com autenticação e banco de dados já configurados.
Link da skill
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-project/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Crie um app TypeScript full-stack novo com Next.js, uma API Hono e o Drizzle para o banco de dados.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente escolhe as opções da stack, planeja o projeto, descarta combinações que não funcionam e depois cria a pasta com seus arquivos e um registro da stack.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
Ela consegue criar o projeto sem um terminal?
Quando não há terminal disponível, ela pode preparar um comando para você rodar.
Ela impede escolhas incompatíveis?
Sim. Ela descarta combinações de stack que não funcionam juntas.
E se a pasta já tiver um projeto?
Então é um projeto existente, e a skill de adição é usada no lugar.
Detalhes
Descrição original do autor
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.
Popularidade
- Estrelas no GitHub
- 5,9 mil
- Posição no ranking
- #14549
- Licença
- MIT
- Atualizada em
- 24/10/2026
Comentários
- …
Mais skills deste repositório
add-to-project
5,9 milAjuda seu agente a adicionar ferramentas como suporte a PWA, Biome, Husky ou Turborepo a um projeto Better-T-Stack existente, usando o próprio fluxo de adição.
better-t-stack
5,9 milEnsina seu agente a criar ou ampliar projetos TypeScript de tipagem segura de ponta a ponta com o Better-T-Stack, do frontend ao banco de dados e à autenticação.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.