Skip to content
Mobile
Command

/axiom-modernize

Migrate legacy iOS patterns to modern equivalents (Delegate to the `modernization-helper` subagent)

From plugin
axiom
1.3k18 skills44 agents18 commands1 MCP
> /plugin marketplace add charleswiltgen/axiom
> /plugin install axiom@axiom-marketplace

Command definition

axiom-modernize.md
name: axiom-modernize
description: "Migrate legacy iOS patterns to modern equivalents (Delegate to the `modernization-helper` subagent)"

Modernize iOS Code

Delegate to the **modernization-helper** subagent to find legacy patterns and give you the migration path for each.

Shorthand for `/axiom-audit` modernization — same agent, fewer keystrokes.

What It Does

The agent will: 1. Scan for `ObservableObject` / `@Published` that should become `@Observable` 2. Find `@StateObject` and `@ObservedObject` that should become `@State` / `@Bindable` 3. Flag deprecated SwiftUI APIs still in use, with their replacements 4. Identify UIKit patterns that have a modern SwiftUI or scene-lifecycle equivalent 5. Give a migration path per finding rather than a bare list, so you can adopt incrementally

Prefer Natural Language?

You can also trigger this agent by saying:

  • "How do I migrate from ObservableObject to @Observable?"
  • "Are there any deprecated APIs in my SwiftUI code?"
  • "Update my code to use modern SwiftUI patterns"
  • "Should I still use @StateObject?"
@charleswiltgen
Ships withaxiom

Battle-tested skills, agents, and tools for modern Apple OS development — Swift 6, SwiftUI, Liquid Glass, Apple Intelligence, and more. Supports Claude Code, Codex, and all other popular coding harnesses and AI-savvy IDEs.

1.3k71 skills44 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.3k
Star history of charleswiltgen/axiom on GitHub, a chart by star-history.com

Other commands on axiom.

axiom-ask

axiom-ask

Command

Ask a question about iOS/Swift development - routes to the right Axiom skill or agent

@charleswiltgen@charleswiltgenInstall Command

More commands from other plugins.