# Axiom swift

> Axiom swift is an open-source agent skill for developer tools. Guides agents through modern Swift idioms, ownership types, Transferable and tvOS work. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-cursor/skills/axiom-swift
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-swift
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

A router skill for the Swift language and its toolchain rather than any single framework. It points the agent to focused reference files covering modern Swift and Foundation replacements for outdated patterns, ownership features such as borrowing, consuming, noncopyable types, InlineArray and Span, and Transferable setup for drag and drop, copy and paste, ShareLink and custom UTTypes.

The skill also covers debug-only deep links for navigating the simulator to specific screens, and tvOS development topics including the Focus Engine, Siri Remote input, storage limits and AVPlayer tuning. A decision table maps common symptoms to the right reference, and the skill hands off concurrency, performance, Codable and simplification questions to related skills or agents.

The skill ships as Markdown guidance only, with no scripts. It assumes a Swift codebase and Xcode-based tooling, and it lists a Cursor subagent routing section for specialized auditing.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-swift)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-swift)

## Features

- **Modern Swift idioms:** Replaces outdated patterns and older Foundation calls with current Swift and Foundation APIs.
- **Ownership and noncopyable types:** Explains borrowing and consuming parameters, ~Copyable types, InlineArray and Span.
- **Transferable and sharing:** Covers drag and drop, copy and paste, ShareLink, UTType declarations and representation choices.
- **Debug deep links:** Sets up debug-only URL routing to jump the simulator to specific screens for testing.
- **tvOS development:** Covers Focus Engine behavior, Siri Remote input, tvOS storage constraints and AVPlayer tuning.
- **Routing to related skills:** Directs concurrency, performance and Codable questions to the matching specialized skills.

## Good for

- Check Swift code for outdated patterns and suggest modern replacements
- Make a custom model draggable and droppable between views
- Use borrowing and consuming parameters to reduce copies
- Set up debug deep links to open a specific screen in the simulator
- Fix focus navigation problems in a tvOS app

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-swift` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-swift &&
cp -R "$tmp/axiom-cursor/skills/axiom-swift" ~/.claude/skills/axiom-swift &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/axiom-swift` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/axiom-swift` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-swift &&
cp -R "$tmp/axiom-cursor/skills/axiom-swift" ~/.agents/skills/axiom-swift &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/axiom-swift` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-swift` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-swift &&
cp -R "$tmp/axiom-cursor/skills/axiom-swift" ~/.cursor/skills/axiom-swift &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-swift` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-cursor/skills/axiom-swift
```

Or copy the folder to `~/.gemini/skills/axiom-swift` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-swift`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-swift &&
cp -R "$tmp/axiom-cursor/skills/axiom-swift" ~/.copilot/skills/axiom-swift &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-swift` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git
```

Then copy `Axiom/axiom-cursor/skills/axiom-swift` into your agent's skills folder as `axiom-swift`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Axiom swift trigger?

It is meant for questions about Swift or its toolchain rather than a specific framework, such as modern idioms, noncopyable types, drag and drop, debug deep links and tvOS targets.

### Does Axiom swift run any scripts or need extra tools?

No scripts are included. It is a set of Markdown reference files, and it assumes a Swift project.

### What does Axiom swift do for Swift concurrency questions?

It does not cover them in depth. It points async/await, actor and Sendable issues to a separate concurrency skill.

### How do I install Axiom swift in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-swift to use it in all your projects, or to .claude/skills/axiom-swift in one project.

### Does Axiom swift run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Axiom swift?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Axiom swift?

The closest alternatives to Axiom swift are Axiom swiftui, Axiom macOS, Axiom uikit, Axiom testing and Axiom media.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui is an open-source agent skill for developer tools.
- [Axiom macOS](https://ai-powered.com/skills/axiom-macos-charleswiltgen-2): Axiom macOS is an open-source agent skill for developer tools.
- [Axiom uikit](https://ai-powered.com/skills/axiom-uikit-charleswiltgen-2): Axiom uikit is an open-source agent skill for developer tools.
- [Axiom testing](https://ai-powered.com/skills/axiom-testing-charleswiltgen-2): Axiom testing is an open-source agent skill for developer tools.
- [Axiom media](https://ai-powered.com/skills/axiom-media-charleswiltgen-2): Axiom media is an open-source agent skill for developer tools.
- [Axiom design](https://ai-powered.com/skills/axiom-design-charleswiltgen-2): Axiom design is an open-source agent skill for design and media.
- [Axiom networking](https://ai-powered.com/skills/axiom-networking-charleswiltgen-2): Axiom networking is an open-source agent skill for developer tools.
- [Axiom concurrency](https://ai-powered.com/skills/axiom-concurrency-charleswiltgen-2): Axiom concurrency is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-swift-charleswiltgen-2
