·effect-ts-anti-patterns
</>

effect-ts-anti-patterns

mrevanzak/effect-ts-skills

在检查 Effect-TS 代码、调试意外崩溃或优化并发操作时使用。

2安装·0热度·@mrevanzak

安装

$npx skills add https://github.com/mrevanzak/effect-ts-skills --skill effect-ts-anti-patterns

SKILL.md

Overview Effect-TS provides a powerful functional framework, but common imperative habits can bypass its safety guarantees. This skill identifies and fixes patterns that lead to resource leaks, process crashes, and unhandled errors.

| Anti-Pattern | Bad Code | Good Code | Why |

| Run Outside Boundary | await Effect.runPromise(fx) mid-function | yield fx (compose) | Bypasses error channel & tracing. | | Missing yield | const user = yield fetchUser() | const user = yield fetchUser() | Yields the Effect object, not the result. |

在检查 Effect-TS 代码、调试意外崩溃或优化并发操作时使用。 来源:mrevanzak/effect-ts-skills。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/mrevanzak/effect-ts-skills --skill effect-ts-anti-patterns
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 effect-ts-anti-patterns?

在检查 Effect-TS 代码、调试意外崩溃或优化并发操作时使用。 来源:mrevanzak/effect-ts-skills。

如何安装 effect-ts-anti-patterns?

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

这个 Skill 的源码在哪?

https://github.com/mrevanzak/effect-ts-skills

详情

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