·fp-ts-errors
</>

fp-ts-errors

sickn33/antigravity-awesome-skills

使用 fp-ts Either 和 TaskEither 將錯誤作為值處理,以獲得更清晰、更可預測的 TypeScript 代碼。使用 fp-ts 實現錯誤處理模式時使用。

21安裝·1熱度·@sickn33

安裝

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill fp-ts-errors

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