Effect Ts

作者 effect-ts2309e6f27d99无许可证107 个星标收录于 2026年10月8日更新于 2026年10月8日仓库6周前更新

Use this skill when setting up a repository that uses the Effect Typescript library.

AI 生成的概览

为使用 Effect TypeScript 库的仓库完成安装配置,并添加供智能体阅读其文档的指引。

功能
该技能说明如何使用用户偏好的包管理器安装 Effect TypeScript 库,包括在 monorepo 中将其作为根目录开发依赖安装,以便访问 node_modules/effect/src 下的源码。随后它要求智能体在 AGENTS.md 或 CLAUDE.md 中加入一段简短说明,提示后续智能体在编写 Effect 代码前完整阅读 node_modules/effect/AGENTS.md,并在文档未覆盖时检索库源码。其产出是配置与说明文件的修改,而非代码。
适用场景
适用于开始搭建或配置将使用 Effect TypeScript 库的仓库时。也适合在既有 Effect 代码库中为智能体做初始引导。
运行要求
需要一个 Node.js 项目及 pnpm 等包管理器,并具备安装 effect 包的网络访问能力。该技能不包含脚本,仅提供说明和要加入 AGENTS.md 或 CLAUDE.md 的 Markdown 片段。

Step 1: Install effect

Use the users preferred package manager:

pnpm add effect@rc

If in a monorepo, install it as a dev dependency at the root, so you can access the source code from node_modules/effect/src.

pnpm add -D effect@rc

Step 2: Update AGENTS.md / CLAUDE.md

Ensure that the agent instructions contain the following:

md
# Learning more about Effect
This repository uses the Effect Typescript library.
Before writing any Effect code, first read `node_modules/effect/AGENTS.md`**completely**, and follow the links in the file when required.
If you need to learn more about particular Effect apis and concepts that theguide doesn't cover, search through the source code in `node_modules/effect/src`.

来源与署名

来源:effect-ts/skills位于skills/effect-ts提交2309e6f

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架