modern-swiftlisted
Install: claude install-skill pszypowicz/claude-skills
# Modern Swift
Focused reference for Swift language features that are commonly misused or
forgotten but are **not** concurrency-related. Concurrency lives in the
`swift-concurrency` skill; this skill deliberately does not duplicate it.
## When to load which reference
| Topic | File | Load when |
| ------------------------------------------------ | -------------------------------------------- | ----------------------------------------------------------------------------------------- |
| `@available`, `#available`, deprecation, renames | `references/attributes.md#availability` | Marking API availability, deprecating, renaming, or gating runtime behavior on OS version |
| `@discardableResult` | `references/attributes.md#discardableresult` | Function returns a value callers may reasonably ignore |
| `@frozen` | `references/attributes.md#frozen` | Library author deciding whether an enum/struct layout is stable |
| `@inlinable`, `@usableFromInline` | `references/attributes.md#inlinable` | Performance-critical code in a resilient library |
| `@backDeployed` | `references/attributes.m