gap-analysis
Skill3.2k starsChanged 2 months agoMITView on GitHub
Audit TanStack AI provider adapters for feature parity gaps and outdated model lists. Triggered as /gap-analysis <provider|feature <name>|models|--all>. Produces a dated markdown report under .agent/gap-analysis/. Maintainer tool — does not edit feature-support.ts or model-meta.ts directly.
- Reads credentials
11 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- afonsoft/skillstheir own version, first seen Sep 30, 2026
- Quirkybrain/claude-code-swe-frameworktheir own version, first seen Sep 20, 2026
- excatt/superclaude-plusplustheir own version, first seen Sep 7, 2026
- cvsz/zomegatheir own version, first seen Sep 2, 2026
- zrosenfield/sharepoint-ai-skillstheir own version, first seen Aug 4, 2026
- Happy-Technologies-LLC/happy-platform-skillstheir own version, first seen Jul 28, 2026
Who's talking about TanStack/ai
- nuxt/ui“Integrate chat components with Tanstack AI”GitHub · Jan 27, 2026 · 2 reactions
- getsentry/sentry-javascript“Add instrumentation for `@tanstack/ai`”GitHub · Jan 5, 2026 · 2 reactions
- kubb-labs/kubb“Use Knip for unused code detection”GitHub · Dec 18, 2025 · 2 reactions
- @jp-knj.bsky.social“github.com/TanStack/ai I’m curious”Bluesky · Dec 5, 2025 · 2 likes
- TanStack/tanstack.com“fix(builder): unlock BYOK passkey on the click, not mid-send”GitHub · Sep 5, 2026 · 1 reactions
The biggest 5 of 30 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 30
Talked about on GitHub and Bluesky (30 times).
On GitHub · 28
- Jan 27, 2026Integrate chat components with Tanstack AI — nuxt/ui2 reactions · 7 comments
- Jan 5, 2026Add instrumentation for `@tanstack/ai` — getsentry/sentry-javascript2 reactions · 1 comment
- Dec 18, 2025Use Knip for unused code detection — kubb-labs/kubb2 reactions · 2 comments
- Sep 5, 2026fix(builder): unlock BYOK passkey on the click, not mid-send — TanStack/tanstack.com1 reaction · 3 comments
- Jun 30, 2026build(deps): bump the bun-dependencies group with 9 updates — endalk200/skopeo1 reaction
23 more on GitHub
- Oct 5, 2026fix(ai-search): Haiku keyword extraction has fallen back on every search since 2026-06-12 — viclafouch/petit-meme0 reactions
- Oct 5, 2026chore(deps): bump the framework-deps group with 13 updates — clanker25/ui0 reactions
- Oct 5, 2026build(deps): Bump the production-minor-patch group across 1 directory with 22 updates — kvpendergast/jackline0 reactions
- Oct 3, 2026[Add] TanStack AI (TanStack/ai) — PyTorchKR/landscape0 reactions
- Oct 1, 2026chore(deps-dev): bump the development-dependencies group across 1 directory with 19 updates — cbangera2/BudgetLens0 reactions · 1 comment
- Oct 1, 2026Bump @tanstack/ai-client from 0.35.1 to 0.36.0 — unacms/UNA0 reactions · 1 comment
- Sep 30, 2026chore(deps): bump the framework-deps group with 13 updates — zhcndoc/shadcn0 reactions
- Sep 28, 2026chore(deps): bump the runtime-dependencies group across 1 directory with 4 updates — changbaebang/career-radar0 reactions
- Sep 27, 2026chore(deps): bump @tanstack/ai-code-mode from 0.4.10 to 0.4.13 — FRFlo/dumbdiscordbot0 reactions
- Sep 27, 2026chore(deps): bump @tanstack/ai from 0.55.0 to 0.58.0 — FRFlo/dumbdiscordbot0 reactions
- Sep 21, 2026fix(deps): bump @tanstack/ai-vue from 0.19.4 to 0.24.0 — vinayakkulkarni/tileserver-rs0 reactions · 2 comments
- Sep 17, 2026chore(deps): bump the framework-deps group with 13 updates — morganfeeney/shadcn-ui-fork0 reactions · 1 comment
- Sep 9, 2026chore(web)(deps): bump the web-dependencies group across 1 directory with 16 updates — najmuzzaman-mohammad/gawkbot0 reactions · 1 comment
- Sep 8, 2026chore(deps): bump @tanstack/ai-react from 0.16.4 to 0.24.0 — moodyawhvh/ui-chinese0 reactions
- Sep 1, 2026Bump @tanstack/ai from 0.39.1 to 0.52.0 — MrLightful/scopra0 reactions · 1 comment
- Aug 31, 2026chore(deps): bump the tanstack-ai group across 1 directory with 4 updates — linuxing3/openstory0 reactions · 1 comment
- Aug 24, 2026build(deps): bump @tanstack/ai-react from 0.19.2 to 0.21.1 — sushindustries/sushindustries0 reactions · 1 comment
- Aug 15, 2026build(deps-dev): bump the npm-dependencies group across 1 directory with 7 updates — sbonnick/openai-oauth-ai-provider0 reactions
- Aug 10, 2026chore(deps): bump the tanstack group across 1 directory with 17 updates — RLukas2/portfolio0 reactions · 1 comment
- Aug 4, 2026chore(deps): bump @tanstack/ai-react from 0.16.4 to 0.18.1 — raynilkumar-bs/Agent-V20 reactions · 2 comments
- Jul 8, 2026build(deps): Bump the tanstack group with 4 updates — fly-apps/tanstack-sprite-agent0 reactions
- Jun 12, 2026Bump the all-deps group across 1 directory with 27 updates — pantha-dapp/CORE0 reactions
- May 22, 2026Bump the all-deps group across 1 directory with 5 updates — pantha-dapp/CORE0 reactions
On Bluesky · 2
- Dec 5, 2025github.com/TanStack/ai I’m curious — @jp-knj.bsky.social2 likes and reposts
- Mar 19, 2026https://github.com/TanStack/ai — @tom-doerr.bsky.social1 likes and repost
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- magnus919/agent-skills★ 109same name
- zrosenfield/sharepoint-ai-skills★ 96same name
- Happy-Technologies-LLC/happy-platform-skills★ 40same name
- agent-ix/quoin★ 20same name
- excatt/superclaude-plusplus★ 14same name
- afonsoft/skills★ 9same name
- DatasiteAI/mcp-skills★ 4same name
- HHC225/Japanese-Client-Breaker★ 2same name
- cvsz/zomega★ 1same name
- nclsprsn/architect-claude★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/instructions/copilot-instructions.mdCopilot instructions
- add-example-tutorialSkill
- bugfix-prSkill
- docsSkill
- gap-analysisSkill
- i-have-adhdSkill
- new-react-playgroundSkill
- ponytailSkill
- pr-descriptionSkill
- pr-sweepSkill
- simple-englishSkill
- triage-githubSkill
- add-example-tutorialSkill
- bugfix-prSkill
- docsSkill
- i-have-adhdSkill
- new-react-playgroundSkill
- ponytailSkill
- pr-descriptionSkill
- pr-sweepSkill
- simple-englishSkill
- triage-githubSkill
- tanstack-ai-migrationSkill
- tanstack-aiSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Parse scope: If missing, AskUserQuestion with the four options above.
- Distinctive: line 38
Research upstream: Use WebFetch against the curated URLs in references/provider-doc-urls.md.
- Very specific: line 68
Always reference line numbers: when citing exclusions (e.g., feature-support.ts:57) so the maintainer can jump to them.
- Distinctive: line 77
Cite sources: Every claim "upstream supports X" must link the upstream doc page you read.
- Distinctive: line 135
Before printing the summary:
- Distinctive: line 141
Every "real gap" entry has an upstream doc URL.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gap Analysis — TanStack AI adapter audit
You are auditing TanStack AI's provider adapters against each provider's
upstream documentation. This is a maintainer tool. Your only output is a
markdown report under .agent/gap-analysis/. Do not edit source files.
Invocation
| Args | Scope |
<provider> (e.g. openai) | One provider — all audit dimensions. |
feature <feature> (e.g. tts) | One feature row of the matrix across all providers. |
models | New-model diff for every provider. |
activities | Activity-coverage diff: which of the 7 core activity |
| kinds each provider ships an adapter for, vs. what | |
| upstream supports. (Dimension 6 only, all providers.) | |
--all | Full sweep (fan out subagents, one per provider). |
| (none) | Ask the user which scope via AskUserQuestion. |
Workflow
- Parse scope. If missing, AskUserQuestion with the four options above.
- Load the truth files, then read the per-scope inputs you need:
- Matrix:
testing/e2e/src/lib/feature-support.ts - Types:
testing/e2e/src/lib/types.ts(Provider + Feature unions, ALL_PROVIDERS, ALL_FEATURES) - Adapter index:
packages/ai-<provider>/src/index.ts - Model meta:
packages/ai-<provider>/src/model-meta.ts - Core types:
packages/ai/src/types.ts(Modality, ContentPart, ToolCall)
- Matrix:
- Research upstream. Use WebFetch against the curated URLs in
references/provider-doc-urls.md. When a
doc page has moved, fall back to WebSearch. For SDK API surface details
use the
context7MCP server (mcp__plugin_context7_context7__resolve-library-idthenmcp__plugin_context7_context7__query-docs). - Walk the audit dimensions in references/audit-checklist.md:
- New models
- Cross-adapter feature parity
- Untracked features
- Capability-flag drift
- Telemetry / observability parity (usage tokens, cache/reasoning counts, request ids, logging asymmetry)
- Activity coverage (which of the 7 core activity kinds each provider
ships an adapter for vs. what upstream supports) — this is the only
dimension for the
activitiesscope; it's also rolled into--all.
- Fan out for
--all: launch oneExploresubagent per provider, max 3 in parallel. Each subagent returns the multi-dimension findings for its provider; you synthesise into the combined report. Theactivitiesscope does not fan out — derive the provider×activity matrix centrally from the adapter files (see dimension 6), since it's a fast mechanical diff. - Write the report to
.agent/gap-analysis/YYYY-MM-DD-<scope>.mdusing references/report-template.md. Date is today's ISO date.<scope>isopenai/feature-tts/models/activities/all. - Print the report path and a 5-line summary to the user.
Critical rules
- Never edit
feature-support.tsor anymodel-meta.ts. The report is read-only — the maintainer applies changes. - Always reference line numbers when citing exclusions (e.g.,
feature-support.ts:57) so the maintainer can jump to them. - Distinguish three gap classes in the report:
- Real gap — upstream supports it, TanStack AI doesn't, no exclusion comment.
- Tested gap — TanStack AI doesn't list it but there's an exclusion
comment in
feature-support.ts(e.g., aimock format limitation). Not actionable code-wise; surface in "Out-of-scope" section. - Stale capability flag —
model-meta.tsdeclares a capability the model no longer has, or omits one it now has.
- Cite sources. Every claim "upstream supports X" must link the upstream doc page you read. No claims from training data.
- Use today's date from the system context (currentDate). Never invent.
- Quote the relevant snippet from
feature-support.tswhen flagging a parity gap, so the report is self-contained.
Known providers
openai, anthropic, gemini, ollama, grok, groq, openrouter,
bedrock (@tanstack/ai-bedrock; three-API surface — Converse default
(adapter name bedrock-converse), Chat Completions opt-in (api: 'chat',
adapter name bedrock), Responses opt-in (api: 'responses', adapter name
bedrock-responses)), byteplus (@tanstack/ai-byteplus; text, video, tts,
transcription, image — two products/keys: ModelArk ARK_API_KEY for
text/video/image, Seed Speech BYTEPLUS_VOICE_API_KEY for tts/transcription),
fal (media-only), elevenlabs (TTS-only). The
feature matrix tracks openai, anthropic, gemini, ollama, grok,
groq, openrouter, bedrock, bedrock-converse, bedrock-responses, and
byteplus; fal and elevenlabs only appear in model/media audits.
Known features (19)
Canonical list is ALL_FEATURES in testing/e2e/src/lib/types.ts — always
re-read it; this list is a snapshot:
chat, one-shot-text, reasoning, multi-turn, tool-calling,
parallel-tool-calls, tool-approval, text-tool-text, structured-output,
structured-output-stream, agentic-structured, multimodal-image,
multimodal-structured, summarize, summarize-stream, image-gen, tts,
transcription, video-gen.
Known activities (7)
Features (above) are matrix rows about behaviours within an activity.
Activities are the coarser-grained core capability kinds in @tanstack/ai
— each has a Base<Kind>Adapter and a provider "supports" one only if its
package ships an adapter of that kind. Canonical list is the AdapterKind
union in packages/ai/src/activities/index.ts — always re-read it:
text, summarize, image, audio, video, tts, transcription.
A provider's activity surface is derived mechanically from its adapter files:
packages/ai-<provider>/src/adapters/. Filename → activity-kind map:
| Adapter file | Activity kind |
text.ts / text-chat-completions.ts / responses-text.ts | text |
summarize.ts | summarize |
image.ts | image |
audio.ts | audio |
video.ts | video |
speech.ts / tts.ts | tts |
transcription.ts | transcription |
(cost.ts is a helper, not an activity adapter.)
Verification before finishing
Before printing the summary:
- Report file exists and is non-empty.
git statusshows only new files under.agent/gap-analysis/— nothing underpackages/ortesting/should have been modified. Rungit statusand confirm.- Every "real gap" entry has an upstream doc URL.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

