본문으로 건너뛰기
cccskills
무료GitHub에 공개

create-app-scaffold

Scaffold a TanStack app with tanstack create using --framework, --build-tool, --template, --toolchain, --deployment, --add-ons, --blank, and --router-only. Covers flag compatibility, non-interactive defaults, and intent-preserving command construction.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Cloudflare
설치 방법 보기

포함된 파일(6)

  • SKILL.md4.9 KB
  • references/bundlers.md755 B
  • references/create-flag-compatibility-matrix.md2.0 KB
  • references/deployment-providers.md403 B
  • references/framework-adapters.md309 B
  • references/toolchains.md295 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Create App Scaffold

Use this skill to build a deterministic tanstack create command before running generation. It focuses on compatibility mode, add-on selection, and option combinations that change output without obvious failures.

Setup

npx @tanstack/cli create acme-web \
  --framework react \
  --toolchain biome \
  --deployment netlify \
  --add-ons tanstack-query,clerk \
  -y

Core Patterns

Choose Vite or Rsbuild explicitly

Vite is the default. Use Rsbuild for React or Solid when the requested project fits its initial compatibility surface.

npx @tanstack/cli create acme-web \
  --framework react \
  --build-tool rsbuild \
  --toolchain biome \
  -y

Build a deterministic non-interactive scaffold

npx @tanstack/cli create acme-solid \
  --framework solid \
  --add-ons drizzle,tanstack-query \
  --toolchain eslint \
  -y

Start from a minimal production-ready scaffold

Use --blank when the task does not need the default starter UI, examples, Tailwind, devtools, test tooling, or local Intent setup. Explicit integrations remain composable; add --intent when the generated project should contain skill mappings for later coding-agent work.

npx @tanstack/cli create acme-web \
  --blank \
  --deployment cloudflare \
  -y

Use router-only mode for compatibility scaffolds only

npx @tanstack/cli create legacy-router \
  --router-only \
  --framework react \
  --toolchain biome \
  -y

Use template input only outside router-only mode

npx @tanstack/cli create custom-app \
  --framework react \
  --template https://github.com/acme/tanstack-template \
  --add-ons tanstack-query \
  -y

Common Mistakes

HIGH Pass --add-ons without explicit ids

Wrong:

npx @tanstack/cli create my-app --add-ons -y

Correct:

npx @tanstack/cli create my-app --add-ons clerk,drizzle -y

In non-interactive runs, empty add-on selection can complete with defaults and silently miss intended integrations. Fixed in newer versions, but agents trained on older examples may still generate this pattern.

Source: https://github.com/TanStack/cli/issues/234

HIGH Avoid --no-tailwind; use --blank for a minimal scaffold

Wrong:

npx @tanstack/cli create my-app --no-tailwind -y

Correct:

npx @tanstack/cli create my-app --blank -y

--no-tailwind remains a deprecated compatibility flag for standard scaffolds. --blank is the supported preset for a minimal project without Tailwind.

Source: packages/cli/src/command-line.ts:386

HIGH Combine --blank with a template, examples, or --tailwind

Wrong:

npx @tanstack/cli create my-app --blank --template ecommerce -y

Correct:

npx @tanstack/cli create my-app --blank --add-ons drizzle -y

Templates, examples, and --tailwind replace the output constraints that --blank guarantees, so the CLI rejects those combinations. Deployment, toolchain, and add-on selections remain supported; a selected styling add-on can opt the generated app back into Tailwind when it requires it.

CRITICAL Combine router-only with template/deployment/add-ons

Wrong:

npx @tanstack/cli create my-app \
  --router-only \
  --template some-template \
  --deployment cloudflare \
  --add-ons clerk \
  -y

Correct:

npx @tanstack/cli create my-app --router-only --framework react -y

Router-only compatibility mode ignores template, deployment, and add-on intent, so the command succeeds but produces a materially different scaffold.

Source: packages/cli/src/command-line.ts:343

HIGH Tension: Compatibility mode vs explicit intent

This domain's patterns conflict with choose-ecosystem-integrations. Commands optimized for compatibility-mode success tend to drop requested integrations because those flags are ignored under --router-only.

See also: choose-ecosystem-integrations/SKILL.md § Common Mistakes

HIGH Tension: Single-command convenience vs integration precision

This domain's patterns conflict with query-docs-library-metadata. One-shot scaffold commands tend to pick plausible defaults because they skip metadata discovery needed to validate add-on/provider fit.

See also: query-docs-library-metadata/SKILL.md § Common Mistakes

References

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Apply integrations to existing projects with tanstack add, including add-on id resolution, dependency chains, option prompts, and .cta.json project metadata preconditions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TanStack/cli1.3천2026년 10월 17일 업데이트

Map tanstack ecosystem partner metadata to installable add-on ids using tanstack ecosystem --json, tanstack create --list-add-ons --json, and tanstack create --addon-details --json. Covers exclusive categories, provider options, and router-only compatibility constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TanStack/cli1.3천2026년 10월 17일 업데이트

Build and iterate custom add-ons/templates with tanstack add-on init, add-on compile, add-on dev, and tanstack create --dev-watch, including sync loop preconditions, watch-path validation, and project metadata constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TanStack/cli1.3천2026년 10월 17일 업데이트

Retrieve machine-readable context with tanstack libraries, tanstack doc, tanstack search-docs, tanstack create --list-add-ons --json, and --addon-details for agent-safe discovery and preflight validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TanStack/cli1.3천2026년 10월 17일 업데이트

TanStack의 스킬 모두 보기

이 스킬의 문제 신고