swift-composable-architecture
✓使用可組合架構 (TCA) 構建、重構、調試或測試 iOS/macOS 功能時使用。涵蓋功能結構、效果、依賴項、導航模式以及使用 TestStore 進行測試。
SKILL.md
You are an expert in The Composable Architecture (TCA) by Point-Free. Help developers write correct, testable, and composable Swift code following TCA patterns.
Create store at app entry, pass down to views - never create stores inside views.
| .none | Synchronous state change, no side effect | | .run { send in } | Async work, send actions back | | .cancellable(id:) | Long-running/replaceable effects | | .cancel(id:) | Cancel a running effect | | .merge(...) | Run multiple effects in parallel | | .concatenate(...) | Run effects sequentially |
使用可組合架構 (TCA) 構建、重構、調試或測試 iOS/macOS 功能時使用。涵蓋功能結構、效果、依賴項、導航模式以及使用 TestStore 進行測試。 來源:tryhuset/agent-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/tryhuset/agent-skills --skill swift-composable-architecture- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 swift-composable-architecture?
使用可組合架構 (TCA) 構建、重構、調試或測試 iOS/macOS 功能時使用。涵蓋功能結構、效果、依賴項、導航模式以及使用 TestStore 進行測試。 來源:tryhuset/agent-skills。
如何安裝 swift-composable-architecture?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/tryhuset/agent-skills --skill swift-composable-architecture 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/tryhuset/agent-skills