← marketplace
engineerslanguagesha:229756811636607dmanual
swift-concurrency-expert
Use when working with swift concurrency review/fix: compiler errors, Sendable, isolation, remediation from steipete/agent-scripts.
source: https://github.com/steipete/agent-scripts/tree/main/skills/swift-concurrency-expert ↗steipete/agent-scripts· ★ 3.8k
Install confidence
curl --create-dirs -fsSL https://skillmake.xyz/i/swift-concurrency-expert -o ~/.claude/skills/swift-concurrency-expert/SKILL.md
Pinned content
sha:229756811636607d
Generated with
manual
Source
github.com
The file served at /api/marketplace/swift-concurrency-expert-22975681/raw matches this hash. Inspect before install, then copy the command.
2,613 chars · ~653 tokens
--- name: swift-concurrency-expert description: "Use when working with swift concurrency review/fix: compiler errors, Sendable, isolation, remediation from steipete/agent-scripts." source: https://github.com/steipete/agent-scripts/tree/main/skills/swift-concurrency-expert generated: 2026-05-27T20:56:37.390Z category: language audience: engineers --- ## When to use - Using the swift-concurrency-expert skill's upstream workflow, guardrails, and local-tool assumptions. - Auditing commands or operational steps before changing swift concurrency expert behavior. - Needing a compact agent reference for swift concurrency review/fix: compiler errors, Sendable, isolation, remediation. ## Key concepts ### 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 Workflow guidance for the swift-concurrency-expert skill. ### 1. Triage the issue Capture the exact compiler diagnostics and the offending symbol(s). 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. Common fixes: UI-bound types: annotate the type or relevant members with @MainActor. Protocol conformance on main actor types: make the conformance isolated (e.g., extension Foo: @MainActor SomeProtocol). Global/static state: protect with @MainActor or move into an actor. Background work: move expensive work into a @concurrent async function on a nonisolated type or use an actor to guard mutable state. Sendable... ### Reference material See references/swift-6-2-concurrency.md for Swift 6.2 changes, patterns, and examples. See references/swiftui-concurrency-tour-wwdc.md for SwiftUI-specific concurrency guidance. ## API reference ``` npx skills add steipete/agent-scripts --skill swift-concurrency-expert ``` Install the swift-concurrency-expert skill from steipete/agent-scripts. ``` npx skills add steipete/agent-scripts --skill swift-concurrency-expert ``` ## Gotchas - Confirm whether the code is UI-bound or intended to run off the main actor. - Prefer edits that preserve existing behavior while satisfying data-race safety. --- Generated by SkillMake from https://github.com/steipete/agent-scripts/tree/main/skills/swift-concurrency-expert on 2026-05-27T20:56:37.390Z. Verify against source before relying on details.
File: ~/.claude/skills/swift-concurrency-expert/SKILL.md