Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Write Swift 6.2 with async/await and actors v1.0.0

Use this resource to write safe concurrent Swift with async/await and actors

New

  • 534 downloads
  • 127 likes
  • 151 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install swift-concurrency-async-await

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent migrates completion handlers to async/await, enables strict concurrency, fixes Sendable errors, protects shared state with actors and organizes tasks with Task and TaskGroup. The goal: code that compiles under strict concurrency cannot have data races.

Mostly picked by

Updated November 2, 2026

Card for the “Write Swift 6.2 with async/await and actors” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/migration-patterns.md: migrating from completion handlers
  • references/strict-concurrency.md: strict concurrency and Sendable
  • references/task-groups.md: task groups

Good fit for

  • Your Swift 6 app shows Sendable errors at compile time
  • You want to replace callbacks with async/await calls

Not for

    Tags

    • swift
    • concurrency
    • async await
    • actors
    • sendable

    About

    You say

    “Migrate this network service from callbacks to async/await and make it Sendable.”

    Card for the “Write Swift 6.2 with async/await and actors” skill

    Skill published by johnrogers under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write safe concurrent Swift with async/await and actors
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/concurrency-essentials.md3.5 KB
    • references/macros.md3.5 KB
    • references/migration-patterns.md3.8 KB
    • references/modern-attributes.md3.5 KB
    • references/strict-concurrency.md5.2 KB
    • references/swift6-concurrency.md5.3 KB
    • references/task-cancellation.md2.9 KB
    • references/task-groups.md2.9 KB
    • SKILL.md4 KB

    Origin and licence

    Listed unmodified

    Author
    johnrogers
    Source
    github.com/johnrogers/claude-swift-engineering/tree/1dc2cf4d020bd524168f20bec95104da6cb2888c/plugins/swift-engineering/skills/modern-swift
    Licence
    MIT

    Notice

    « modern-swift » (johnrogers, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.