Skip to content
cccskills
FreePublished on GitHubEnglish overview

data-client-schema

Model API data with Reactive Data Client schemas such as Entity, Collection, Union, and Query. Normalized data lives in a shared cache, helping updates stay consistent across views and supporting relationships, mutable lists, and derived results.

OriginalShow the original description

Model the app's data with @data-client schemas, which normalize responses into one shared cache so an update shows everywhere. Use it whenever an endpoint returning data is added or its response changes (resource, RestEndpoint, GraphQL, Endpoint), when the data's shape changes, when data from different endpoints must be joined or related, when deriving views from loaded data, or when one item looks different in two places. Covers Entity, GQLEntity, Collection, Union and Query.

reactive/data-client2,040 stars(GitHub 2,040 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Modeling a new endpoint response
  • Relating data returned by different endpoints
  • Keeping an item consistent across screens
  • Building derived views from cached data

Overview

What it does

This skill guides the design of schemas such as Entity, Collection, Union, and Query to match API JSON responses and normalize data into a shared cache. When multiple views use the same item, updates can be reflected consistently. It covers changing response shapes, relating data returned by separate endpoints, adding, removing, or reordering list items, and calculating results from cached data. It also addresses model details such as entity identifiers, defaults, partial responses, and input validation.

When it helps

Use it when adding a data endpoint or changing its response fields. It can help when the same data appears differently across screens, when results from multiple APIs need relationships, or when lists need to be managed on the client.

Example requests

  • “Define an Entity for this API response.”
  • “Relate the user and post data.”
  • “Calculate the number of incomplete items from the loaded list.”

Notes

The license is Apache 2.0. Responses from endpoints that do not use schemas are not normalized, so updates from other endpoints or changes made with ctrl.set() are not reflected in them.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
AGoodIt covers data modeling and specifies no external sending or destructive execution steps.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingIt names protocol packages but gives no installation steps or environment requirements.

Not counted in the score. Rated by AI (OpenAI Codex) as of Nov 16, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (43)

  • SKILL.md11.9 KB
  • evals/evals.json17.2 KB
  • references.json1.1 KB
  • references/_ScalarDemo.md3.6 KB
  • references/_ScalarDemo.vue.md3.5 KB
  • references/All.md5.9 KB
  • references/All.vue.md6.4 KB
  • references/Array.md5.3 KB
  • references/Array.vue.md5.9 KB
  • references/Collection.md18.9 KB
  • references/Collection.vue.md18.9 KB
  • references/computed-properties.md9.9 KB

31 more files are not shown. View source on GitHub

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

changeset

FreeSummary

Prepare user-focused changesets and release documentation for software changes. Identify affected packages and version bumps, explain visible impact and breaking changes, and update related docs, blog drafts, and skills with examples where useful.

  • Writing a changeset for a feature or fix
  • Explaining a breaking change and migration
  • Choosing affected packages and version bumps
reactive/data-client2KUpdated Nov 15, 2026

data-client

FreeSummary

Use this guide to orient work in an app that uses Reactive Data Client. Identify whether a task belongs to data schemas, REST endpoints, React or Vue hooks, or external managers, then load the matching guidance for implementation, testing, or performance work.

  • Finding the right layer for a Data Client bug
  • Adding Data Client to an existing app
  • Choosing guidance for React or Vue integration
reactive/data-client2KUpdated Nov 15, 2026

Wrap existing asynchronous functions, such as SDK calls or local storage operations, as Data Client Endpoints. This lets applications use them with Data Client hooks and controllers, with options for schemas, caching, polling, and mutations.

  • Using Firebase or Supabase calls with Data Client
  • Connecting WebSocket data fetching
  • Reading asynchronous data from IndexedDB
reactive/data-client2KUpdated Nov 17, 2026

Set up @data-client/graphql for a project that uses GraphQL. Configure a GQLEndpoint with request headers, authentication, and custom error handling, then define queries and mutations with schemas for use in React or Vue applications.

  • Adding authentication headers to GraphQL requests
  • Defining Data Client GraphQL queries and mutations
  • Handling GraphQL authentication errors
reactive/data-client2KUpdated Nov 17, 2026

Build `@data-client` Managers for app-wide effects and real-time data. Connect the store to events and services such as websockets, polling, logging, and notifications, while keeping data shape and derived values in schemas.

  • Handle websocket or SSE updates
  • Refetch data on focus or reconnect
  • Add app-wide logging and error reporting
reactive/data-client2KUpdated Nov 17, 2026

Review a React app that uses `@data-client/react` for ways to make data loading, navigation, and updates faster. The skill measures common user flows, identifies available improvements, and explains the expected user impact and tradeoffs.

  • Speed up a migrated React app
  • Reduce loading time on detail pages
  • Make navigation and prefetching faster
reactive/data-client2KUpdated Nov 15, 2026

See all skills by reactive

Report a problem with this skill