Skip to content
Skill

Axiom audit textkit

Audits Swift text views for TextKit 1 fallbacks, glyph APIs and Writing Tools gaps

Axiom audit textkit is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
1.3K
Last commit
License
MIT
Listing updated

Similar skills

About Axiom audit textkit

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (23 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Axiom audit textkit 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.

More from CharlesWiltgen/Axiom

  1. Finds the code patterns behind flaky Swift Testing failures and explains each root cause

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  2. Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  3. Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  4. Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed

    • Open source
    • 1.3K GitHub stars
    • Developer tools
  5. Interprets iOS and macOS crash logs and points the agent to the likely fix

    • Open source
    • 1.3K GitHub stars
    • Developer tools