write-swift SKILL.md skillA

write-swift from nebutra/nebutra-sailor is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nebutra/nebutra-sailor/write-swift@git:20260827.ca77bd1

Pins git:20260827.ca77bd1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nebutra/nebutra-sailor
Path
.agents/skills/write-swift/SKILL.md
Versions recorded
1
Latest version
git:20260827.ca77bd1, committed Aug 27, 2026
Size
42,185 bytes
Repository stars
5
License
Apache-2.0

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Write Swift

How to write Swift the way the language wants to be written, current through Swift 6.4.

**Toolchain baseline: Swift 6.3** (current release as of August 2026). Everything here compiles on 6.3 unless marked ⚠, which flags unreleased Swift 6.4 features. Concurrency guidance assumes the Swift 6.2 model — if the project is on 6.1 or earlier, §3's rules about `async` and `@concurrent` do not apply.

The through-line: **Swift is a progressive-disclosure language. Start with the simplest, most static, most single-threaded thing that works, and buy dynamism — concurrency, reference semantics, existentials, unsafe pointers — only where you can point at the reason.** Every rule below is an application of that.

Model this hierarchy of defaults. Move down a level only with a reason you can state:

| Need         | Reach for               | Move down only when                                        |
| ------------ | ----------------------- | ---------------------------------------------------------- |
| Data         | `struct` / `enum`       | you need identity, sharing, or inheritance                 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nebutra/nebutra-sailor/write-swift@sha256:2579cb2684245f75

The line at the top of this page pins the label git:20260827.ca77bd1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bgfhvuu66ysupbag.svg)](https://markdownregistry.com/a/art_bgfhvuu66ysupbag)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 27, 2026.

versioncommittedcommitsizeaudit
git:20260827.ca77bd1 latest2026-08-27 ca77bd1 42,185 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (42185 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nebutra/nebutra-sailor · 5 stars · license Apache-2.0 · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bgfhvuu66ysupbag
GET https://markdownregistry.com/api/v1/resolve?ref=nebutra/nebutra-sailor/write-swift
GET https://markdownregistry.com/api/v1/blob/2579cb2684245f75a261cbb13aa4a12f7f9441dabdfe3bc2e72dc2f04ec5e9fd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nebutra/nebutra-sailor

animate-expo SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/animate-expo/SKILL.md · Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right —…
git:20260827.ca77bd1 · audit A · 5 stars
animate SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/animate/SKILL.md · Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it…
git:20260827.ca77bd1 · audit A · 5 stars
animation-vocabulary SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/animation-vocabulary/SKILL.md · Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the…
git:20260827.ca77bd1 · audit A · 5 stars
apple-design SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/apple-design/SKILL.md · Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing…
git:20260827.ca77bd1 · audit A · 5 stars
ask-sonner SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/ask-sonner/SKILL.md · Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and…
git:20260827.ca77bd1 · audit A · 5 stars
emil-design-eng SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/emil-design-eng/SKILL.md · This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible…
git:20260827.ca77bd1 · audit A · 5 stars
find-animation-opportunities SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/find-animation-opportunities/SKILL.md · Search a codebase or UI for places that don't animate but should, and reject everything that shouldn't. Read-only; it…
git:20260827.ca77bd1 · audit B · 5 stars
improve-animations SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/improve-animations/SKILL.md · Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and…
git:20260827.ca77bd1 · audit B · 5 stars
pick-ui-library SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/pick-ui-library/SKILL.md · Pick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts…
git:20260827.ca77bd1 · audit A · 5 stars
platform-staff SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/platform-staff/SKILL.md · Check, grant or revoke platform staff access (who may operate the platform itself: owner, operator, support, readonly)…
git:20261009.f8cd172 · audit A · 5 stars
prototype SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/prototype/SKILL.md · Build multiple genuinely different versions of a UI piece you describe, rendered behind a visual picker so you can flip…
git:20260827.ca77bd1 · audit A · 5 stars
review-animations SKILL.md skill
nebutra/nebutra-sailor · .agents/skills/review-animations/SKILL.md · Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy…
git:20260827.ca77bd1 · audit A · 5 stars

Every file in nebutra/nebutra-sailor

Other files named write-swift

write-swift SKILL.md skill
emilkowalski/skills · skills/write-swift/SKILL.md · How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency…
git:20260915.85e8e23 · audit A · 47,883 stars
write-swift SKILL.md skill
asymmetric-al/core · .agents/skills/write-swift/SKILL.md · How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency…
git:20260930.a2d2b08 · audit A · 379 stars
write-swift SKILL.md skill
suge8/friedbun · skills/development/write-swift/SKILL.md · 写、审查或迁移 Swift 时读:Swift 6.2 起的并发规则、默认主线程隔离、数据竞争的修法,以及模型常写成旧样子的新写法
git:20261012.7466c71 · audit A · 12 stars

Browse by kind, by grade A, or by owner.