SKILL121.3K installs50.2K

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.

Type
Skill
Author
emilkowalski
Category
Learning
GitHub stars
50.2K
Installs
121.3K
Last updated
November 2, 2026

Install

npx skills add https://github.com/emilkowalski/skills --skill write-swift

Use cases


Frequently Asked Questions

Which Swift topics does this skill cover?

Value-type modeling, Swift 6 data-race safety and concurrency, protocols and generics, API design, ARC performance, Swift Testing, and macros.

Does it help with concurrency errors?

Yes, it is intended for concurrency errors, hangs, data races, and retain cycles.

Can it help migrate existing Swift code?

Yes, it applies when writing, reviewing, or migrating Swift.


About this skill

A guide to writing modern Swift well, covering value-type modeling, 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, and macros. Use it when writing, reviewing, or migrating Swift, or when fixing a concurrency error, hang, data race, retain cycle, or performance problem. It also covers newer language features that agents often don't know about.

Summary written with AI assistance from the project's public description.


Categories


More from emilkowalski


Similar Skills