Agent skill · Databases

concurrency-patterns

Swift concurrency patterns including Swift 6.2 approachable concurrency, structured concurrency, actors, continuations, and migration. Use when reviewing or building async code, fixing data race errors, or migrating to Swift 6.

rshankrasgithub.com/rshankrasGitHub ↗
claude-coderead-onlyMIT
Install
npx skills add rshankras/claude-code-apple-skills --skill concurrency-patterns --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 6 KB
Bundled scripts: none
Allowed tools: ReadGlobGrep
Path: skills/swift/concurrency-patterns/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 589
Language: Swift

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Swift Concurrency Patterns Comprehensive guide for Swift concurrency covering async/await, structured concurrency, actors, and the Swift 6.2 "Approachable Concurrency" features. Focuses on patterns that prevent data races and common mistakes that cause crashes. ## When This Skill Activates - User has data race errors or actor isolation compiler errors - User is migrating to Swift 6 strict concurrency - User asks about async/await, actors, Sendable, TaskGroup, or MainActor - User needs to bridge legacy completion-handler APIs to async/await - User is working with Swift 6.2 features (@concurrent, isolated conformances) - User has concurrency bugs (actor reentrancy, task cancellation, UI freezes) ## Decision Tree ``` What concurrency problem are you solving? │ ├─ Swift 6 compiler errors / migration │ └─ migration-guide.md │ ├─ Swift 6.2 new features (@concurrent, isolated conformances) │ └─ swift62-concurrency.md │ ├─ Running work in parallel (async let, TaskGroup) │ └─ structured-concurrency.md │ ├─ Thread safety for shared mutable state │ └─ actors-and-isolation.md │ ├─ Bridging old APIs (delegates, callbacks) to async/await │ └─ continuations-bridging.md │ ├─ Hangs, slow parallel

What's inside
Steps it walks through
  1. When This Skill Activates
  2. Decision Tree
  3. Quick Reference
  4. Process
  5. 1. Identify the Problem
  6. 2. Load Relevant Reference Files
  7. 3. Review Checklist
  8. 4. Cross-Reference
  9. References
Ships with 6 files
  • actors-and-isolation.md
  • concurrency-internals.md
  • continuations-bridging.md
  • migration-guide.md
  • structured-concurrency.md
  • swift62-concurrency.md
More from claude-code-apple-skills
All skills →
About this skill
What does the concurrency-patterns skill do?

Swift concurrency patterns including Swift 6.2 approachable concurrency, structured concurrency, actors, continuations, and migration. Use when reviewing or building async code, fixing data race errors, or migrating to Swift 6.

How do I install it?

Run `npx skills add rshankras/claude-code-apple-skills --skill concurrency-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going