Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

tanstack-clitanstack CLI

Agent Skill

tanstack-cli 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,397

周安装

343

GitHub Stars

14

下载量

2,689
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tanstack-cli(tanstack CLI)
来源仓库:https://github.com/tanstack-skills/tanstack-skills
仓库路径:skills/tanstack-cli
安装命令:
npx skills add https://github.com/tanstack-skills/tanstack-skills --skill tanstack-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tanstack-skills/tanstack-skills --skill tanstack-cli

简介

tanstack-cli 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Overview

TanStack CLI is an interactive scaffolding tool for creating TanStack Start applications. It provides guided project creation with 30+ pre-built integrations covering authentication, databases, deployment, and developer tools. It also includes an MCP (Model Context Protocol) server for AI agent assistance and supports custom templates for team-standardized setups.

Package: @tanstack/cli Status: Stable

Installation & Usage

# Create a new project (interactive)
npx @tanstack/cli create my-app

# Create with specific integrations
npx @tanstack/cli create my-app --integrations tanstack-query,clerk,drizzle

# Global install
npm install -g @tanstack/cli
tanstack create my-app

Project Creation

Interactive Mode

npx @tanstack/cli create my-app
# Prompts for:
# - Project name
# - Integration selection
# - Configuration options

With Integrations Flag

# Multiple integrations
npx @tanstack/cli create my-app --integrations tanstack-query,tanstack-form,drizzle,neon,clerk

# Deployment target
npx @tanstack/cli create my-app --integrations vercel

# Full stack setup
npx @tanstack/cli create my-app --integrations tanstack-query,tanstack-form,tanstack-table,clerk,drizzle,neon,vercel,sentry

Available Integrations

TanStack Libraries

IntegrationDescription
tanstack-queryAsync state management
tanstack-formType-safe form management
tanstack-tableHeadless table/datagrid
tanstack-storeReactive data store
tanstack-virtualList virtualization
tanstack-aiAI SDK integration
tanstack-dbClient-side database
tanstack-pacerDebouncing/throttling utilities

Authentication

IntegrationDescription
clerkClerk authentication
better-authBetter Auth integration
workosWorkOS identity management

Databases & ORMs

IntegrationDescription
drizzleDrizzle ORM
prismaPrisma ORM
neonNeon serverless Postgres
convexConvex backend platform

Deployment

IntegrationDescription
vercelVercel deployment
netlifyNetlify deployment
cloudflareCloudflare Workers/Pages
nitroNitro server engine

Developer Tools

IntegrationDescription
eslintESLint configuration
biomeBiome linting/formatting
shadcn-uishadcn/ui component library
storybookStorybook component development

API & Backend

IntegrationDescription
trpctRPC type-safe API
orpcoRPC integration

Services

IntegrationDescription
sentryError monitoring
paraglideInternationalization (i18n)
strapiStrapi CMS

Custom Templates

Creating a Template

# Create a project as a template base
npx @tanstack/cli create my-template --integrations tanstack-query,drizzle,clerk

# Share as a git repository or npm package

Using a Custom Template

# From git repository
npx @tanstack/cli create my-app --template https://github.com/myorg/my-template

# From local path
npx @tanstack/cli create my-app --template ./templates/my-template

Template Structure

my-template/
├── template.config.ts    # Template configuration
├── src/
│   ├── app/
│   │   ├── routes/
│   │   └── components/
│   └── lib/
├── package.json
├── tsconfig.json
├── app.config.ts
└── vite.config.ts

MCP Server

The TanStack CLI includes an MCP (Model Context Protocol) server for AI agent integration.

Capabilities

  • Documentation Search - AI agents can query TanStack documentation
  • Project Scaffolding - Guided project creation through AI assistants
  • Integration Discovery - Search and recommend integrations
  • Deployment Guidance - Platform-specific deployment help

Usage with Claude

The MCP server enables Claude and other AI assistants to:

  • Search TanStack docs for accurate, up-to-date information
  • Help scaffold new projects with appropriate integrations
  • Provide context-aware recommendations
  • Assist with configuration and deployment

Configuration

// .claude/mcp.json or equivalent
{
  "mcpServers": {
    "tanstack": {
      "command": "npx",
      "args": ["@tanstack/cli", "mcp"]
    }
  }
}

Generated Project Structure

A typical generated project looks like:

my-app/
├── src/
│   ├── app/
│   │   ├── routes/
│   │   │   ├── __root.tsx
│   │   │   └── index.tsx
│   │   ├── router.tsx
│   │   ├── routeTree.gen.ts
│   │   └── client.tsx
│   ├── lib/
│   │   ├── db.ts          # (if drizzle/prisma)
│   │   ├── auth.ts        # (if clerk/better-auth)
│   │   └── query.ts       # (if tanstack-query)
│   └── components/
├── app.config.ts
├── vite.config.ts
├── package.json
├── tsconfig.json
└── .env.example

Web Builder Interface

TanStack CLI also provides an interactive web-based builder:

  • Visual technology stack selection
  • Preview generated files before exporting
  • Integration compatibility checking
  • One-click project generation

CLI Commands Reference

CommandDescription
create <name>Create a new project
create <name> --integrations <list>Create with specific integrations
create <name> --template <path>Create from template
mcpStart the MCP server

Best Practices

  1. Start with minimal integrations - add more as needed rather than including everything upfront
  2. Use the --integrations flag for reproducible project creation in CI/docs
  3. Create team templates for consistent project structure across your organization
  4. Use the MCP server with AI assistants for guided setup
  5. Check .env.example after generation for required environment variables
  6. Review generated code before adding business logic - understand the scaffold
  7. Use deployment integrations to pre-configure hosting platform settings
  8. Combine auth + db integrations for full-stack auth scaffolding (e.g., clerk,drizzle,neon)

Common Pitfalls

  • Not setting up environment variables after project creation (check .env.example)
  • Selecting incompatible integration combinations
  • Not running npm install / pnpm install after generation
  • Forgetting to initialize the database when using Drizzle/Prisma integrations
  • Not configuring the deployment platform's environment variables
  • Using outdated CLI version (always use npx @tanstack/cli for latest)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.05%
按下载量换算1,023

Claude

27.61%
按下载量换算742

Cursor

16.51%
按下载量换算444

Gemini CLI

9.07%
按下载量换算244

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills