swift-best-practices
✓在為 iOS 或 macOS 項目編寫或審查 Swift 代碼時應使用此技能。應用現代 Swift 6+ 最佳實踐、並發模式、API 設計指南和遷移策略。涵蓋 async/await、actors、MainActor、Sendable、類型化拋出和 Swift 6 重大更改。
SKILL.md
Apply modern Swift development best practices focusing on Swift 6+ features, concurrency safety, API design principles, and code quality guidelines for iOS and macOS projects targeting macOS 15.7+.
Swift 6 enables complete concurrency checking by default with region-based isolation (SE-0414). The compiler now proves code safety, eliminating many false positives whilst catching real concurrency issues at compile time.
Must Explicitly Mark Types with @MainActor (SE-0401) Property wrappers no longer infer actor isolation automatically.
在為 iOS 或 macOS 項目編寫或審查 Swift 代碼時應使用此技能。應用現代 Swift 6+ 最佳實踐、並發模式、API 設計指南和遷移策略。涵蓋 async/await、actors、MainActor、Sendable、類型化拋出和 Swift 6 重大更改。 來源:sammcj/agentic-coding。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/sammcj/agentic-coding --skill swift-best-practices- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-09
- 更新時間
- 2026-02-18
快速解答
什麼是 swift-best-practices?
在為 iOS 或 macOS 項目編寫或審查 Swift 代碼時應使用此技能。應用現代 Swift 6+ 最佳實踐、並發模式、API 設計指南和遷移策略。涵蓋 async/await、actors、MainActor、Sendable、類型化拋出和 Swift 6 重大更改。 來源:sammcj/agentic-coding。
如何安裝 swift-best-practices?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/sammcj/agentic-coding --skill swift-best-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/sammcj/agentic-coding
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-09