कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

swift-concurrency-expert

steipete द्वारा

iOS & macOS Development
2.5kclawskills.sh द्वारा बताए गए डाउनलोड
5स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Swift Concurrency review and remediation.

विवरण

यह स्किल क्या करती है

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.

इसे कब इस्तेमाल करें

  • 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

उदाहरण वर्कफ़्लो

इनपुट

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

एजेंट
  1. 1

    Capture exact compiler diagnostics and identify offending symbols

  2. 2

    Determine actor context — whether code is UI-bound or runs off the main actor

  3. 3

    Select the appropriate fix: @MainActor annotation, actor isolation, or Sendable conformance

  4. 4

    Apply the minimal change that satisfies data-race safety without altering behavior

  5. 5

    Verify no new warnings are introduced by the changes

आउटपुट

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

इंस्टॉलेशन

clawhub install steipete/swift-concurrency-expert

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक