rdc-setup

Detect project type and protocol, then install Reactive Data Client dependencies.

2.0k|99|Updated Feb 15, 2019
One-click install
npx skills add https://github.com/reactive/data-client --skill rdc-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rdc-setup
Source: https://github.com/reactive/data-client/tree/main/.cursor/skills/rdc-setup
Command: npx skills add https://github.com/reactive/data-client --skill rdc-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically detects project type and data protocol to install and configure Reactive Data Client setup, eliminating manual setup steps across React and Vue projects.

Core Features & Use Cases

  • Detects package manager (yarn, npm, pnpm) and project type (NextJS, Expo, Vue, React Native, plain React)
  • Detects data protocol (REST, GraphQL, custom) and coordinates protocol-specific setup skills
  • Installs core packages and wires provider setup, then hands off to appropriate rdc-* setup skills
  • Use case: Start a new project and automatically initialize the correct data-client configuration for your framework and protocol

Quick Start

Run the rdc-setup skill at your project root to auto-detect your environment and install the appropriate setup steps.

Frequently Asked Questions about rdc-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically setup a data client in React or Vue?

Automatically setup a data client by running the rdc-setup skill at your project root to detect your framework and install the correct Reactive Data Client configuration. It identifies NextJS, Expo, React Native, plain React, or Vue environments and wires the provider setup.

Can I use the Reactive Data Client with NextJS and Expo?

Yes, you can use the Reactive Data Client with NextJS and Expo. The setup process detects these frameworks, along with React Native, plain React, and Vue, to install the matching dependencies and configure the correct provider wiring for your specific environment.

How does project type detection work for data client installation?

Project type detection works by reading your valid package.json and source files to identify your framework and package manager. It determines whether you use yarn, npm, or pnpm, then installs the corresponding core packages and wires the provider setup automatically.

Does the automated setup support both REST and GraphQL protocols?

Yes, the automated setup supports both REST and GraphQL protocols. It detects your data protocol, which can also include custom data-fetching approaches, and coordinates the protocol-specific configuration by handing off to the appropriate specialized setup skills.

What do I need in my project before running automated data client setup?

Before running automated data client setup, you need a project with a valid package.json file, an installed package manager such as yarn, npm, or pnpm, and existing source files so the tool can accurately determine your environment and protocol.

Why is my data client setup not detecting my project type correctly?

Your data client setup may not detect the project type if the required package.json is missing or invalid, if no recognized package manager is installed, or if source files are absent, since these elements are strictly required to determine the environment and install dependencies.