RD

rdc-vue-testing

Provides testing utilities for Data Client-enabled Vue applications.

Install

mkdir -p .claude/skills/rdc-vue-testing && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5920" && unzip -o skill.zip -d .claude/skills/rdc-vue-testing && rm skill.zip

Installs to .claude/skills/rdc-vue-testing

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Test @data-client/vue composables and components - renderDataCompose, mountDataClient, fixtures, jest, nock HTTP mocking, polling/subscription tests with fake timers, useSuspense, useLive, useSubscription, Vue 3 reactive props. Use when writing or debugging tests for composables or components built on @data-client/vue.
320 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • →Test composables with renderDataCompose
  • →Mount components with mountDataClient
  • →Mock API responses
  • →Test suspense behavior
  • →Verify reactive prop changes

How it works

The skill provides testing utilities to mock store state, handle suspense, and verify reactive updates in Vue components using Data Client.

Inputs & outputs

You give it
Vue component or composable
You get back
Test suite results

When to use rdc-vue-testing

  • →Test Vue composables
  • →Mock API responses for testing
  • →Test suspense behavior
  • →Render components for unit testing

About rdc-vue-testing

Facilitates testing of reactive components and composables. It includes helpers for data client mounting, mocking responses, and verifying state transitions.

Test @data-client/vue composables and components - renderDataCompose, mountDataClient, fixtures, jest, nock, Vue 3 reactive props, useSuspense testing

When not to use it

  • →When testing non-Data Client components
  • →When the project does not use Vue 3

Prerequisites

Vue Test Utils

Limitations

  • →Requires Vue 3
  • →Depends on Data Client hooks

How it compares

It integrates Data Client-specific lifecycle and state management into standard Vue testing patterns.

Compared to similar skills

rdc-vue-testing side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
rdc-vue-testing (this skill)14moReviewAdvanced
vue-testing-best-practices58moNo flagsIntermediate
vue08moNo flagsIntermediate
vue-best-practices196moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry