·effect-best-practices
</>

effect-best-practices

betalyra/effect-skills

对服务、错误、层和原子强制执行 Effect-TS 模式。在使用 Effect.Service、Schema.TaggedError、Layer 组合或effect-atom React 组件编写代码时使用。

10安装·1热度·@betalyra

安装

$npx skills add https://github.com/betalyra/effect-skills --skill effect-best-practices

SKILL.md

This skill enforces opinionated, consistent patterns for Effect-TS codebases. These patterns optimize for type safety, testability, observability, and maintainability.

Don't try to install nor import from "@effect/schema", it is deprecated. Instead just import from "effect" package.

| Services | Effect.Service | Context.Tag for business logic | | Dependencies | dependencies: [Dep.Default] at the top of the service | Manual Layer.provide at usage sites | | Errors | Schema.TaggedError with message and cause fields | Plain classes or generic Error |

对服务、错误、层和原子强制执行 Effect-TS 模式。在使用 Effect.Service、Schema.TaggedError、Layer 组合或effect-atom React 组件编写代码时使用。 来源:betalyra/effect-skills。

查看原文

可引用信息

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

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

快速解答

什么是 effect-best-practices?

对服务、错误、层和原子强制执行 Effect-TS 模式。在使用 Effect.Service、Schema.TaggedError、Layer 组合或effect-atom React 组件编写代码时使用。 来源:betalyra/effect-skills。

如何安装 effect-best-practices?

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

这个 Skill 的源码在哪?

https://github.com/betalyra/effect-skills

详情

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

相关 Skills

暂无