Data Client for Coding Agents
Coding agents write a lot of Data Client code now, and they write it better when they have the current docs and workflows instead of guessing from older releases. This release cycle makes that easier to set up for any agent.
New:
- Claude Code plugin -
claude plugin install react@data-clientinstalls the skills for your framework - Vue skills - Vue projects get Vue composables and tests, not React hooks
- llms.txt - Any agent can read the docs as markdown, and every page tells it where to look
Also available:
- Agent skills - Define REST APIs, design schemas, write Managers, and test; /data-client-setup now installs just the ones you need, and they're generated from these docs
- Chrome DevTools MCP - Agents inspect your running app's store, or use Expo MCP for React Native
- Upgrade skills - Migration skills upgrade your code, including what codemods can't
Get started
Install the /data-client-setup skill and run it. It
detects React or Vue and your API style (REST, GraphQL or custom), installs the skills your project needs, and sets up
Data Client. For REST it hands off to
data-client-rest-setup, which moves existing fetch or
axios calls to endpoints (#4153).
- Skills
- OpenSkills
- Claude Code
npx skills add reactive/data-client --skill data-client-setup
npx openskills install reactive/data-client/.agents/skills/data-client-setup
claude plugin marketplace add reactive/data-client
claude plugin install core@data-client
Agent Skills lists every skill and how to install them all up front.
Claude Code plugin
The Data Client repo is a Claude Code plugin marketplace. The core plugin holds the setup, REST, GraphQL, schema and
Manager skills; the react and vue plugins add their framework's skills and pull in core; and the migrations
plugin adds the upgrade skills (#4153). The
Agent Skills page shows the same install with the skills CLI and OpenSkills.
claude plugin marketplace add reactive/data-client
claude plugin install react@data-client
Use vue@data-client for Vue, core@data-client for neither, and add migrations@data-client before an upgrade.
Vue skills
Vue projects used to get the React hooks skill, so agents reached for React patterns. The
data-client-vue skill writes DataClientPlugin and composable
code, and debugs a running app
(#4126).
data-client-vue-testing writes renderDataCompose()
and mountDataClient() tests (#4126) that follow the
Vue testing guides (#4181).
llms.txt
Agents without skills can read the docs as markdown, following the llms.txt convention (#4171, #4236):
- llms.txt for React and vue/llms.txt for Vue index every page, and
llms-full.txtbeside each holds them all in one file - rest/llms.txt and graphql/llms.txt cover just that package's API
- Any docs page is markdown when you add
.mdto its URL, like /docs/api/useSuspense.md
Every page links its llms.txt in <head>, and every docs page links its markdown, so an agent given any page URL
finds them on its own.
Skills match the docs
Skill reference pages are now generated per framework from these docs, so they carry shared snippets like install commands and give Vue projects only Vue code. A CI check fails when a skill drifts from the docs, so skills stay current with each release (#4170).
Also available
Skills for each task
Beyond setup, there are skills for each part of a Data Client app. /data-client-setup installs the ones your project
uses:
- data-client-rest-setup moves
fetch, axios, ky, got or superagent clients to RestEndpoint, alongside the axios migration guide and its codemod (#3867) - data-client-graphql-setup and data-client-endpoint-setup cover GraphQL and custom async functions
- data-client-rest defines APIs with resource() and RestEndpoint
- data-client-schema designs Entity, Collection, Union and Query schemas
- data-client-manager writes Managers for websockets, SSE, polling and logging
- data-client-react and data-client-react-testing use and test the React hooks
Browse them all at skills.sh/reactive/data-client.
Debug a running app
Ask your agent "why didn't this refetch?" or "what's in the cache right now?" and it can check the running app instead
of guessing from code. In dev mode, DevToolsManager puts each store's
Controller on globalThis.__DC_CONTROLLERS__, so an agent connected through
Chrome DevTools MCP, or
Expo MCP for React Native, can read the store, follow dispatched actions, and
match them to network requests. The map is there in browsers, React Native and Node
(#3753).
__DC_CONTROLLERS__.get('Data Client: My App').getState();
The React and Vue skills drive this through Chrome DevTools MCP; see debugging with agents for what they can inspect.
Upgrade skills
Skills also handle upgrades. The v0.18 skill runs the codemod, then handles what it can't, like
registering argsKey for schemas whose output depends on endpoint args
(v0.18 migration). The path-to-regexp v8 skill rewrites
path syntax in your endpoints.
- Skills
- OpenSkills
- Claude Code
npx skills add reactive/data-client \
--skill data-client-v0.18-migration \
--skill path-to-regexp-v8-migration
npx openskills install reactive/data-client/.agents/skills/data-client-v0.18-migration
npx openskills install reactive/data-client/.agents/skills/path-to-regexp-v8-migration
claude plugin marketplace add reactive/data-client
claude plugin install migrations@data-client
