·services-layer
</>

services-layer

epicenterhq/epicenter

具有 createTaggedError、命名空间导出和结果类型的服务层模式。在创建新服务、定义特定于域的错误或了解服务架构时使用。

7安装·1热度·@epicenterhq

安装

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

SKILL.md

This skill documents how to implement services in the Whispering architecture. Services are pure, isolated business logic with no UI dependencies that return Result types for error handling.

Services follow a three-layer architecture: Service → Query → UI

Every service defines domain-specific errors using createTaggedError from wellcrafted:

具有 createTaggedError、命名空间导出和结果类型的服务层模式。在创建新服务、定义特定于域的错误或了解服务架构时使用。 来源:epicenterhq/epicenter。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/epicenterhq/epicenter --skill services-layer
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 services-layer?

具有 createTaggedError、命名空间导出和结果类型的服务层模式。在创建新服务、定义特定于域的错误或了解服务架构时使用。 来源:epicenterhq/epicenter。

如何安装 services-layer?

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

这个 Skill 的源码在哪?

https://github.com/epicenterhq/epicenter

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01