# Axiom audit textkit

> Axiom audit textkit is an open-source agent skill for developer tools. Audits Swift text views for TextKit 1 fallbacks, glyph APIs and Writing Tools 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-textkit
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-textkit
- **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 for iOS and macOS text code built on UITextView, NSTextView and SwiftUI text editors. It is meant to find code that silently drops back to TextKit 1, uses glyph-counted APIs that misbehave with complex scripts, or leaves Writing Tools configuration unstated.

The workflow is staged. The agent first maps the text view inventory and which TextKit version each view uses, then runs a fixed set of search patterns and reads the surrounding code to confirm each hit. A later phase looks for missing safeguards such as fallback detection, attribute round-tripping and RTL testing, and a final pass combines related findings by severity. The output is a structured report with a TextKit modernity score and prioritized recommendations.

It expects to be run inside a Swift project with access to search and file-read tools. The skill excludes test, preview, vendored and build directories from its scans.

## When your agent uses it

> Use when the user mentions TextKit review, text layout issues, Writing Tools integration, or UITextView/NSTextView code review.

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

## Features

- **TextKit 1 fallback detection:** Finds direct layoutManager access and checks whether code tests for a nil textLayoutManager.
- **Glyph API review:** Flags glyph-counted calls that produce wrong results for Arabic, Thai, Indic and similar scripts.
- **Writing Tools configuration audit:** Checks writing behavior and allowed result options against the editor's content model.
- **Mutation safety checks:** Looks for programmatic text changes that could run during an active Writing Tools session.
- **SwiftUI wrapper review:** Verifies that UIViewRepresentable wrappers keep TextKit 2 properties and behavior intact.
- **Modernity health score:** Summarizes the codebase as modern, mixed or legacy with a severity-ranked issue list.

## Good for

- Check my UITextView editor for TextKit 1 fallback triggers
- Why is Writing Tools missing from my text view?
- Review my NSTextView code for glyph API problems with Arabic or Thai text
- Audit my SwiftUI text editor wrapper for lost TextKit 2 behavior
- Find NSRange and NSTextRange mismatches in my text layout code

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

```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-textkit &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-textkit" ~/.copilot/skills/axiom-audit-textkit &&
rm -rf "$tmp"
```

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

## FAQ

### What triggers Axiom audit textkit?

It triggers when the user mentions TextKit review, text layout issues, Writing Tools integration, or UITextView and NSTextView code review.

### Does Axiom audit textkit change my code?

The skill describes a review process that reports issues with suggested fixes; the listed fixes are code examples shown in the report.

### Which files does Axiom audit textkit skip?

It skips test and preview Swift files, plus vendor, build, docs, scratch and Claude configuration directories.

### What is the license?

The skill is released under the MIT license.

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

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

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

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

The closest alternatives to Axiom audit textkit are Axiom audit accessibility, Axiom audit swiftui layout, Axiom audit testing, Axiom audit swiftui architecture and Axiom analyze swiftui performance.

## Where this comes from

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

## Alternatives

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

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