← ClaudeAtlas

modern-swiftlisted

Swift language features beyond concurrency: attributes (@available, @discardableResult, @frozen, @inlinable, @usableFromInline, @backDeployed, @resultBuilder, @propertyWrapper) and macro usage (#Preview, custom macros). Use when the user asks about API availability checks, library evolution, deprecating or renaming APIs, back-deploying functions to older OSes, result builders / DSLs, property wrappers, or Swift macros. Do NOT use this skill for concurrency topics (async/await, actors, Sendable, @MainActor, @Observable) - those belong to swift-concurrency.
pszypowicz/claude-skills · ★ 0 · AI & Automation · score 72
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