·swift-composable-architecture
</>

swift-composable-architecture

tryhuset/agent-skills

使用可組合架構 (TCA) 構建、重構、調試或測試 iOS/macOS 功能時使用。涵蓋功能結構、效果、依賴項、導航模式以及使用 TestStore 進行測試。

29安裝·0熱度·@tryhuset

安裝

$npx skills add https://github.com/tryhuset/agent-skills --skill swift-composable-architecture

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

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-01