# Axiom audit testing

> Axiom audit testing is an open-source agent skill for developer tools. Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps. 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-codex/skills/axiom-audit-testing
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-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 turns the agent into a reviewer of Swift test code. It maps which production modules have test coverage, focusing on critical areas like authentication, payments, persistence and networking, and then reports the gaps it finds. The audit covers known anti-patterns such as sleep calls, shared mutable state, tests without assertions, force unwraps in tests, and Swift 6 concurrency problems in XCTestCase classes. It also checks AI evaluation gates for unpinned sampling, missing noise-floor measurements and missing availability guards.

The workflow runs a set of file searches and grep patterns in a fixed order, reads the surrounding code to confirm each hit, and then ends with a test health score. Findings are grouped by severity, and the report includes quick wins and prioritized recommendations. A list of false positives, such as sleeps used for rate limiting and XCUIApplication use in genuine UI tests, guides the agent away from noisy results.

The skill expects a Swift project with XCTest or Swift Testing test files and needs only file read and search access. It contains no scripts. It is published under the MIT license.

## When your agent uses it

> Use when the user wants to audit test quality, find flaky test patterns, speed up test execution, or prepare for Swift Testing migration.

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

## Features

- **Coverage shape mapping:** Maps production modules against test files to show which critical paths have tests and which do not.
- **Flaky pattern detection:** Finds sleep calls, shared mutable state and order-dependent tests that cause unreliable results.
- **Test speed review:** Flags unit tests that run in app hosts or UI targets when a package test would be faster.
- **Swift Testing migration hints:** Identifies XCTest cases that could move to parameterized Swift Testing functions.
- **Swift 6 concurrency checks:** Spots XCTestCase isolation problems and missing MainActor annotations in test code.
- **AI evaluation gate review:** Checks evaluation tests for pinned sampling, measured noise floors and model availability guards.

## Good for

- Audit my Swift test suite for quality problems
- Find the sources of flaky tests in my project
- Make my Swift tests run faster
- Should I migrate my XCTest cases to Swift Testing?
- Check my test code for Swift 6 concurrency issues

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-audit-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-audit-testing &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-testing" ~/.copilot/skills/axiom-audit-testing &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

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

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

## FAQ

### What does the skill need to run?

It needs access to the Swift project so the agent can run its file globs and grep patterns, and read the matching files. The skill itself has no scripts.

### What does Axiom audit testing change in my project?

Nothing is described as changed. The skill is written to scan and report issues, with suggested fixes presented in the output.

### Which test frameworks does Axiom audit testing cover?

It covers both XCTest and Swift Testing, and reports the split between the two and the migration opportunities.

### When does Axiom audit testing trigger?

It is meant for requests to audit test quality, find flaky patterns, speed up test execution or prepare for a Swift Testing migration.

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

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

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

The closest alternatives to Axiom audit testing are Axiom analyze test failures, Axiom testing, Axiom audit swiftui architecture, Axiom health check and Axiom audit accessibility.

## Where this comes from

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

## Alternatives

- [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 testing](https://ai-powered.com/skills/axiom-testing-charleswiltgen-2): Axiom testing is an open-source agent skill for developer tools.
- [Axiom audit swiftui architecture](https://ai-powered.com/skills/axiom-audit-swiftui-architecture): Axiom audit swiftui architecture is an open-source agent skill for developer tools.
- [Axiom health check](https://ai-powered.com/skills/axiom-health-check): Axiom health check is an open-source agent skill for developer tools.
- [Axiom audit accessibility](https://ai-powered.com/skills/axiom-audit-accessibility): Axiom audit accessibility is an open-source agent skill for developer tools.
- [Axiom audit camera](https://ai-powered.com/skills/axiom-audit-camera): Axiom audit camera is an open-source agent skill for developer tools.
- [Axiom audit concurrency](https://ai-powered.com/skills/axiom-audit-concurrency): Axiom audit concurrency is an open-source agent skill for developer tools.
- [Axiom audit swiftdata](https://ai-powered.com/skills/axiom-audit-swiftdata): Axiom audit swiftdata is an open-source agent skill for developer tools.

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