Modern Swift writing guide
/write-swift
/write-swift is a Claude Code skill in the Code section. It is maintained by emilkowalski and published under the MIT license. A guide for writing, reviewing or migrating Swift 6: value types, data-race-safe concurrency, protocols, performance and Swift Testing.
Author's description
How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics (some vs any), API design, performance and ARC, Swift Testing, macros, and the modern language features agents don't know about yet. Use when writing, reviewing, or migrating Swift, or when a concurrency error, a hang, a data race, a retain cycle, or a performance problem needs fixing.
How to ask for it
Review this Swift code for concurrency issuesHelp me migrate this class to value types in Swift 6Fix this retain cycle in my Swift code
Install
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bashAfter installing with the script, type /write-swift. Using Cursor, Windsurf or Codex? Platform guides
Demo coming soon