Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

axiom-swift

БесплатноБез исполняемых скриптовНе проверен

Use when the question is about Swift or its toolchain rather than a framework — modern idioms, noncopyable types, drag and drop, debug deep links, tvOS targets.

CharlesWiltgenот CharlesWiltgen★ 1 277 звёзд на GitHub

Об этом скилле

Swift Language & Platform

You MUST use this skill for ANY Swift idiom review, ownership/noncopyable types, Transferable/drag-and-drop, debug deep links, or tvOS development.

Can't launch Axiom agents? Where this router sends you to an agent, follow its procedure inline. Over MCP, axiom_get_agent returns it; elsewhere, read its file below, which needs only file search and read.

Available here: skills/swift-simplifier.md.

For any other agent, over MCP axiom_get_agent returns it too; run its xclog, xcsym and xcprof steps with the axiom_xclog_*, axiom_xcsym_* and axiom_xcprof_* tools. Elsewhere, search Axiom's skills for skills/<agent>.md; if there is none, do that work yourself with this suite's skills, using any Axiom tool on your PATH.

Quick Reference

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 guaranteed-persistent local storage) 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:audit swift-simplify

Decision Tree

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:audit swift-simplify)

Conflict Resolution

swift vs concurrency: When Swift 6 concurrency errors appear:

  • Use concurrency, NOT swift -- Concurrency errors are actor isolation / Sendable issues. skills/swift-modern.md covers concurrency posture (defaults), but detailed patterns live in axiom-concurrency.

swift vs performance: When optimizing Swift code:

  • Use swift for ownership if the question is borrowing/consuming/~Copyable/InlineArray/Span -> skills/ownership-conventions.md
  • Use performance if the question is COW, ARC profiling, generic specialization, or Instruments workflows -> axiom-performance

swift vs swiftui: When implementing drag and drop or copy/paste:

  • **
Полный SKILL.md на GitHub

Установить axiom-swift в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

skills/deep-link-debugging.mdskills/ownership-conventions.mdskills/swift-modern.mdskills/swift-simplifier.mdskills/transferable-ref.mdskills/tvos.md

FAQ

Что делает скилл axiom-swift?

Use when the question is about Swift or its toolchain rather than a framework — modern idioms, noncopyable types, drag and drop, debug deep links, tvOS targets.

Как установить скилл axiom-swift?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл axiom-swift запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить axiom-swift с