fp-ts-errors
✓使用 fp-ts Either 和 TaskEither 将错误作为值处理,以获得更清晰、更可预测的 TypeScript 代码。使用 fp-ts 实现错误处理模式时使用。
SKILL.md
This skill teaches you how to handle errors without try/catch spaghetti. No academic jargon - just practical patterns for real problems.
The core idea: Errors are just data. Instead of throwing them into the void and hoping someone catches them, return them as values that TypeScript can track.
Exceptions are invisible in your types. They break the contract between functions.
使用 fp-ts Either 和 TaskEither 将错误作为值处理,以获得更清晰、更可预测的 TypeScript 代码。使用 fp-ts 实现错误处理模式时使用。 来源:sickn33/antigravity-awesome-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill fp-ts-errors- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-03
- 更新时间
- 2026-02-18
快速解答
什么是 fp-ts-errors?
使用 fp-ts Either 和 TaskEither 将错误作为值处理,以获得更清晰、更可预测的 TypeScript 代码。使用 fp-ts 实现错误处理模式时使用。 来源:sickn33/antigravity-awesome-skills。
如何安装 fp-ts-errors?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill fp-ts-errors 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/sickn33/antigravity-awesome-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-03