TanStack / TanStack/cli

`create --no-install` reports "TanStack Intent configured" but writes no AGENTS.md

オープン
#495 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
1.3k
フォーク
185
平均マージ
18時間 45分
マージ済み PR(30日)
2

説明

tanstack create --no-install prints that Intent was configured, and then the closing text tells you
your agent config was wired up — but no AGENTS.md is written. Nothing in the output suggests
anything was skipped.

$ pnpm dlx @tanstack/cli create my-app --no-install --no-git --no-toolchain --no-examples
┌  Creating a new TanStack app in my-app...
◇  Dependency installation skipped
◇  TanStack Intent configured
└  Your TanStack app is ready in 'my-app'.

Next steps:

Working with an AI agent? Your agent config (AGENTS.md / CLAUDE.md) was wired up by TanStack Intent
with explicit skill mappings for the libraries you installed. ...

$ ls my-app/AGENTS.md
ls: my-app/AGENTS.md: No such file or directory

The same command without --no-install does exactly what it says:

$ pnpm dlx @tanstack/cli create my-app --no-git --no-toolchain --no-examples
$ grep -c '^  - id:' my-app/AGENTS.md
31

The underlying behaviour makes sense — Intent discovers skills by walking installed node_modules,
so with --no-install there is nothing on disk to find yet:

$ cd my-app && pnpm dlx @tanstack/intent list --debug
  packages: 0
  skills: 0
No intent-enabled packages found.

So it's really the reporting that's off, not the logic. Two things that would help:

  1. When the Intent step discovers zero packages, report that instead of TanStack Intent configured
    — something like "skipped — no dependencies installed yet".
  2. With --no-install, drop the "your agent config was wired up" claim from the closing text, and
    point at the follow-up instead: pnpm install && pnpm dlx @tanstack/intent install --map.

It's easy to miss, because the message is confident and a missing file is quiet — I only caught it
while verifying that skill mappings were complete. Anyone who scaffolds with --no-install (to
review the dependency set, or to run installs through their own tooling) ends up with an agent config
that silently never existed.

Environment: @tanstack/cli 0.70.0, @tanstack/intent 0.3.6, pnpm 11.17.0, node 24.18.0,
macOS 26.5.1 (arm64)

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、報告された tanstack create --no-install コマンドを再現し、CLI の create フローにおける Intent 設定ステップと終了テキストを追跡します。完了条件は、検出されたパッケージがスキップされたものとして 1 つも報告されないこと、終了テキストがエージェント設定が組み込まれたと主張しないこと、そして pnpm install && pnpm dlx @tanstack/intent install --map を示すことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。