Write Swift

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.

Emil Kowalski Updated 43.2k repo stars

File contents

emilkowalski/skills/tree/main/skills/write-swift commit e8a175de22

Frequently asked questions

npx skillmds@latest add emilkowalski/write-swift