# Axiom analyze swiftui performance

> Axiom analyze swiftui performance is an open-source agent skill for developer tools. Audits SwiftUI code for performance problems that cause janky scrolling and slow updates. 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-analyze-swiftui-performance
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-analyze-swiftui-performance
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill gives the agent a structured review procedure for SwiftUI codebases. It maps the scrolling containers and view bodies first, then checks for known anti-patterns such as formatters or file reads inside view bodies, whole-collection dependencies, non-lazy stacks over long lists, and unstable identities in ForEach. Findings are weighed by where the code runs, so a problem inside a scrolling cell ranks higher than the same code in a static screen.

The output is a report rather than an automatic fix. The agent is asked to verify each grep match by reading the surrounding code, to exclude tests, previews and vendored folders, and to finish with a health rating and a list of fixes with code examples. It also points to Instruments profiling after changes.

It works on Swift and SwiftUI source files in a project and needs only the agent's file search and read tools. The skill ships as a single SKILL.md with no bundled scripts.

## When your agent uses it

> Use when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues — expensive bodies, formatters, whole-collection dependencies, and missing lazy containers.

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

## Features

- **Anti-pattern detection:** Searches for known SwiftUI slowdowns such as formatters created in view bodies and synchronous file reads.
- **Context-aware review:** Judges whether a problem sits in a scrolling cell, a navigation path or a static view before rating it.
- **Collection dependency checks:** Flags views that re-render whenever any item in a large collection changes.
- **Lazy container guidance:** Identifies long lists built with eager stacks and suggests lazy alternatives.
- **Identity churn detection:** Finds ForEach identities or conditional views that get rebuilt on every update.
- **Health score and fixes:** Produces a SMOOTH, JANKY or BROKEN rating with severity-ranked issues and code fixes.

## Good for

- Find why my SwiftUI list scrolls unevenly
- Check my views for formatters created inside body
- Review a SwiftUI screen for unnecessary re-renders
- Audit my lazy stacks and ForEach identities for performance issues

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### What triggers Axiom analyze swiftui performance?

It is meant for requests that mention SwiftUI performance, janky scrolling, slow animations or view update issues.

### Does Axiom analyze swiftui performance change my code?

It is an analysis procedure that reports findings and suggests fixes with code examples; it does not describe applying edits itself.

### What does Axiom analyze swiftui performance need to run?

It needs a SwiftUI project to scan and the agent's search and file read tools. It bundles no scripts.

### Which files does Axiom analyze swiftui performance skip?

It excludes test files, preview files, and dependency or build folders such as Pods, Carthage, .build and DerivedData.

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

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

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

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 analyze swiftui performance?

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

## Where this comes from

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

## Alternatives

- [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 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 analyze swift performance](https://ai-powered.com/skills/axiom-analyze-swift-performance): Axiom analyze swift performance 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 testing](https://ai-powered.com/skills/axiom-audit-testing): Axiom audit testing 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 audit energy](https://ai-powered.com/skills/axiom-audit-energy): Axiom audit energy is an open-source agent skill for developer tools.
- [Axiom audit UX flow](https://ai-powered.com/skills/axiom-audit-ux-flow): Axiom audit UX flow is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-analyze-swiftui-performance
