better-t-stack
하는 일
이 스킬은 Better-T-Stack으로 고른 부품에 맞춰 타입이 안전한 TypeScript 프로젝트를 생성하는 방법을 설명합니다. 직접 설정을 연결하지 않고 일관되고 동작하는 스택을 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓선택한 스택으로 앱, API 또는 풀스택 프로젝트를 시작하고 싶을 때.
- ✓기존 Better-T-Stack 프로젝트에 데이터베이스, 인증, 애드온을 추가하고 싶을 때.
- ✓동작하지 않는 조합이 있는지 스택을 확인하고 싶을 때.
스킬 링크
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/skills/better-t-stack/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Better-T-Stack을 사용해 React, tRPC, Drizzle, Better Auth로 타입이 안전한 프로젝트를 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 환경에 맞는 도구를 골라 스택을 계획하고, 디스크에 프로젝트를 만들거나 실행할 명령을 알려 주며, 스택 기록을 프로젝트 파일에 남깁니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Better-T-Stack
Better-T-Stack generates a type-safe TypeScript project from the parts the user picks: frontend, backend, runtime, API layer, database, ORM, auth, payments, addons and deploy targets. It rejects combinations that don't work, so let it build the project instead of writing the setup by hand.
Pick the interface
Use the first one you have:
| You have | Interface | It can |
|---|---|---|
bts_create_project tool |
Local MCP server | Plan, create and add, on disk |
| A shell | CLI: create-json and add-json |
Plan, create and add, 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, can't change an existing project and doesn't accept addonOptions or dbSetupOptions. If the user needs any of those, give them the CLI command instead.
Create a project
If the folder already has a bts.jsonc, the project exists. Go to Change an existing project.
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, not a subset. references/options.md lists the values and the compatibility rules that come up most, but the schema wins if they differ.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.
Change an existing project
bts.jsonc at the project root records the stack chosen at creation and a reproducibleCommand that recreates it. The add command reads it to detect the stack.
- Read
bts.jsoncfirst. If it's missing,addcan't run. Tell the user instead of recreating the file. Never edit it by hand.addupdates it. - Plan. Call
bts_plan_addons, or runadd-jsonwith"dryRun": true. Passaddons, a workspacepackagename, or both. Show the user what will change. - Apply after the user agrees:
bts_add_addons, oradd-jsonwithoutdryRun. - Prove it runs and report, as in steps 6 and 7 above.
axiom can't be added later. It sets up deployment infrastructure, so it must be chosen at creation. A workspace package (package: "shared") scaffolds packages/shared with a manifest, the shared tsconfig and src/index.ts.
Rules
- Plan before every create or add.
- Send full explicit configs t
자주 묻는 질문
어떤 스택을 다루나요?
Next.js, Nuxt, Svelte, Hono, Express, Convex를 포함한 많은 프레임워크를 다룹니다.
설정을 손으로 직접 쓰나요?
아니요. 설정을 직접 쓰지 않고, 고른 부품으로 프로젝트를 생성합니다.
기존 프로젝트에 추가할 수 있나요?
네. 스택 기록이 있는 프로젝트에는 애드온을 추가할 수 있습니다.
상세 정보
작성자의 원본 설명
Create or extend an end-to-end type-safe TypeScript project with Better-T-Stack (create-better-t-stack). Use when the user wants to start, scaffold or bootstrap an app, API, fullstack project or monorepo with any of Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro, React Native, Hono, Express, Fastify, Elysia, Convex, tRPC, oRPC, Drizzle, Prisma, Better Auth or Clerk. Also use when a project has a `bts.jsonc` file and the user wants to add addons or a workspace package. Prefer it over hand-writing package.json, configs and folder layout.
인기도
- GitHub 스타
- 5.9k
- 순위
- #14550
- 라이선스
- MIT
- 업데이트
- 2026. 10. 24.
댓글
- …