swift-concurrency

Diagnose Swift concurrency issues and generate migration plans for Swift 6.

1|Updated Aug 16, 2025
One-click install
npx skills add https://github.com/barronlroth/Cubby --skill swift-concurrency-barronlroth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swift-concurrency
Source: https://github.com/barronlroth/Cubby/tree/main/.agents/skills/swift-concurrency
Command: npx skills add https://github.com/barronlroth/Cubby --skill swift-concurrency-barronlroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diagnoses and fixes Swift concurrency issues across codebases.

Core Features & Use Cases

  • Comprehensive guidance for diagnosing concurrency issues, migrating to Swift 6, and applying robust async/await, actor isolation, and Sendable patterns.
  • References and migration guardrails covering Actors, Sendable, Threading, Migration, and Linting with practical workflows.
  • Step-by-step strategies to reduce data races, improve UI thread safety, and verify cross-boundary data safety during migration.

Quick Start

Analyze a Swift codebase with concurrency warnings and generate a migration plan using the Concurrency Reference Router.

Frequently Asked Questions about swift-concurrency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Swift concurrency warnings when migrating to Swift 6?

Fix Swift concurrency warnings during a Swift 6 migration by analyzing compiler diagnostics, adjusting project settings like strict concurrency and default isolation, and applying async/await, actor isolation, and Sendable patterns to eliminate data races and boundary issues.

What is the best way to migrate a codebase to async/await and actor isolation?

The best way to migrate to async/await and actor isolation is to follow a step-by-step workflow that diagnoses threading issues, applies actor boundaries for UI thread safety, and verifies cross-boundary data safety using migration references and linting guardrails.

Why am I getting Sendable conformance errors in my iOS project?

Sendable conformance errors occur because data crossing actor isolation boundaries is not thread-safe; resolve them by diagnosing compiler diagnostics, enforcing strict concurrency settings, and refactoring shared state into actors or Sendable types.

Can I use this to generate a concurrency migration plan for macOS apps?

Yes, you can generate a concurrency migration plan for iOS and macOS Swift projects by analyzing the codebase for concurrency warnings and using the Concurrency Reference Router to guide remediation across threading, actors, and Sendable boundaries.

How does strict concurrency checking affect existing Swift project settings?

Strict concurrency checking exposes data races and cross-boundary data safety issues by enforcing Sendable requirements and actor isolation, requiring you to analyze project settings and apply fixes to reduce UI thread safety risks during migration.

When should I not use actors for Swift concurrency migration?

Avoid using actors when simpler async/await patterns suffice without adding isolation overhead; analyze compiler diagnostics and use migration references to determine when Sendable boundaries or default isolation settings are more appropriate than actor isolation.