·query-layer
*

query-layer

epicenterhq/epicenter

用于通过 TanStack 查询、错误转换和运行时依赖项注入使用服务的查询层模式。在实现查询/变更、转换 UI 的服务错误或添加反应式数据管理时使用。

10安装·1热度·@epicenterhq

安装

$npx skills add https://github.com/epicenterhq/epicenter --skill query-layer

SKILL.md

The query layer is the reactive bridge between UI components and the service layer. It wraps pure service functions with caching, reactivity, and state management using TanStack Query and WellCrafted factories.

Critical: Service errors should be transformed to user-facing error types at the query layer boundary.

The query layer dynamically selects service implementations based on user settings.

用于通过 TanStack 查询、错误转换和运行时依赖项注入使用服务的查询层模式。在实现查询/变更、转换 UI 的服务错误或添加反应式数据管理时使用。 来源:epicenterhq/epicenter。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/epicenterhq/epicenter --skill query-layer
分类
*创意媒体
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 query-layer?

用于通过 TanStack 查询、错误转换和运行时依赖项注入使用服务的查询层模式。在实现查询/变更、转换 UI 的服务错误或添加反应式数据管理时使用。 来源:epicenterhq/epicenter。

如何安装 query-layer?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/epicenterhq/epicenter --skill query-layer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/epicenterhq/epicenter

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-01