swift-concurrency-6-2

swift concurrency 6 2

affaan-m 232k ↓ 5k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • Migrating Swift 5.x or 6.0/6.1 projects to Swift 6.2
  • Resolving data-race safety compiler errors
  • Designing MainActor-based app architecture
  • Offloading CPU-intensive work to background threads
  • Implementing protocol conformances on MainActor-isolated types
  • Enabling Approachable Concurrency build settings in Xcode 26
  • Start on MainActor — write single-threaded code first, optimize later

Requirements & configuration

  • When you need actual parallelism, explicitly offload with @concurrent:
  • Protect globals with MainActor — global/static mutable state needs actor isolation
  • Applying @concurrent to every async function (most don't need background execution)

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

swift concurrency 6 2

Source

Repository: https://github.com/affaan-m/everything-claude-code

swift-concurrency-6-2 FAQ

What does the swift-concurrency-6-2 skill do?

Swift 6.2 Approachable Concurrency — single-threaded by default, @concurrent for explicit background offloading, isolated conformances for main actor types. Migrating Swift 5.x or 6.0/6.1 projects to Swift 6.2 Resolving data-race safety compiler errors

What does swift-concurrency-6-2 require?

When you need actual parallelism, explicitly offload with @concurrent: Protect globals with MainActor — global/static mutable state needs actor isolation Applying @concurrent to every async function (most don't need background execution)

How do I install swift-concurrency-6-2?

Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill swift-concurrency-6-2 --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.

Maintain swift-concurrency-6-2?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

swift-concurrency-6-2 on getagentictools
[![swift-concurrency-6-2 on getagentictools](https://getagentictools.com/badge/skills/affaan-m-everything-claude-code-swift-concurrency-6-2.svg)](https://getagentictools.com/skills/affaan-m-everything-claude-code-swift-concurrency-6-2?ref=badge)
npx agentictools info skills/affaan-m-everything-claude-code-swift-concurrency-6-2

The second line is the CLI lookup for this page — handy in READMEs and docs.