swift-concurrency-expert

Installation
Summary

Swift Concurrency review and remediation for Swift 6.2+ codebases.

  • Diagnoses and fixes actor isolation, Sendable safety, and data-race warnings through targeted edits that preserve existing behavior
  • Applies minimal, concrete fixes: @MainActor annotations, actor isolation, Sendable conformance, and completion-handler-to-async/await migrations
  • Triages compiler diagnostics by checking project concurrency settings, actor context, and whether code is UI-bound or background work
  • Verifies fixes by rebuilding, running tests, and iteratively resolving any new warnings until the build is clean
SKILL.md

Swift Concurrency Expert

Overview

Review and fix Swift Concurrency issues in Swift 6.2+ codebases by applying actor isolation, Sendable safety, and modern concurrency patterns with minimal behavior changes.

Workflow

1. Triage the issue

  • Capture the exact compiler diagnostics and the offending symbol(s).
  • Check project concurrency settings: Swift language version (6.2+), strict concurrency level, and whether approachable concurrency (default actor isolation / main-actor-by-default) is enabled.
  • Identify the current actor context (@MainActor, actor, nonisolated) and whether a default actor isolation mode is enabled.
  • Confirm whether the code is UI-bound or intended to run off the main actor.

2. Apply the smallest safe fix

Prefer edits that preserve existing behavior while satisfying data-race safety.

Related skills

More from dimillian/skills

Installs
1.2K
GitHub Stars
3.5K
First Seen
Jan 20, 2026