# Axiom testing

> Axiom testing is an open-source agent skill for developer tools. Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed. 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-testing
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-testing
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill acts as a router for testing work in Swift and Apple-platform projects. It points the agent to focused reference files covering Swift Testing (unit tests, parameterized tests, migrating from XCTest), async and main-actor test patterns, XCUITest UI automation, test plans and CI execution, and recording UI interactions in Xcode 26.

For specialized work it refers the agent to subagents for flaky-test analysis, running tests from the command line, fixing failing tests and auditing test quality. It also includes a decision guide for choosing between Swift Testing and XCTest and a set of anti-rationalization notes that steer the agent away from sleep-based waits and manual spot checks.

UI automation requires a separate checkout of the Axiom repository that provides an axui launcher, which the skill says must be verified before use. Work involving generative AI features is routed to a related Axiom skill for evaluation design.

## When your agent uses it

> Use when writing ANY test, debugging flaky tests, making tests faster, or choosing Swift Testing vs XCTest. Covers unit tests, UI tests, async testing, test 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-testing)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-testing)

## Features

- **Swift Testing guidance:** Covers @Test and @Suite macros, #expect and #require assertions, and parameterized tests.
- **Async test patterns:** Explains confirmation for callbacks, timeouts, main-actor isolation and parallel execution limits.
- **XCUITest automation:** Describes element queries, condition-based waiting, accessibility identifiers and test plans.
- **Test speed and architecture:** Covers running tests without a simulator through package extraction and host-less setups.
- **XCTest migration:** Provides a comparison table and decision guide for moving from XCTest to Swift Testing.
- **Flaky test handling:** Points to patterns and subagents for diagnosing intermittent failures and race conditions.

## Good for

- Write unit tests for a Swift model using Swift Testing
- Fix flaky UI tests by replacing sleeps with condition-based waits
- Migrate an XCTest suite to Swift Testing
- Make a Swift test suite run faster without a simulator
- Record and stabilize UI automation in Xcode 26

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### Which clients can use Axiom testing?

The skill's platform list covers Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose as a plain SKILL.md folder, though its own text is written for Cursor and references Cursor subagents.

### Does Axiom testing run any scripts?

No. The skill folder contains no scripts; it only contains the SKILL.md instructions and references.

### What is needed for UI automation?

The skill says UI automation needs a separate Axiom repository checkout that provides the axui launcher, and it should stop and report the requirement if that launcher is unavailable.

### Does Axiom testing cover testing AI features?

It routes generative AI testing to a related Axiom skill for dataset-based evaluation rather than exact-string assertions.

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

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

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

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 testing?

The closest alternatives to Axiom testing are Axiom audit testing, Axiom analyze test failures, Axiom swiftui, Axiom run tests and Axiom shipping.

## Where this comes from

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

## Alternatives

- [Axiom audit testing](https://ai-powered.com/skills/axiom-audit-testing): Axiom audit testing is an open-source agent skill for developer tools.
- [Axiom analyze test failures](https://ai-powered.com/skills/axiom-analyze-test-failures): Axiom analyze test failures is an open-source agent skill for developer tools.
- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui is an open-source agent skill for developer tools.
- [Axiom run tests](https://ai-powered.com/skills/axiom-run-tests): Axiom run tests is an open-source agent skill for developer tools.
- [Axiom shipping](https://ai-powered.com/skills/axiom-shipping-charleswiltgen-2): Axiom shipping 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 uikit](https://ai-powered.com/skills/axiom-uikit-charleswiltgen-2): Axiom uikit is an open-source agent skill for developer tools.
- [Axiom test simulator](https://ai-powered.com/skills/axiom-test-simulator): Axiom test simulator is an open-source agent skill for developer tools.

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