Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Swift concurrency

Procedure for reviewing real Swift code for concurrency correctness, async/await, actors, Sendable, cancellation, task lifetime.

Free on GitHubMobile apps

In detail

Procedure for reviewing real Swift code for concurrency correctness — async/await, actors, Sendable, cancellation, task lifetime — not a Swift Concurrency tutorial. Use when the task involves async/await, Task, actors, MainActor, Sendable, or a data-race/concurrency question like "is this thread-safe?".

Safety check

  • Claude rated it 6 out of 10, under our bar of 7, so we do not sell it. It is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: swift-concurrency
description: Procedure for reviewing real Swift code for concurrency correctness — async/await, actors, Sendable, cancellation, task lifetime — not a Swift Concurrency tutorial. Use when the task involves async/await, Task, actors, MainActor, Sendable, or a data-race/concurrency question like "is this thread-safe?".
---

# Swift Concurrency

## Purpose

Review real project code for concurrency correctness, and grade every
finding at the evidence tier it actually earned — never assert
"thread-safe" from reading code alone.

## When to Use

Any task touching `async`/`await`, `Task`, actors, `@MainActor`,
`Sendable`, or a direct question about thread safety, data races, or
cancellation behavior.

## Inputs

- The actual code under review — read it, don't reason about
  concurrency in the abstract.
- Whether the project has Swift 6 language mode (or
  `-strict-concurrency=complete` under Swift 5) enabled — this changes
  what the *compiler itself* can prove vs. what only a careful read can
  flag.
- If `ios-agent` MCP is configured, `mcp__ios-agent__review_swift_concurrency`
  alongside the manual read — `STATIC_ANALYSIS` tier, same as reading
  the code, never higher (per `ios-evidence-reporting`'s tool-tier rule).

## Core Knowledge

- **Structured vs. unstructured concurrency:** `async let` and task
  groups tie a child task's lifetime to its parent's scope — the
  parent can't return until children finish or are cancelled.
  Unstructured `Task {}` has no such guarantee; it keeps running
  independent of whoever created it unless something explicitly
  cancels it.
- **`@MainActor` isolation:** UI-touching state needs main-actor
...

From apexbymanish's repository, MIT licence.

Related skills

  • Checked

    Android Gradle Plugin upgrade

    Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    CocoaPods to SwiftPM

    Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.

    by Kotlin 1.1k
    8/101 credit
  • Checked

    Kotlin Native build speed

    Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.

    by Kotlin 1.1k
    7/101 credit
  • Checked

    SwiftUI Liquid Glass

    Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.

    by FloWritesCode 476
    7/101 credit
  • Checked

    EAS cloud simulators

    Runs your app on Expo's cloud iOS and Android simulators, so you can test without a local simulator.

    by expo 4.3k
    7/101 credit
  • Checked

    Offline Android LLM apps

    Builds an Android app that runs an open LLM on the phone with LiteRT, so it works without a server.

    by android 11k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added