·modern-swift

Use when writing async/await code, enabling strict concurrency, fixing Sendable errors, migrating from completion handlers, managing shared state with actors, or using Task/TaskGroup for concurrency.

38Installs·1Trend·@johnrogers

Installation

$npx skills add https://github.com/johnrogers/claude-swift-engineering --skill modern-swift

SKILL.md

Swift 6.2 introduces strict compile-time concurrency checking with async/await, actors, and Sendable constraints that prevent data races at compile time instead of runtime. This is the foundation of safe concurrent Swift.

Modern Swift replaces older concurrency patterns (completion handlers, DispatchQueue, locks) with compiler-enforced safety. The core principle: if it compiles with strict concurrency enabled, it cannot have data races.

| Async operation | async/await | Completion handlers | | Main thread work | @MainActor | DispatchQueue.main | | Shared mutable state | actor | Locks, serial queues | | Parallel tasks | TaskGroup | DispatchGroup | | Thread safety | Sendable | @unchecked everywhere |

Use when writing async/await code, enabling strict concurrency, fixing Sendable errors, migrating from completion handlers, managing shared state with actors, or using Task/TaskGroup for concurrency. Source: johnrogers/claude-swift-engineering.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill modern-swift
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is modern-swift?

Use when writing async/await code, enabling strict concurrency, fixing Sendable errors, migrating from completion handlers, managing shared state with actors, or using Task/TaskGroup for concurrency. Source: johnrogers/claude-swift-engineering.

How do I install modern-swift?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/johnrogers/claude-swift-engineering --skill modern-swift Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/johnrogers/claude-swift-engineering