query-layer

Official

Bridge UI and services with reactive queries.

AuthorEpicenterHQ
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a structured approach to connecting UI components with backend services by using a reactive query layer that simplifies data fetching, caching, and state management.

Core Features & Use Cases

  • Call services with injected settings/config to decouple business logic from environment
  • Transform service errors into user-facing error types for stable UI behavior
  • Manage TanStack Query cache for optimistic updates and consistent data
  • Support dual interfaces: reactive (.options) for components and imperative (.execute()) for workflows
  • Runtime dependency injection to select service implementations based on settings

Quick Start

Define your queries and mutations with defineQuery/defineMutation using runtime service selection to enable reactive UI and imperative workflows.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: query-layer
Download link: https://github.com/EpicenterHQ/epicenter/archive/main.zip#query-layer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.