Skip to content
cccskills
FreePublished on GitHubEnglish overview

data-client-manager

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.

OriginalShow the original description

Write @data-client Managers, the runtime layer that bridges the store to the world outside the view framework: global side effects and real-time data such as websockets, SSE and polling. A Manager reacts to every request or to events from outside the app, and moves data into or out of the store. Use one instead of useEffect for behavior that belongs to the whole app, such as error toasts and reporting, logging and analytics, auth failures, refetching on focus or reconnect, and cross-tab sync. Not for the shape of data: data built from responses (joined, derived, or accumulated) is defined in a schema, so use data-client-schema.

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

Run score Not tested

See how to install

Good for

  • Handle websocket or SSE updates
  • Refetch data on focus or reconnect
  • Add app-wide logging and error reporting
  • Sync store changes across browser tabs

Overview

What it does

Build @data-client Managers to connect the data store with systems outside a view framework such as React. Managers respond to requests and outside events, moving data into the store through WebSockets, SSE, timers, or browser events, or sending store actions to logging, notification, and monitoring services. They can also handle logout after authentication errors, refetching when a page regains focus, syncing across tabs, and offline persistence. The skill recommends making a small Manager for each concern and accounting for per-store creation and the init() and cleanup() lifecycle.

When it helps

Use Managers for app-wide side effects instead of gathering them in component-level useEffect calls. They help organize behavior shared across screens, such as real-time updates, monitoring, and refetching after reconnection.

Example requests

  • “Create a Manager that applies WebSocket updates to the store.”
  • “Refetch data when the network reconnects.”
  • “Add a Manager that logs update actions.”

Notes

Define data shape derived from responses, such as joined, derived, or accumulated data, in a schema rather than a Manager. Use data-client-schema for that work.

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?
BPartly lackingIt describes network and persistence effects without an execution-confirmation procedure.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingIt assumes `@data-client` and event or service integrations, without setup steps.

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 (15)

  • SKILL.md13.1 KB
  • evals/evals.json12.5 KB
  • references.json388 B
  • references/Actions.md5.6 KB
  • references/Actions.vue.md5.6 KB
  • references/Controller.md34.1 KB
  • references/Controller.vue.md24.3 KB
  • references/getDefaultManagers.md6.1 KB
  • references/getDefaultManagers.vue.md3.8 KB
  • references/LogoutManager.md3.8 KB
  • references/LogoutManager.vue.md2.1 KB
  • references/Manager.md11.1 KB

3 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

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

Use `@data-client/react` to read and update API data and shared state in React. Handle loading and errors, mutations, forms, and derived views, and inspect stale or unexpected screen data with its hooks and controller APIs.

  • Show API data with loading and error states
  • Submit forms and update server data
  • Build filtered or derived data views
reactive/data-client2KUpdated Nov 17, 2026

See all skills by reactive

Report a problem with this skill