使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/tanstack/cli --skill choose-ecosystem-integrations开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
This skill requires familiarity with scaffold and discovery workflows. Read create-app-scaffold and query-docs-library-metadata first.
Choose Ecosystem Integrations
Use this skill at the seam between user requirements and valid CLI integration choices.
Setup
npx @tanstack/cli ecosystem --json
npx @tanstack/cli create --list-add-ons --jsonCore Patterns
Map partner intent to add-on ids explicitly
npx @tanstack/cli ecosystem --category database --json
npx @tanstack/cli create --list-add-ons --jsonInspect option surfaces before final provider choice
npx @tanstack/cli create --addon-details drizzle --json
npx @tanstack/cli create --addon-details prisma --jsonEnforce one choice per exclusive category
npx @tanstack/cli create my-app \
--framework react \
--add-ons clerk,drizzle \
--deployment cloudflare \
-yCommon Mistakes
HIGH Treat ecosystem partner id as add-on id
Wrong:
npx @tanstack/cli add <partner-id-from-ecosystem>Correct:
npx @tanstack/cli ecosystem --json
npx @tanstack/cli create --list-add-ons --json
npx @tanstack/cli add <mapped-addon-id>ecosystem includes partners that are not directly installable add-ons, so direct reuse of partner ids can fail late in add/apply flows.
Source: tanstack ecosystem --json output + tanstack create --list-add-ons --json output
HIGH Skip addon-details before choosing provider
Wrong:
npx @tanstack/cli create my-app --add-ons prisma -yCorrect:
npx @tanstack/cli create --addon-details prisma --json
npx @tanstack/cli create my-app --add-ons prisma -yOptionized providers can default silently, producing the wrong data-layer stack for the requested integration.
Source: tanstack create --addon-details prisma --json
HIGH Select multiple exclusive integrations together
Wrong:
npx @tanstack/cli create my-app --add-ons clerk,workos -yCorrect:
npx @tanstack/cli create my-app --add-ons clerk -yExclusive categories permit only one active choice, so multi-select commands can drop or replace intended providers.
Source: packages/create/src/frameworks///info.json
CRITICAL Assume router-only supports deployment integration
Wrong:
npx @tanstack/cli create my-app --router-only --deployment cloudflare -yCorrect:
npx @tanstack/cli create my-app --router-only -yRouter-only mode ignores deployment integration, so the command succeeds without applying the intended ecosystem target.
Source: packages/cli/src/command-line.ts:349
HIGH Tension: Compatibility mode vs explicit intent
This domain's patterns conflict with create-app-scaffold. Integration planning tends to over-assume command intent is preserved, but compatibility mode silently strips integration flags.
See also: create-app-scaffold/SKILL.md § Common Mistakes
HIGH Tension: Single-command convenience vs integration precision
This domain's patterns conflict with query-docs-library-metadata. Integration choices tend to drift when discovery metadata is skipped in favor of one-shot scaffold commands.
See also: query-docs-library-metadata/SKILL.md § Common Mistakes



