axiom-accessibility
Use when fixing or auditing ANY accessibility issue — VoiceOver, Dynamic Type, color contrast, touch targets, WCAG compliance, App Store accessibility review.
Use when reviewing Swift code for modern idioms, working with noncopyable types, implementing drag and drop, adding debug deep links, or building for tvOS.
$ npx -y skills add charleswiltgen/axiom --skill axiom-swift --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/axiom-swiftContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when reviewing Swift code for modern idioms, working with noncopyable types, implementing drag and drop, adding debug deep links, or building for tvOS.
name: axiom-swift description: Use when reviewing Swift code for modern idioms, working with noncopyable types, implementing drag and drop, adding debug deep links, or building for tvOS. license: MIT
**You MUST use this skill for ANY Swift idiom review, ownership/noncopyable types, Transferable/drag-and-drop, debug deep links, or tvOS development.**
<!-- AXIOM_AUDITOR_INLINE_BEGIN — rewritten for Codex by scripts/build-codex.ts; do not hand-edit --> > **Auditors are skills here.** Where this router says "Launch `some-auditor` agent", invoke the > matching Codex skill instead — same procedure, no Claude Code agent required. > > Available: `axiom-swift-simplifier`. > > The ones that shell out — builds, tests, simulators, crash symbolication — need shell access to run. <!-- AXIOM_AUDITOR_INLINE_END -->
| Symptom / Task | Reference | |----------------|-----------| | Outdated Swift patterns (Date(), CGFloat, DateFormatter) | See `skills/swift-modern.md` | | Foundation modernization (FormatStyle, URL.documentsDirectory) | See `skills/swift-modern.md` | | Common Claude hallucinations in Swift code | See `skills/swift-modern.md` | | Swift 6.4 idioms — `anyAppleOS`, `weak let`, `~Sendable` (`OS27`) | See `skills/swift-modern.md` | | Noncopyable types (~Copyable) | See `skills/ownership-conventions.md` | | borrowing/consuming parameter ownership | See `skills/ownership-conventions.md` | | InlineArray, Span, value generics; Swift 6.4 `borrow`/`mutate` accessors (`OS27`) | See `skills/ownership-conventions.md` | | Reducing ARC overhead | See `skills/ownership-conventions.md` | | Drag and drop (.draggable, .dropDestination) | See `skills/transferable-ref.md` | | Copy/paste (.copyable, PasteButton) | See `skills/transferable-ref.md` | | ShareLink, content sharing | See `skills/transferable-ref.md` | | Custom UTType declarations | See `skills/transferable-ref.md` | | TransferRepresentation choices | See `skills/transferable-ref.md` | | Debug-only deep links for simulator testing | See `skills/deep-link-debugging.md` | | Navigate to specific screens for screenshots | See `skills/deep-link-debugging.md` | | tvOS Focus Engine, Siri Remote input | See `skills/tvos.md` | | tvOS storage constraints (no Documents dir) | See `skills/tvos.md` | | tvOS text input, AVPlayer tuning | See `skills/tvos.md` | | TVUIKit components | See `skills/tvos.md` | | Simplify Swift for clarity (behavior-preserving cleanups) | `swift-simplifier` agent — `axiom-swift-simplifier` |
digraph swift {
start [label="Swift task" shape=ellipse];
what [label="What do you need?" shape=diamond];
start -> what;
what -> "skills/swift-modern.md" [label="modern idioms,\noutdated patterns,\nFoundation APIs"];
what -> "skills/ownership-conventions.md" [label="~Copyable, borrowing,\nconsuming, InlineArray,\nSpan, ARC reduction"];
what -> "skills/transferable-ref.md" [label="drag & drop, copy/paste,\nShareLink, UTTypes,\nTransferable conformance"];
what -> "skills/deep-link-debugging.md" [label="debug deep links,\nsimulator navigation,\nscreenshot automation"];
what -> "skills/tvos.md" [label="tvOS app,\nFocus Engine,\nSiri Remote, storage"];
}1. Outdated Swift patterns / modern API replacements / Claude hallucinations? -> `skills/swift-modern.md` 2. ~Copyable / borrowing / consuming / InlineArray / Span? -> `skills/ownership-conventions.md` 3. Drag and drop / copy/paste / ShareLink / Transferable / UTTypes? -> `skills/transferable-ref.md` 4. Debug deep links / simulator navigation / screenshot automation? -> `skills/deep-link-debugging.md` 5. tvOS development / Focus Engine / Siri Remote / storage / AVPlayer? -> `skills/tvos.md` 6. Swift concurrency (async/await, actors, Sendable) -> `/skill axiom-concurrency` 7. Swift performance (COW, ARC, generics optimization) -> See axiom-performance (skills/swift-performance.md) 8. Codable patterns (JSON, CodingKeys, enum serialization) -> See axiom-data (skills/codable.md) 9. Simplify Swift for clarity (guard/optional cleanups, if/switch expressions, boilerplate)? -> `swift-simplifier` agent (`axiom-swift-simplifier`)
**swift vs concurrency**: When Swift 6 concurrency errors appear:
**swift vs performance**: When optimizing Swift code:
**swift vs swiftui**: When implementing drag and drop or copy/paste:
**swift vs integration**: When sharing content:
**swift vs axiom-build**: When tvOS build fails:
**Modern Swift Idioms** (`skills/swift-modern.md`):
**Ownership & Noncopyable Types** (`s
Battle-tested skills, agents, and tools for modern Apple OS development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more. Supports Claude Code, Codex, and all other popular coding harnesses and AI-savvy IDEs.
Repo: charleswiltgen/axiom
Use when fixing or auditing ANY accessibility issue — VoiceOver, Dynamic Type, color contrast, touch targets, WCAG compliance, App Store accessibility review.
Use when implementing, testing, or evaluating ANY Apple Intelligence, on-device AI, or speech-to-text feature. Covers Foundation Models, @Generable,…
Use when the user has a crash log (.ips, MetricKit JSON, legacy .crash text, .xccrashpoint bundle, or pasted text) that needs analysis.
Use when the user mentions Swift performance audit, code optimization, or performance review.
Use when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues.
Use when the user mentions flaky tests, tests that pass locally but fail in CI, race conditions in tests, or needs to diagnose WHY a specific test fails.