requirements management
✓當用戶詢問“效果服務”、“依賴注入”、“Effect.Tag”、“Context.Tag”、“Layer”、“Effect.provide”、“Effect.provideService”、“服務實現”、“管理依賴關係”、“Layer.succeed”、“Layer.effect”、“Layer.scoped”、“組合圖層”時,應該使用此技能。 “Layer.merge”、“Layer.provide”、“默認服務”、“層記憶”、“可測試性”、“測試層”、“模擬服務”,或者需要了解 Effect 如何處理需求 (R) 類型參數。
SKILL.md
The third type parameter in Effect represents requirements - services and dependencies the effect needs to run:
Effect uses a powerful dependency injection system based on Context and Layer.
The primary reason to define services is testability. Every external dependency (API calls, databases, file systems, third-party SDKs) MUST be wrapped in a Context.Tag service so that tests can provide a test implementation instead of hitting real systems. This is how Effect achieves 100% test coverage — business logic depends only on service interfaces, and tests swap in test layers that control all I/O.
當用戶詢問“效果服務”、“依賴注入”、“Effect.Tag”、“Context.Tag”、“Layer”、“Effect.provide”、“Effect.provideService”、“服務實現”、“管理依賴關係”、“Layer.succeed”、“Layer.effect”、“Layer.scoped”、“組合圖層”時,應該使用此技能。 “Layer.merge”、“Layer.provide”、“默認服務”、“層記憶”、“可測試性”、“測試層”、“模擬服務”,或者需要了解 Effect 如何處理需求 (R) 類型參數。 來源:andrueandersoncs/claude-skill-effect-ts。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill requirements management- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 requirements management?
當用戶詢問“效果服務”、“依賴注入”、“Effect.Tag”、“Context.Tag”、“Layer”、“Effect.provide”、“Effect.provideService”、“服務實現”、“管理依賴關係”、“Layer.succeed”、“Layer.effect”、“Layer.scoped”、“組合圖層”時,應該使用此技能。 “Layer.merge”、“Layer.provide”、“默認服務”、“層記憶”、“可測試性”、“測試層”、“模擬服務”,或者需要了解 Effect 如何處理需求 (R) 類型參數。 來源:andrueandersoncs/claude-skill-effect-ts。
如何安裝 requirements management?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill requirements management 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/andrueandersoncs/claude-skill-effect-ts
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01