본문으로 건너뛰기
Skillpedia
일반 코딩5.9k · #14549

scaffold-project

하는 일

이 스킬은 Better-T-Stack으로 새 TypeScript 프로젝트를 만듭니다. 프론트엔드, 백엔드, 데이터베이스, 인증 등을 고릅니다. 직접 설정하지 않고 바로 동작하는 시작 프로젝트를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓TypeScript로 새 앱, API 또는 풀스택 프로젝트를 시작하고 싶을 때.
  • ✓Hono, Next.js, Nuxt처럼 이름이 정해진 프레임워크로 프로젝트를 만들고 싶을 때.
  • ✓인증과 데이터베이스가 설정된 모노레포 시작 프로젝트가 필요할 때.

스킬 링크

https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-project/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-project/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Next.js, Hono API, Drizzle 데이터베이스를 쓰는 새 풀스택 TypeScript 앱을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 스택 옵션을 고르고, 프로젝트를 계획하고, 동작하지 않는 조합은 거부한 뒤, 파일과 스택 기록이 들어 있는 폴더를 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

  1. 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.

  2. Get valid values from the tool, not from memory. Call bts_get_schema, or run npx 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 use better-auth, clerk or none, so offer all three. references/options.md lists the values and the common compatibility rules.

  3. Build a full explicit config. Set every field. Use "none", [], true or false instead of leaving a field out.

  4. Plan before you write. Call bts_plan_project, or run create-json with "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.

  5. Create.

    • Local MCP server: bts_create_project with install: false.
    • CLI: the same create-json payload without dryRun, with install: 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: false and install as a separate step.

  6. Prove it runs. Run <packageManager> install in the new folder. With the user's OK, run the project's typecheck or build script from its package.json. If a step fails, report the exact error.

  7. Report. Give the stack and the next commands (dev, database setup such as db:push), taken from the generated README.md and package.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.
자주 묻는 질문

셸 없이도 프로젝트를 만들 수 있나요?

셸을 쓸 수 없는 환경에서는 직접 실행할 명령을 준비해 줄 수 있습니다.

호환되지 않는 선택을 막나요?

네. 함께 동작하지 않는 스택 조합은 거부합니다.

폴더에 이미 프로젝트가 있으면 어떻게 하나요?

그러면 기존 프로젝트이므로 add 스킬을 대신 사용합니다.

상세 정보

작성자의 원본 설명

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.

repo: AmanVarshney01/create-better-t-stack

인기도

GitHub 스타
5.9k
순위
#14549
라이선스
MIT
업데이트
2026. 10. 24.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬