feat: add Intent agent skills for TanStack DB#1330
Open
KyleAMathews wants to merge 4 commits intomainfrom
Open
feat: add Intent agent skills for TanStack DB#1330KyleAMathews wants to merge 4 commits intomainfrom
KyleAMathews wants to merge 4 commits intomainfrom
Conversation
Scaffold 12 SKILL.md files across 7 packages to guide AI coding agents. Covers core DB concepts (collections, queries, mutations, custom adapters), 5 framework bindings (React, Vue, Svelte, Solid, Angular), meta-framework integration (Start, Next, Remix, Nuxt, SvelteKit), and offline transactions. Includes 9 reference files for adapter details, operators, and transaction API. Updates package.json files arrays to publish skills with packages. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 2fb845f The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
More templates
@tanstack/angular-db
@tanstack/db
@tanstack/db-ivm
@tanstack/electric-db-collection
@tanstack/offline-transactions
@tanstack/powersync-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/rxdb-db-collection
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
Contributor
|
Size Change: 0 B Total Size: 92.6 kB ℹ️ View Unchanged
|
Contributor
|
Size Change: 0 B Total Size: 3.85 kB ℹ️ View Unchanged
|
- Fix incorrect offline transaction API usage (tx.mutate pattern) - Remove phantom ne operator, document not(eq(...)) pattern - Fix Vue template variable reference (data → todos) - Add export * from @tanstack/db to angular-db source - Remove nonexistent math functions from skill_tree.yaml - Remove no-op !skills/_artifacts exclusion from db/package.json - Add isIdle/isCleanedUp to Angular and React SKILL.md - Document deprecated query.data in Solid SKILL.md - Promote Svelte deps mistake severity to CRITICAL Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
balegas
approved these changes
Mar 6, 2026
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add 12 SKILL.md files across 7 packages that guide AI coding agents working with TanStack DB. Skills are published with npm packages so agents can reference them when generating code. Also fixes angular-db missing the
export * from '@tanstack/db're-export that all other framework packages have.Approach
Skills were scaffolded using
@tanstack/intent scaffold— a 3-phase process:Each SKILL.md contains YAML frontmatter (name, type, requires, sources) + structured body (Setup, Core Patterns, Common Mistakes with severity ratings). Reference files provide dense API details (adapter configs, operator signatures, transaction API).
Key invariants
requiresfield and "See also:" cross-reference resolves to an existing skill filesourcespath in frontmatter points to an existing file in the repo@tanstack/db(angular-db was missing this — fixed)Non-goals
Skills inventory
@tanstack/db@tanstack/db@tanstack/db@tanstack/db@tanstack/db@tanstack/db@tanstack/react-db@tanstack/vue-db@tanstack/svelte-db@tanstack/solid-db@tanstack/angular-db@tanstack/offline-transactionsVerification
Files changed
packages/angular-db/src/index.ts— Addexport * from '@tanstack/db'for consistencypackages/*/package.json(7 files) — Add"skills"tofilesarrays for npm publishingpackages/*/skills/**/*.md(21 files) — SKILL.md files and reference docs_artifacts/skill_tree.yaml— Skill tree generation artifactdomain_map.yaml,skill_spec.md— Domain analysis artifacts.changeset/add-intent-agent-skills.md— Changeset for versioning🤖 Generated with Claude Code