Codex skills for iOS and Swift
These skills move Codex onto current Apple APIs: SwiftUI views over @Observable models, NavigationStack with typed routes, SwiftData with versioned schemas, and Swift 6 strict concurrency fixed one target at a time. Release work runs through xcodebuild archive and a privacy manifest preflight, and nothing goes to App Store Connect without your confirmation.
Start with these 3
- SwiftUI Views One owner per state, views that adapt Codex writes SwiftUI views as small structs over @Observable models, picks @State, @Bindable or @Environment from a single ownership table, and avoids GeometryReader and AnyView where layout primitives suffice. It checks the deployment target before using new APIs, keeps async work in .task, and verifies each screen in light and dark mode at the largest text size.
- Swift Concurrency Swift 6 strict concurrency without unchecked escapes Codex migrates Swift code to strict concurrency one target at a time, choosing MainActor, actors, Sendable values or lock-protected types by rule rather than sprinkling @unchecked Sendable. It handles Swift 6.2 default isolation and @concurrent, accounts for actor reentrancy, gives every Task an owner that cancels it, bridges callbacks with continuations resumed exactly once, and confirms with Thread Sanitizer.
- SwiftUI Navigation Navigation as data you can set from a URL Codex models navigation as plain data: a Hashable route enum per stack, an optional sheet item and a selected tab, owned by a small router object. Deep links and notification taps are parsed once into that data, so any screen is reachable by assignment. It replaces NavigationView and eager NavigationLinks, and tests URL parsing and flows on iPhone and iPad.
14 more iOS and Swift skills
-
SwiftData
Persistence that survives every app update -
iOS App Store Release
From archive to phased release, no surprises -
iOS Widgets
Widgets that are fresh without burning budget -
Swift Package Manager
Package.swift that builds clean on every platform -
UIKit to SwiftUI
Migrate screen by screen while still shipping -
App Store Optimization
Every indexed character earning its place -
Mobile Deep Links
Links that open the app, not the browser -
Kotlin Multiplatform
Share the logic, keep the platforms honest -
Mobile Push Notifications
Pushes that arrive, tokens that stay clean -
macOS Apps with AppKit
Real Mac apps: menus, sandbox, notarized -
Capacitor Apps
Ship the web app natively without forking it -
Mobile CI with fastlane
Signed builds from a clean runner, every time -
Mobile App Security
Treat the app binary as attacker-owned -
Mobile UI Patterns
Thumb-first screens that respect the platform
General skills with iOS and Swift guidance
Not built around iOS and Swift, but they include steps or tools for it. Not part of the install-all command.
-
Codex IDE Extension
Hand Codex the code you are already looking at -
React Native Expo
Native apps you can regenerate from config -
Expo EAS Builds
Ship binaries and OTA updates that match -
Flutter Apps
Small widgets, one theme, typed native calls -
In-App Purchases
The server decides who paid, not the device -
Mobile Accessibility
Every core task, eyes closed, text at 200% -
Tauri Apps
Small binaries, smallest possible permissions -
Mobile App Architecture
Structure sized to the app, enforced by the build -
Mobile E2E Testing
Few journeys, stable ids, green on every run -
Design Tokens
Name roles once, theme every platform from one source -
Release Notes
Say what changed for the user, breaking first -
Screenshot Automation
Same page, same pixels, every run
Every iOS and Swift skill in one command
Installs these 17 into ~/.agents/skills/. Add --project after -- to install into the current repository instead.
The installer is a 104-line POSIX shell script. It fetches the skills you name from codexskills.dev and unpacks each into its own folder in your skills directory. No sudo, no telemetry, and every skill page shows the full SKILL.md first. Read install.sh
curl -fsSL codexskills.dev/install.sh | sh -s -- swiftui-views swift-concurrency swiftui-navigation swiftdata ios-app-store-release ios-widgets swift-package-manager uikit-to-swiftui app-store-optimization mobile-deep-links kotlin-multiplatform mobile-push-notifications macos-appkit capacitor-apps mobile-ci-fastlane mobile-app-security mobile-ui-patterns iOS and Swift FAQ
Is there a Codex skill for Swift 6 strict concurrency errors?
Swift Concurrency migrates one target at a time: Swift 5 mode with strict concurrency set to targeted, then complete, fixing warnings from leaf modules up before switching to the Swift 6 language mode. It chooses MainActor, actors, Sendable values or lock-protected types by rule instead of adding @unchecked Sendable, handles Swift 6.2 default MainActor isolation and @concurrent, and runs tests under Thread Sanitizer.
Can Codex upload my iOS app to TestFlight?
iOS App Store Release archives and exports with xcodebuild, an explicit ExportOptions.plist and App Store Connect API key auth, then runs a bundled preflight on the built Info.plist and PrivacyInfo.xcprivacy that exits 1 on errors. It prepares everything but asks for explicit confirmation before each upload and submission, then routes builds through internal and external TestFlight to a phased release.
Does the SwiftData skill handle schema migrations?
SwiftData freezes every shipped schema as a VersionedSchema and gives each change a lightweight or custom migration stage, proven by opening a store written by the previous version. It also sets explicit delete rules, filters in the store with #Predicate rather than in Swift, and moves bulk imports to a @ModelActor.
How do I install all 17 iOS and Swift skills at once?
Pass every name to the installer in one command: curl -fsSL https://codexskills.dev/install.sh | sh -s -- swiftui-views swift-concurrency swiftui-navigation swiftdata ios-app-store-release ios-widgets swift-package-manager uikit-to-swiftui app-store-optimization mobile-deep-links kotlin-multiplatform mobile-push-notifications macos-appkit capacitor-apps mobile-ci-fastlane mobile-app-security mobile-ui-patterns. Add --project right after -- to put them in the current repository's .agents/skills/ so your team gets them too.
Which iOS and Swift skill should I try first?
SwiftUI Views is the closest fit for most iOS and Swift work. Mention it with $swiftui-views in a prompt to load it on purpose; after that, Codex picks it up on its own whenever a task matches.