swift-concurrency
✓有关 Swift 并发最佳实践、模式和实施的专家指导。当开发人员提及以下内容时使用:(1) Swift 并发、异步/等待、参与者或任务,(2)“使用 Swift 并发”或“现代并发模式”,(3) 迁移到 Swift 6,(4) 数据争用或线程安全问题,(5) 将闭包重构为异步/等待,(6) @MainActor、Sendable 或参与者隔离,(7) 并发代码架构或性能优化,(8) 并发相关的 linter警告(SwiftLint 或类似的;例如 async_without_await、Sendable/actorisolation/MainActor lint)。
SKILL.md
This skill provides expert guidance on Swift Concurrency, covering modern async/await patterns, actors, tasks, Sendable conformance, and migration to Swift 6. Use this skill to help developers write safe, performant concurrent code and navigate the complexities of Swift's structured concurrency model.
Concurrency behavior depends on build settings. Always try to determine:
If any of these are unknown, ask the developer to confirm them before giving migration-sensitive guidance.
有关 Swift 并发最佳实践、模式和实施的专家指导。当开发人员提及以下内容时使用:(1) Swift 并发、异步/等待、参与者或任务,(2)“使用 Swift 并发”或“现代并发模式”,(3) 迁移到 Swift 6,(4) 数据争用或线程安全问题,(5) 将闭包重构为异步/等待,(6) @MainActor、Sendable 或参与者隔离,(7) 并发代码架构或性能优化,(8) 并发相关的 linter警告(SwiftLint 或类似的;例如 async_without_await、Sendable/actorisolation/MainActor lint)。 来源:avdlee/swift-concurrency-agent-skill。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/avdlee/swift-concurrency-agent-skill --skill swift-concurrency- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 swift-concurrency?
有关 Swift 并发最佳实践、模式和实施的专家指导。当开发人员提及以下内容时使用:(1) Swift 并发、异步/等待、参与者或任务,(2)“使用 Swift 并发”或“现代并发模式”,(3) 迁移到 Swift 6,(4) 数据争用或线程安全问题,(5) 将闭包重构为异步/等待,(6) @MainActor、Sendable 或参与者隔离,(7) 并发代码架构或性能优化,(8) 并发相关的 linter警告(SwiftLint 或类似的;例如 async_without_await、Sendable/actorisolation/MainActor lint)。 来源:avdlee/swift-concurrency-agent-skill。
如何安装 swift-concurrency?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/avdlee/swift-concurrency-agent-skill --skill swift-concurrency 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/avdlee/swift-concurrency-agent-skill
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01