# Axiom swiftui

> Axiom swiftui is an open-source agent skill for developer tools. Guides an AI agent through building, fixing and tuning SwiftUI interfaces. It is available on Cursor.

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

## About

This skill routes an agent to a set of topic references covering SwiftUI work: view state and updates, navigation, layout across window sizes, animations, gestures, sheets and popovers, toolbars, search, previews, hot reload, and view-level performance. A quick-reference table maps common symptoms to the matching reference file, and a decision tree and anti-rationalization table steer the agent toward the right guide before it edits code.

The skill also points to companion Axiom suites for related areas such as UIKit bridging, Liquid Glass design, accessibility and macOS-specific views, and it names auditor subagents for architecture, navigation, layout, performance and UX flow reviews. It includes a rule for the Cursor build that maps the xclog, xcsym and xcprof command examples to MCP tools instead of running local binaries.

The skill is written for Swift and Xcode projects and expects the agent to have access to the project files. It includes iOS 26 and iPhone Duo guidance, and it declares no scripts of its own.

## When your agent uses it

> Use when building, fixing, or improving ANY SwiftUI UI — views, navigation, layout, animations, gestures, debugging, iOS 26 features, iPhone Duo, view-level performance, feature architecture.

## 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-swiftui)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-swiftui)

## Features

- **Symptom-based reference routing:** A table maps common SwiftUI problems, such as views not updating or slow scrolling, to the specific reference file to read.
- **Navigation and presentation guides:** Covers NavigationStack behavior, sheets, detents, popovers and full-screen covers with guidance on adaptation across window shapes.
- **Layout and animation references:** Provides patterns for adaptive layout on iPad and rotation, stacks and grids, and animation issues.
- **Preview and hot reload workflow:** Describes techniques for faster previews, @Previewable state, and editing a running app with hot reload.
- **Auditor subagent hand-off:** Names specialized review subagents for architecture, performance, navigation, layout, UX flow and Liquid Glass checks.
- **Cross-suite pointers:** Directs UIKit bridging, accessibility, design and macOS questions to the related Axiom skill suites.

## Good for

- Diagnose why a SwiftUI view does not refresh after a state change
- Fix navigation that loses its place or breaks deep linking
- Make a list or scroll view perform better on large data sets
- Add a sheet with detents and a correct Cancel button
- Adapt a layout so it works on iPad and after device rotation
- Speed up SwiftUI previews while building a screen

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-swiftui` 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-swiftui &&
cp -R "$tmp/axiom-cursor/skills/axiom-swiftui" ~/.claude/skills/axiom-swiftui &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/axiom-swiftui` 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-swiftui &&
cp -R "$tmp/axiom-cursor/skills/axiom-swiftui" ~/.agents/skills/axiom-swiftui &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-swiftui` 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-swiftui &&
cp -R "$tmp/axiom-cursor/skills/axiom-swiftui" ~/.cursor/skills/axiom-swiftui &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-swiftui` 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-swiftui
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/axiom-swiftui` 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-swiftui` into your agent's skills folder as `axiom-swiftui`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Axiom swiftui need to run?

It is a folder of Markdown guidance with no scripts. The Cursor build expects the Axiom MCP tools to be available when a command-style helper is referenced, and it stops and reports if they are missing.

### When does the agent use Axiom swiftui?

The skill's description says it applies to building, fixing or improving any SwiftUI UI, covering views, navigation, layout, animations, gestures, debugging, iOS 26 features, iPhone Duo, view-level performance and feature architecture.

### Does Axiom swiftui change my code directly?

The skill supplies reference guidance and routing for the agent. It does not describe any file it writes or any automatic edits.

### Which tools does Axiom swiftui declare?

No allowed tools are set in its frontmatter, and it declares no Claude Code plugin marketplace entry.

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

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

### Does Axiom swiftui 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 swiftui?

Cursor. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

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

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

## Where this comes from

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

## Alternatives

- [Axiom uikit](https://ai-powered.com/skills/axiom-uikit-charleswiltgen-2): Axiom uikit is an open-source agent skill for developer tools.
- [Axiom swift](https://ai-powered.com/skills/axiom-swift-charleswiltgen-2): Axiom swift 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 testing](https://ai-powered.com/skills/axiom-testing-charleswiltgen-2): Axiom testing 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 accessibility](https://ai-powered.com/skills/axiom-accessibility-charleswiltgen-2): Axiom accessibility is an open-source agent skill for developer tools.
- [Axiom analyze swiftui performance](https://ai-powered.com/skills/axiom-analyze-swiftui-performance): Axiom analyze swiftui performance is an open-source agent skill for developer tools.
- [Axiom watchos](https://ai-powered.com/skills/axiom-watchos-charleswiltgen-2): Axiom watchos is an open-source agent skill for developer tools.

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