TanStack

105 mods across 5 repositories, 34k stars between them.

ai-core/locks

73

TanStack/ai

Skill Claude CodeCodex

LockStore, InMemoryLockStore, LocksCapability and withLocks for multi-instance coordination in TanStack AI. Ships in @tanstack/ai — NOT in @tanstack/ai-persistence. Separate from AIPersistence state stores — not a stores key, not composable. InMemoryLockStore vs a distributed (e.g. Cloudflare Durable Object) lock…

3.0k 2d ago A 112 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Image, audio, video, speech (TTS), and transcription generation using activity-specific adapters: generateImage() with openaiImage/geminiImage/byteplusImage, generateAudio() with geminiAudio/falAudio, generateVideo() with async polling (openaiVideo/geminiVideo/grokVideo/falVideo/byteplusVideo/openRouterVideo…

3.0k 2d ago A 147 tokens original MIT

ai-core/middleware

75

TanStack/ai

Skill Claude CodeCodex

Chat lifecycle middleware hooks: onConfig, onStart, onChunk, onBeforeToolCall, onAfterToolCall, onUsage, onFinish, onAbort, onError. Use for analytics, event firing, tool caching (toolCacheMiddleware), logging, and tracing. Middleware array in chat() config, left-to-right execution order. NOT onEnd/onFinish callbacks…

3.0k 2d ago A 86 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Type-safe JSON schema responses from LLMs using outputSchema on chat() and useChat(). Supports Zod, ArkType, and Valibot schemas. The adapter handles provider-specific strategies transparently — never configure structured output at the provider level. Pass stream:true alongside outputSchema for incremental JSON deltas…

3.0k 2d ago A 128 tokens original MIT

TanStack/ai

Skill Claude CodeCodex

Isomorphic tool system: toolDefinition() with Zod schemas, .server() and .client() implementations, passing tools to both chat() on server and useChat/clientTools on client, tool approval flows with needsApproval and bound interrupts (resolveInterrupt), generic middleware interrupts with defineInterrupt(), lazy tool…

3.0k 2d ago A 82 tokens original MIT

emoji-storyteller

78

TanStack/ai

Skill Claude CodeCodex

Retell the answer as a short story told mostly in emoji.

3.0k 2d ago A 18 tokens original MIT

haiku

79

TanStack/ai

Skill Claude CodeCodex

Answer only as a haiku, three lines of 5-7-5 syllables.

3.0k 2d ago A 22 tokens original MIT

pirate-speak

80

TanStack/ai

Skill Claude CodeCodex

Answer entirely as a boisterous pirate, with nautical slang and "arrr".

3.0k 2d ago A 22 tokens original MIT

cli AGENTS.md

81

TanStack/cli

Instructions file CodexOpenCode

Instructions for TanStack/cli, a project described as: The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc.

1.3k 24d ago A 4 tokens original MIT

cli CLAUDE.md

82

TanStack/cli

Instructions file

Instructions for TanStack/cli, a project described as: The official TanStack CLI - Project Scaffolding, MCP Server, Agent Skills Installation, etc.

1.3k 24d ago A 4 tokens copy · 100% MIT

cursorrules

83

TanStack/cli

Cursor rule Cursor

// Solid.js with Tailwind CSS .cursorrules.

1.3k 24d ago A 266 tokens original MIT

TanStack/cli

Skill Claude CodeCodex

Apply integrations to existing projects with tanstack add, including add-on id resolution, dependency chains, option prompts, and .cta.json project metadata preconditions.

1.3k 24d ago A 37 tokens original MIT

TanStack/cli

Skill Claude CodeCodex

Map tanstack ecosystem partner metadata to installable add-on ids using tanstack ecosystem --json, tanstack create --list-add-ons --json, and tanstack create --addon-details --json. Covers exclusive categories, provider options, and router-only compatibility constraints.

1.3k 24d ago A 59 tokens original MIT

create-app-scaffold

86

TanStack/cli

Skill Claude CodeCodex

Scaffold a TanStack app with tanstack create using --framework, --template, --toolchain, --deployment, --add-ons, --blank, and --router-only. Covers flag compatibility, non-interactive defaults, and intent-preserving command construction.

1.3k 24d ago A 57 tokens original MIT

TanStack/cli

Skill Claude CodeCodex

Build and iterate custom add-ons/templates with tanstack add-on init, add-on compile, add-on dev, and tanstack create --dev-watch, including sync loop preconditions, watch-path validation, and project metadata constraints.

1.3k 24d ago A 53 tokens original MIT

TanStack/cli

Skill Claude CodeCodex

Retrieve machine-readable context with tanstack libraries, tanstack doc, tanstack search-docs, tanstack create --list-add-ons --json, and --addon-details for agent-safe discovery and preflight validation.

1.3k 24d ago A 49 tokens original MIT

jsdoc

89

TanStack/devtools

Cursor rule Cursor

🤖 Framework-agnostic devtools panel for handling TanStack libraries devtools and your custom devtool plugins.

493 2d ago A 72 tokens original MIT

devtools AGENTS.md

90

TanStack/devtools

Instructions file CodexOpenCode

Instructions for TanStack/devtools: Before analyzing or changing this repository, read and follow CONTRIBUTING.md. Its contribution, development, testing, pull request, and changeset requirements apply to AI-assisted work as well as human-authored work.

493 2d ago A 92 tokens original MIT

cursorrules

91

TanStack/devtools

Cursor rule Cursor

Use the latest version of Shadcn to install new components, like this command to add a button component.

493 2d ago A 45 tokens original MIT

TanStack/devtools

Skill Claude CodeCodex

Use devtools-utils factory functions to create per-framework plugin adapters. createReactPlugin/createSolidPlugin/createVuePlugin/createPreactPlugin, createReactPanel/createSolidPanel/createVuePanel/createPreactPanel. [Plugin, NoOpPlugin] tuple for tree-shaking. DevtoolsPanelProps (theme). Vue uses (name, component)…

493 2d ago A 84 tokens original MIT

TanStack/devtools

Skill Claude CodeCodex

Configure @tanstack/devtools-vite for source inspection (data-tsd-source, inspectHotkey, ignore patterns), console piping (client-to-server, server-to-client, levels), enhanced logging, server event bus (port, host, HTTPS), production stripping (removeDevtoolsOnBuild), editor integration (launch-editor, custom…

493 2d ago A 93 tokens original MIT

devtools-app-setup

94

TanStack/devtools

Skill Claude CodeCodex

Install TanStack Devtools, pick framework adapter (React/Vue/Solid/Preact), register plugins via plugins prop, configure shell (position, hotkeys, theme, hideUntilHover, requireUrlFlag, eventBusConfig). TanStackDevtools component, defaultOpen, localStorage persistence.

493 2d ago A 66 tokens original MIT

TanStack/devtools

Skill Claude CodeCodex

Publish plugin to npm and submit to TanStack Devtools Marketplace. PluginMetadata registry format, plugin-registry.ts, pluginImport (importName, type), requires (packageName, minVersion), framework tagging, multi-framework submissions, featured plugins.

493 2d ago A 54 tokens original MIT

TanStack/devtools

Skill Claude CodeCodex

Build devtools panel components that display emitted event data. Listen via EventClient.on(), handle theme (light/dark), use @tanstack/devtools-ui components. Plugin registration (name, render, id, defaultOpen), lifecycle (mount, activate, destroy), max 3 active plugins. Two paths: Solid.js core with devtools-ui for…

493 2d ago A 84 tokens original MIT