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

add-to-project

하는 일

이 스킬은 Better-T-Stack으로 만든 프로젝트에 도구와 기능을 추가합니다. 도구 자체의 add 명령을 사용합니다. 직접 연결하지 않고 기존 Better-T-Stack 프로젝트를 확장하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓프로젝트에 bts.jsonc 파일이 있고 도구나 기능을 추가하고 싶을 때.
  • ✓Better-T-Stack 프로젝트에 린트, git 훅, 문서 사이트를 추가하고 싶을 때.
  • ✓기존 프로젝트에 공유 워크스페이스 패키지를 추가하고 싶을 때.

스킬 링크

https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/add-to-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/add-to-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에게 요청하는 예시

“내 Better-T-Stack 프로젝트에 PWA 지원과 Biome을 추가해 주세요.”

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

작동 방식

에이전트가 스택 파일을 읽고, 시험 실행(dry run)으로 변경을 계획한 뒤, 선택한 애드온을 적용해 스택 파일을 최신 상태로 유지합니다.

기술 내용 (원본 SKILL.md)

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

  1. Read bts.jsonc. It tells you the current stack. If it's missing, add can't run. Tell the user instead of recreating the file. Never edit it by hand.

  2. 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 from bts_get_schema or npx create-better-t-stack@latest schema --name addonOptions.

  3. 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 workspace package name, or both. Show the user what will change, including any conflict the plan reports.

  4. Apply after the user agrees: bts_add_addons, or add-json without dryRun.

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

  6. 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, nx and vite-plus are task runners. A project can have one.
  • axiom can'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", or add --package shared) scaffolds packages/shared with a manifest, the shared tsconfig and src/index.ts.

Rules

  • Plan before every apply.
  • Don't add addons the user didn't ask for.
  • Never hand-edit bts.jsonc.
자주 묻는 질문

bts.jsonc 파일이 없으면 어떻게 하나요?

add 절차를 실행할 수 없으므로, 파일을 새로 만들지 않고 그 사실을 알려 줍니다.

적용 전에 시험 실행을 하나요?

네. 변경을 적용하기 전에 먼저 계획합니다.

새 프로젝트에도 쓰나요?

아니요. 새 프로젝트에는 별도의 scaffold 스킬을 사용합니다.

상세 정보

작성자의 원본 설명

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.

repo: AmanVarshney01/create-better-t-stack

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬