dpearson2699/swift-ios-skills · swift-concurrency · SKILL.md
Swift并发处理
解决Swift并发编译错误,采用易用并发(SE-0466),编写数据竞争安全的异步代码。适用于修复Sendable一致性错误、actor隔离警告或严格并发诊断;采用默认MainActor隔离、@concurrent、nonisolated(nonsending)或Task.immediate;设计基于actor的架构、使用TaskGroup的结构化并发或后台任务卸载;或从@preconcurrency迁移至Swift 6严格并发。
这是公开 Agent Skill 的中文说明,由采集翻译或编辑润色,完整内容以上游 SKILL.md 为准。适用于 Cursor / Claude Code / Codex / Gemini。 打开上游 SKILL.md
安装
通用(npx skills)
npx skills add dpearson2699/swift-ios-skills -s swift-concurrency
Cursor
把该 Skill 复制到项目的 .cursor/skills/swift-concurrency/ 目录
Claude Code
/plugin marketplace add dpearson2699/swift-ios-skills