axiom-swiftui

axiom-swiftui is a skill for Claude Code from CharlesWiltgen/Axiom. It costs 41 tokens per session (2,564 once invoked), scanned A, original, MIT.

A SwiftUI development guide for Apple's system for building app screens in Swift. It covers views, navigation, layout, animations, gestures, performance, and app structure.

In plain words
What is it for?
Use it to build or fix SwiftUI screens, navigation, previews, gestures, animations, and layout or performance problems in Apple apps.
Why use it?
It gives the coding agent focused guidance for diagnosing and improving SwiftUI code instead of treating every interface problem as ordinary Swift code.

Skill for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions Claude Code.

Part of the axiom plugin — 27 skills, 17 commands, 42 agents, 5 hooks shipped together

not rated 1.2krepo +7 3d ago A scan Socket: passSnyk: warnSkillSpector: pass 41 tokens original MIT

Good fit Use it to build or fix SwiftUI screens, navigation, previews, gestures, animations, and layout or performance problems in Apple apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charleswiltgen/axiom/axiom-swiftui
About the project

Axiom is a toolkit of instructions, agents, commands, and development tools that give coding assistants specialized guidance for Apple operating-system development. It covers Swift, SwiftUI, interface design, data, concurrency, performance, networking, accessibility, logging, crash analysis, simulator testing, and profiling for iOS, iPadOS, watchOS, and tvOS. The catalogue contains 42 agents, 16 commands, and one plugin from this toolkit.

CharlesWiltgen/Axiom · 1,155 stars · on GitHub · charleswiltgen.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CharlesWiltgen/Axiom --skill axiom-swiftui
Clone the repo
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom

Made for: Claude Code.

Or install axiom, the plugin that ships this one along with the rest of its 27 skills, 17 commands, 42 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for axiom-swiftui

README.md
[![agentmods](https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-swiftui/github.svg)](https://agentmods.dev/skills/charleswiltgen/axiom/axiom-swiftui)
Your own site
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-swiftui"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-swiftui/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for axiom-swiftui

Your own site · 80×15
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-swiftui"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-swiftui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,564 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 19 May 2026
  • Snyk warn 19 May 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.02564
Opus 5 $0.00020 $0.01282
Sonnet 5 $0.00008 $0.00513
Haiku 4.5 $0.00004 $0.00256

Measured 6d ago against content hash c4169f769c7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

axiom-swiftui scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude-plugin/plugins/axiom/skills/axiom-swiftui/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SwiftUI

You MUST use this skill for ANY SwiftUI work including views, state, navigation, layout, animations, architecture, gestures, and debugging.

Not on Claude Code? Where this router says "Launch some-auditor agent", read that auditor's file in this suite and follow it inline — the same procedure, needing only file search and read.

Available here: skills/swiftui-architecture-auditor.md, skills/swiftui-layout-auditor.md, skills/swiftui-nav-auditor.md, skills/swiftui-performance-analyzer.md, skills/textkit-auditor.md, skills/ux-flow-auditor.md. Homed in another suite: axiom-design/skills/liquid-glass-auditor.md.

Agents that need Bash — builds, tests, simulators, crash symbolication — stay Claude Code-only; there is no inline equivalent for those.

Quick Reference

Symptom / Task Reference
View not updating See skills/debugging.md
View update still broken after debugging See skills/debugging-diag.md
Slow previews / building good previews / @Previewable / PreviewModifier / variant matrix See skills/previews.md
Preview API reference (#Preview, traits, modes, Development Assets) See skills/previews-ref.md
Preview crashes / won't load See skills/debugging.md (Preview Crashes section)
Hot reload / live editing / edit the running app on device See skills/hot-reload.md
Navigation issues See skills/nav.md
Navigation still broken after debugging See skills/nav-diag.md
Navigation API reference See skills/nav-ref.md
Layout breaks on iPad/rotation See skills/layout.md
State lost on resize/rotation (scroll, selection, focus, drafts) See skills/layout.md (State Survives the Transition)
Layout API reference See skills/layout-ref.md
Performance/lag/slow scroll See skills/swiftui-performance.md
Architecture/testability See skills/architecture.md
@State object rebuilt every view init, or an init assignment ignored at runtime See skills/architecture.md (@State is a macro now)
Animation issues See skills/animation-ref.md
Stacks/grids/outlines See skills/containers-ref.md
Custom containers / List replacement (iOS 18+) See skills/containers-ref.md Part 7
Search implementation See skills/search-ref.md
Toolbars, ToolbarItem, sheet button placement, customization See skills/toolbars.md
Sheets, detents, popovers, fullScreenCover, presentation adaptation See skills/presentations.md
Multi-column Table, sortable/resizable columns (iPad/Mac; collapses to first column in compact) See axiom-macos (skills/swiftui-differences.md)
Inspector panel (.inspector — trailing column in regular width, sheet in compact) See axiom-macos (skills/swiftui-differences.md)
Gesture conflicts See skills/gestures.md
Section index — the vertical A–Z index strip / alphabet scrubber on a list's trailing edge, jump-to-section See skills/26-ref.md (Section Index)
List section margins / insets around a Section See skills/26-ref.md (Section Margins)
Web content — WebView / WebPage, scroll modifiers, WebView-in-NavigationStack See skills/26-ref.md (WebView & WebPage)
iOS 26 features See skills/26-ref.md

Read the full file on GitHub · 143 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 143 lines · 41 tokens per session scan A c4169f769c7a

Subscribe to this mod's changes

axiom-swiftui is a skill published in the GitHub repository CharlesWiltgen/Axiom (1,155 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 2,564 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

animate-expo

Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and…

emilkowalski/skills · 112 tokens

leanback-to-compose-tv-migration

Provides instructions and architectural patterns for migrating Android TV applications from legacy Leanback UI Toolkit, Android Views, or Support Fragments to Jetpack Compose for TV (androidx.tv). Use this skill for Leanback to Compose migrations, including browse screen, settings screen, authentication screen, login…

android/skills · 151 tokens

maui-data-binding

Guidance for .NET MAUI XAML and C# data bindings — compiled bindings, INotifyPropertyChanged / ObservableObject, value converters, binding modes, multi-binding, relative bindings, fallbacks, and MVVM best practices. USE FOR: setting up compiled bindings with x:DataType, implementing INotifyPropertyChanged or…

dotnet/skills · 180 tokens

expo-brownfield

Framework (OSS). Integrate Expo and React Native into an existing native iOS or Android app. Use for brownfield, embedding a React Native screen in SwiftUI/UIKit or Kotlin, or AAR/XCFramework packaging. Covers isolated and integrated approaches. For building or distributing a purely native app with EAS, use…

expo/skills · 74 tokens

migrate-xml-views-to-jetpack-compose

Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android…

android/skills · 98 tokens

web-haptics

Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.

lochie/web-haptics · 47 tokens