TanStack / TanStack/cli

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

Offen
#495 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
TypeScript
Sterne
1.3k
Forks
185
Ø Merge
18 Std. 45 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, den gemeldeten Befehl tanstack create --no-install zu reproduzieren, und verfolge den Schritt zur Intent-Konfiguration sowie den abschließenden Text im CLI-Erstellungsablauf. Erledigt ist dies, wenn keine entdeckten Pakete als übersprungen gemeldet werden, der abschließende Text nicht behauptet, dass eine Agent-Konfiguration eingerichtet wurde, und auf pnpm install && pnpm dlx @tanstack/intent install --map verweist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.