kylehughes

migrating-to-swift-concurrency

42
0
# Install this skill:
npx skills add kylehughes/the-unofficial-swift-concurrency-migration-skill

Or install specific skill: npx add-skill https://github.com/kylehughes/the-unofficial-swift-concurrency-migration-skill/tree/main/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.

# 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.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.