Migrating to swift concurrency
Skill rolandobenitez/the-unofficial-swift-concurrency-migration-skill/migrating-to-swift-concurrency
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.From its SKILL.md
npx -y skills add rolandobenitez/the-unofficial-swift-concurrency-migration-skill --skill migrating-to-swift-concurrencyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.7 KB, 702 tokens by cl100k_base, as published. Nobody here has run it
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
- Data Race Safety (Guide/DataRaceSafety.md): Learn about the fundamental concepts Swift uses to enable data-race-free
- Migration Strategy (Guide/MigrationStrategy.md): Get started migrating your project to the Swift 6 language mode.
- Enable data-race safety checking (Guide/EnableDataRaceSafety.md): Use Swift 6 to get full data-race safety checking or add checking to an existing Swift 5 project.
- Common Compiler Errors (Guide/CommonProblems.md): Identify, understand, and address common problems you can encounter while
- Incremental Adoption (Guide/IncrementalAdoption.md): Learn how you can introduce Swift concurrency features into your project
- Migrating to upcoming language features (Guide/FeatureMigration.md): Migrate your project to upcoming language features.
- Source Compatibility (Guide/SourceCompatibility.md): See an overview of potential source compatibility issues.
- Library Evolution (Guide/LibraryEvolution.md): Annotate library APIs for concurrency while preserving source and ABI
- Runtime Behavior (Guide/RuntimeBehavior.md): Learn how Swift concurrency runtime semantics differ from other runtimes you may
Code Examples
Swift source files demonstrating migration patterns and concurrency concepts:
- Boundaries.swift (Examples/Boundaries.swift): Example code demonstrating Boundaries.
- ConformanceMismatches.swift (Examples/ConformanceMismatches.swift): Example code demonstrating ConformanceMismatches.
- DispatchQueue_PendingWork.swift (Examples/DispatchQueue_PendingWork.swift): Example code demonstrating DispatchQueue PendingWork.
- Globals.swift (Examples/Globals.swift): Example code demonstrating Globals.
- IncrementalMigration.swift (Examples/IncrementalMigration.swift): Example code demonstrating IncrementalMigration.
- PreconcurrencyImport.swift (Examples/PreconcurrencyImport.swift): Example code demonstrating PreconcurrencyImport.
- main.swift (Examples/main.swift): Example code demonstrating main.
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.
What ships with it: 22 files
6140.9 KB alongside SKILL.md
Examples/
Guide/
- CommonProblems.md26.4 KB
- concurrency_migration_swift_the_skill_unofficial_v1.2.zip1362.2 KB
- DataRaceSafety.md21.6 KB
- EnableDataRaceSafety.md5.9 KB
- FeatureMigration.md3.2 KB
- IncrementalAdoption.md16.5 KB
- LibraryEvolution.md7.6 KB
- MigrationStrategy.md4.3 KB
- migration_unofficial_swift_the_concurrency_skill_v2.2.zip1362.2 KB
- RuntimeBehavior.md2.6 KB
- SourceCompatibility.md4.8 KB
- unofficial-skill-swift-concurrency-the-migration-v1.3.zip1362.2 KB
- unofficial-swift-concurrency-skill-migration-the-3.4.zip573.9 KB
- LICENSE.txt11.5 KB
Gives 0 of the 12 instructions most test skills give in 702 tokens
Counted across 964 of the 1,571 authors here whose files we hold, read 2026-08-07
- Close the browser when donein 55 of 964, across 12 files
- Wait for network idle statein 51 of 964, across 6 files
- Launch Chromium in headless modein 49 of 964, across 6 files
- Use descriptive selectors for elementsin 49 of 964, across 6 files
- Run provided scripts with help flag firstin 49 of 964, across 6 files
- Add appropriate explicit waitsin 48 of 964, across 5 files
- Use bundled scripts as black boxesin 46 of 964, across 3 files
- Do not read script source codein 46 of 964, across 3 files
- Use sync playwright for scriptsin 46 of 964, across 3 files
- Inspect dom before executing actionsin 46 of 964, across 3 files
- Run the full test suitein 37 of 964
- Write the failing test firstin 29 of 964, across 23 files
Said here and by no other author read
- Start with Data Race Safety to understand 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
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.