TanStack AI
Ściągawka TanStack AI, której podstawowe API nie pasuje do opublikowanych pakietów npm
Tested · Didn't pass
Co robi ten skill
Jednoplikowe odniesienie do TanStack AI SDK obejmujące generowanie tekstu, adaptery dostawców dla OpenAI, Anthropic, Gemini i Ollama, strategie strumieniowania, ustrukturyzowane wyjście z Zod, wywoływanie narzędzi, treści multimodalne oraz hooki React lub Solid. Uruchamia się, gdy budujesz chat or completion UIs on @tanstack/ai. Testowane na pakietach currently on npm, its central examples do not run.
Raport z testu
Skopiowano skill's quickstart into a real npm project i ran it: it dies on the first import, because `@tanstack/ai-anthropic/adapters` is not an exported subpath (ERR_PACKAGE_PATH_NOT_EXPORTED) i the `generate()` function the whole file is built around does not exist in @tanstack/ai 0.42.0 - the real entry point is `chat()`. The same holds for convertZodToJsonSchema (really convertSchemaToJsonSchema), parsePartialJson (parsePartialJSON), useCompletion in @tanstack/ai-react i createAIClient in @tanstack/ai-client: all absent from the installed packages. The no-skill baseline, which simply reads the package's own exports before writing anything, loaded i constructed the Anthropic adapter on the first attempt. Following this skill costs you a debugging session on an alpha SDK that has moved on from the API it documents.
Testowano: 2026-07-29 · Claude Code 2.x (agent harness)
Instalacja
git clone https://github.com/tanstack-skills/tanstack-skills.git mkdir -p ~/.claude/skills cd tanstack-skills && cp -r plugins/tanstack-ai/skills/tanstack-ai ~/.claude/skills/tanstack-ai
Komendy i przykładowe prompty
/tanstack-aiŚciągawka TanStack AI, której podstawowe API nie pasuje do opublikowanych pakietów npm
Skille uruchamiają się na zwykłe polecenia — bez komend do zapamiętania. Po instalacji aktywują go prompty takie jak te (po angielsku):
Add streaming chat with TanStack AI to my React appHow do I set up tool calling with structured output in TanStack AI?Wire up the Anthropic adapter for TanStack AI with a Zod schema