{"enrichment":{"faq":[{"a":"concurrency-patterns guides you through Swift's modern concurrency model, including async/await patterns, structured task management with TaskGroup and async let, and actor-based isolation. The skill helps you navigate compiler errors, prevent data races, and adopt strict concurrency in both new and existing code.","q":"What does concurrency-patterns cover for Swift async/await?"},{"a":"concurrency-patterns addresses Swift 6 compiler errors related to strict concurrency and data races by teaching isolation patterns, Sendable conformance, and actor design. The skill covers root causes of data races and provides strategies to resolve them\u2014from simple value types to complex shared-state scenarios.","q":"How do I fix data race errors in Swift 6?"},{"a":"concurrency-patterns includes patterns for bridging legacy callback and delegate APIs to async/await. You'll learn withCheckedContinuation, AsyncStream for delegate bridging, and other conversion techniques to modernize callback-based code without rewriting entire systems.","q":"How can I bridge completion handlers to async/await?"},{"a":"concurrency-patterns covers async/await fundamentals, TaskGroup for parallel work, async let for concurrent binding, and actor-based thread safety. It also addresses task cancellation, MainActor for UI updates, and Swift 6.2 approachable concurrency features to help you write safe, efficient concurrent code.","q":"What structured concurrency patterns does concurrency-patterns teach?"},{"a":"concurrency-patterns provides a migration guide for adopting Swift 6's concurrency model. It covers Sendable conformance errors, actor reentrancy problems, custom actor executors, and strategies for incrementally updating callback-based and delegate-based code to modern structured concurrency.","q":"How do I migrate existing code to Swift 6 concurrency?"},{"a":"concurrency-patterns helps you debug concurrency issues including hangs, reentrancy problems, and UI freezes. The skill covers task-local context tracing, concurrency instrumentation profiling, and best practices for identifying and fixing race conditions and deadlocks in your Swift code.","q":"How can I debug concurrency bugs like hangs and UI freezes?"}],"shadow_tags":["async-await-patterns","data-race-prevention","actor-isolation","swift-6-migration","structured-task-management","ui-thread-safety","legacy-api-bridging","concurrency-debugging","task-cancellation-handling","sendable-types"],"summary_rewrite":"Navigate Swift's modern concurrency model with patterns for async/await, structured task management, actor-based isolation, and Swift 6.2 features. This skill guides you through compiler errors, data race prevention, and migration strategies\u2014whether you're bridging legacy APIs or adopting strict concurrency in new code."},"files":[{"bytes":5905,"path":"skills/swift/concurrency-patterns/SKILL.md","sha256":"fd71cbf5e909725b0692d4722deab0eccad4e0b91e3cc3275d1a4111a16dbcb7","url":"https://skillfed.io/files/rshankras/claude-code-apple-skills/concurrency-patterns/dfd80b2b/SKILL.md"}],"id":"rshankras/claude-code-apple-skills/concurrency-patterns","links":{"html":"https://skillfed.io/rshankras/claude-code-apple-skills/concurrency-patterns","md":"https://skillfed.io/rshankras/claude-code-apple-skills/concurrency-patterns.md","repo":"https://github.com/rshankras/claude-code-apple-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":47,"language":"Swift","last_updated":"2026-07-24","license":"MIT","name":"concurrency-patterns","publisher":"rshankras","stars":565},"relations":{"similar":[{"id":"rshankras/claude-code-apple-skills/concurrency"},{"id":"rshankras/claude-code-apple-skills/swift"},{"id":"dpearson2699/swift-ios-skills/swift-concurrency"},{"id":"CharlesWiltgen/Axiom/axiom-concurrency"},{"id":"xu-xiang/everything-claude-code-zh/swift-concurrency-6-2"},{"id":"johnrogers/claude-swift-engineering/modern-swift"},{"id":"jamesrochabrun/skills/swift-concurrency"},{"id":"affaan-m/ECC/swift-concurrency-6-2"},{"id":"sammcj/agentic-coding/swift-development"},{"id":"CharlesWiltgen/Axiom/axiom-audit-concurrency"}]},"slug":{"owner":"rshankras","repo":"claude-code-apple-skills","skill":"concurrency-patterns"},"version":"dfd80b2b"}
