Loading...
Loading...
Swift concurrency patterns — actors, structured concurrency, cancellation, async streams, GCD migration, strict-concurrency diagnostics, common bug patterns. Use when writing, reviewing, or debugging concurrent Swift code.
npx skill4agent add vabole/apple-skills guide-swift-concurrencyGuide Skill — This is an expert workflow/pattern guide, not API reference documentation. Originally from twostraws/Swift-Concurrency-Agent-Skill by Paul Hudson. MIT License.
Task {}@unchecked Sendablesendingreferences/hotspots.mdreferences/new-features.mdreferences/actors.mdreferences/structured.mdreferences/unstructured.mdreferences/cancellation.mdreferences/async-streams.mdreferences/bridging.mdreferences/interop.mdreferences/bug-patterns.mdreferences/diagnostics.mdreferences/testing.md| Topic | Reference |
|---|---|
| Grep targets for code review — known-dangerous patterns | |
Swift 6.2: default isolation, | |
| Actor reentrancy, global actor inference, isolation patterns | |
Task groups, | |
| |
Cooperative cancellation, | |
| |
Checked continuations, wrapping delegates, | |
| GCD migration, Combine to AsyncSequence, completion handlers, locks | |
| Common concurrency failure modes LLMs produce and their fixes | |
| Strict-concurrency compiler errors mapped to likely fixes | |
| Async test patterns, race detection, avoiding timing-based tests | |