swift-conventions
✓Claude 不會本能地做出專家 Swift 決策:結構與類別的權衡、@MainActor 放置、async/await 與組合選擇、記憶體管理陷阱以及 iOS 特定的反模式。在為 iOS/tvOS 應用程式編寫 Swift 程式碼、審查 Swift 架構決策或偵錯記憶體/並發問題時使用。觸發關鍵字:Swift、iOS、tvOS、actor、async、Sendable、retain Cycle、記憶體洩漏、struct、class、protocol、generic
SKILL.md
Expert decision frameworks for Swift choices that require experience. Claude knows Swift syntax — this skill provides the judgment calls.
The non-obvious trade-off: Structs with reference-type properties (arrays, classes inside) lose copy-on-write benefits. A struct containing [UIImage] copies the array reference, not images — mutations affect all "copies."
When Combine still wins: Multiple publishers needing combineLatest, merge, or debounce. Converting this to pure async/await requires manual coordination that Combine handles elegantly.
Claude 不會本能地做出專家 Swift 決策:結構與類別的權衡、@MainActor 放置、async/await 與組合選擇、記憶體管理陷阱以及 iOS 特定的反模式。在為 iOS/tvOS 應用程式編寫 Swift 程式碼、審查 Swift 架構決策或偵錯記憶體/並發問題時使用。觸發關鍵字:Swift、iOS、tvOS、actor、async、Sendable、retain Cycle、記憶體洩漏、struct、class、protocol、generic 來源:kaakati/rails-enterprise-dev。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/kaakati/rails-enterprise-dev --skill swift-conventions- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-13
- 更新時間
- 2026-02-18
快速解答
什麼是 swift-conventions?
Claude 不會本能地做出專家 Swift 決策:結構與類別的權衡、@MainActor 放置、async/await 與組合選擇、記憶體管理陷阱以及 iOS 特定的反模式。在為 iOS/tvOS 應用程式編寫 Swift 程式碼、審查 Swift 架構決策或偵錯記憶體/並發問題時使用。觸發關鍵字:Swift、iOS、tvOS、actor、async、Sendable、retain Cycle、記憶體洩漏、struct、class、protocol、generic 來源:kaakati/rails-enterprise-dev。
如何安裝 swift-conventions?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/kaakati/rails-enterprise-dev --skill swift-conventions 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/kaakati/rails-enterprise-dev
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-13