migrating-to-swift-concurrency

kylehughes 的头像作者 kylehughes

为AI代理构建持久代码库智能或通过MCP集成知识系统时使用

📖 中文导读:为AI代理构建持久代码库智能或通过MCP集成知识系统时使用 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: migrating-to-swift-concurrency description: Provides the complete Swift Concurrency Migration Guide. Use when migrating to Swift 6, resolving data-race safety errors, understanding Sendable and actor isolation, or incrementally adopting async/await.

Swift Concurrency Migration Guide

The complete content of the Swift Concurrency Migration Guide by Apple. This guide helps you migrate your code to take advantage of Swift's data-race safety guarantees and the Swift 6 language mode.

Documentation

Code Examples

Swift source files demonstrating migration patterns and concurrency concepts:

Usage Notes

  • Start with Data Race Safety to understand the core concepts
  • Follow the Migration Strategy for a recommended approach
  • Refer to Common Problems for solutions to typical issues
  • Use the Code Examples as reference implementations

License & Attribution

Content License

The documentation and example code in this skill are from the Swift Concurrency Migration Guide, copyright Apple Inc. and the Swift project authors, distributed under the Apache 2.0 License.

Skill Structure License

The structure and organization of this skill (this index file) is copyright Kyle Hughes, distributed under the MIT License.