# Write Swift (agent skill)

> Write Swift is an agent skill (a SKILL.md file) from emilkowalski/skills. 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. It works with Claude Code and has 43,964 GitHub stars across a repository of 13 listed skills.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/emilkowalski/skills |
| Skill path | skills/write-swift/SKILL.md |
| Skill name | write-swift |
| GitHub stars | 43,964 |
| Installs on skills.sh | 77,710 |
| License | MIT |
| Skills in repo | 13 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code |
| Category | Docs & writing |
| Last commit | Oct 2, 2026 |

## When it triggers

- 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.

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/emilkowalski/skills.git
cp -r skills/skills/write-swift ~/.claude/skills/write-swift   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/emilkowalski/skills.git
cp -r skills/skills/write-swift .agents/skills/write-swift   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/emilkowalski/skills.git
cp -r skills/skills/write-swift .cursor/skills/write-swift   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/emilkowalski/skills/write-swift

---

Canonical page: https://appsgit.com/skills/emilkowalski-write-swift
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
