LaunchKit · 2026
Back to Skills

swift-concurrency-expert

Swift Concurrency review and remediation.

5
2.5k downloads
by @steipete

Setup & Installation

openclaw skills install @steipete/swift-concurrency-expert

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install swift-concurrency-expert

What This Skill Does

Reviews and fixes Swift Concurrency issues in Swift 6.2+ codebases. Applies actor isolation, Sendable safety, and modern concurrency patterns with minimal behavior changes. Targets data-race safety compliance based on compiler diagnostics and actor context.

Swift 6 concurrency errors are easy to suppress incorrectly; this skill applies the smallest safe fix based on compiler diagnostics and actor context rather than blanket workarounds.

When to use it

  • Fixing Swift 6 compiler concurrency errors in a feature branch
  • Annotating UI-bound types with @MainActor
  • Auditing actor isolation across a SwiftUI view model
  • Replacing @unchecked Sendable with correct value-type conformance
  • Moving global state into actor-protected properties

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Fix the Swift concurrency errors in my networking layer

AGENT
  1. 1Capture exact compiler diagnostics and identify offending symbols
  2. 2Determine actor context — whether code is UI-bound or runs off the main actor
  3. 3Select the appropriate fix: @MainActor annotation, actor isolation, or Sendable conformance
  4. 4Apply the minimal change that satisfies data-race safety without altering behavior
  5. 5Verify no new warnings are introduced by the changes
OUTPUT

Updated Swift files with correct actor isolation and Sendable conformance, resolving all concurrency compiler errors