AI skills for Swift
AI Coding Skills for Swift
Browse the best AI coding skills for Swift in 2026, SwiftUI view scaffolding, async/await patterns, Swift Testing framework, Xcode build automation, and iOS/macOS deployment. Works with every major AI coding tool.
Short answer
The best AI coding skills for Swift are skills-hub's `code-review`, `unit-test` (Swift Testing + XCTest), `ios-app` (SwiftUI scaffolding with MVVM), `app-store-publish` (Fastlane match + Connect API), and `secure`. All portable across Claude Code, Cursor, Codex CLI, Copilot, and Cline.
Swift is where most iOS and macOS apps ship from in 2026, and AI tooling has matured. The skills below detect your Swift stack (SwiftUI, async/await, Swift Testing framework, Xcode 16+, SPM) and emit idiomatic code with proper property wrappers, observable models, and modern concurrency, not the GCD patterns from 2019 tutorials.
Top skills for Swift
01code-reviewer
3 installsCode review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C#, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.
Buildfrom Multi-Domain Skills02swift-swiftui
1 installsConfigure SwiftUI state, view lifecycle, and Property Wrappers correctly. Use when managing SwiftUI state, view lifecycle, or property wrappers like @State and @Binding.
Buildfrom Multi-Language Standards03accessibility-lead
1 installsAccessibility team lead and orchestrator. Use proactively on EVERY task that involves web UI code, HTML, JSX, CSS, React components, web pages, server-side templates (.leaf, .ejs, .erb, .hbs), or any user-facing web content. This agent coordinates the accessibility specialist team and ensures no accessibility requirement is missed. Runs the final review before any UI code is considered complete. Applies to any web framework, server-side templating framework (Vapor/Leaf, Rails/ERB, Django/Jinja, Express/EJS), or vanilla HTML/CSS/JS. Works alongside other team leads (e.g., swift-lead) in multi-language projects.
Buildfrom Accessibility Agents04ios-design-system
1 installsEnforce design token usage in SwiftUI apps using iOS Human Interface Guidelines. Use when implementing design tokens, colors, or typography in SwiftUI.
Buildfrom Multi-Language Standards05ios-app
1 installsScaffolds a native iOS app with SwiftUI, MVVM architecture, dependency injection, persistence, networking, push notifications, keychain, App Clips, and multi-environment Xcode configuration. Triggers on: "ios app", "iphone app", "build an ios app", "swift app", "swiftui app", "native ios", "apple app", "ipad app", "scaffold ios project", "xcode project", "build for iphone", "ios starter", "create an iphone app", "swift project setup".
Buildfrom Skills Hub06expo-ui
1 installsFramework (OSS). Build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android rendered from React in an Expo or React Native app. Covers universal cross-platform components (Host, Column, Row, Button, Text, List, and more imported from @expo/ui), drop-in replacements for popular React Native community libraries (BottomSheet, DateTimePicker, Slider, Menu, etc.), and platform-specific SwiftUI (@expo/ui/swift-ui, iOS only) and Jetpack Compose (@expo/ui/jetpack-compose, Android only) trees and modifiers. Use when adding or reviewing @expo/ui Host/RNHostView trees, building native-feeling UI where standard React Native components fall short (grouped settings forms with toggles, sections, menus, sheets, pickers, sliders), choosing between universal and platform-specific components, or replacing an RN community UI library with a native @expo/ui equivalent. Not for custom native modules, Expo Router navigation, Reanimated, or data fetching.
Buildfrom Expo07ios-swiftui
Build declarative UI and manage data flow with SwiftUI in iOS. Use when building declarative SwiftUI views or managing data flow with property wrappers.
Buildfrom Multi-Language Standards08swiftui-expert-skill
Use when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management and `@Observable` data flow, view composition and invalidation/performance, lists and `ForEach` identity, environment usage, localization, animations, Liquid Glass adoption, migrating soft-deprecated APIs, or Instruments `.trace` capture/analysis for hangs, hitches, CPU hotspots, or excessive view updates.
Buildfrom SwiftUI Agent Skill09mobile-performance
Profile and audit mobile app performance -- cold/warm/hot startup time, memory leaks, battery drain, network efficiency, frame rate jank, and binary size. Covers Flutter, React Native, Swift, and Kotlin apps. Detects image memory issues, undisposed controllers, polling without backoff, missing virtualized lists, and unused asset bloat. Use when diagnosing slow launches, investigating ANRs, reducing app size, or benchmarking rendering performance.
Analysisfrom Skills Hub10constant-time-analysis
Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.
Buildfrom Trail of Bits11grade-tests
Grades a specified set of test methods individually and produces a concise table mapping each test (fully-qualified name) to a letter grade (A–F), a score band, and a one-line note — designed to be posted as a PR comment. Use when the caller wants per-test feedback on a curated list of methods (for example, the new or modified tests in a pull request), not a suite-wide audit. Polyglot: .NET, Python, TS/JS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. Input is a list of test methods (or method bodies / file+line spans); output is a compact markdown table plus a short summary. DO NOT USE FOR: full suite audits (use test-quality-auditor agent or test-anti-patterns), writing new tests (use code-testing-generator agent or writing-mstest-tests), fixing failures, or measuring code coverage.
Buildfrom .NET12ios-navigation
SwiftUI navigation and deep linking using NavigationStack and Universal Links. Use when implementing NavigationStack or Universal Links deep linking in iOS.
Buildfrom Multi-Language Standards13kotlin-tooling-cocoapods-spm-migration
Migrate KMP projects from CocoaPods (kotlin("native.cocoapods")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.
Buildfrom Kotlin14swift-testing
Write XCTest cases, async tests, and organized test suites in Swift. Use when writing XCTest cases, async tests, or organizing test suites in Swift.
Buildfrom Multi-Language Standards15swift-concurrency
Implement async/await, Actors, and structured concurrency in Swift. Use when implementing Swift async/await, Actors, or structured concurrency in iOS/macOS.
Buildfrom Multi-Language Standards16sentry-cocoa-sdk
Full Sentry SDK setup for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). Use when asked to "add Sentry to iOS", "add Sentry to Swift", "install sentry-cocoa", or configure error monitoring, tracing, profiling, session replay, or logging for Apple applications. Supports SwiftUI and UIKit.
Buildfrom Sentry17swift-error-handling
Standards for throwing functions, Result type, and Never. Use when implementing Swift error throwing, designing error hierarchies, using Result types, or adding do-catch blocks.
Buildfrom Multi-Language Standards18expo-module
Framework (OSS). Guide for creating and writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript). Covers module definition DSL, native views, shared objects, config plugins, lifecycle hooks, autolinking, and type system. Use when building or modifying native modules for Expo. Not for migrating an existing Swift module from the definition DSL to the Expo Modules API 2.0 macros; use expo-migrate-module (from the expo-experiments plugin) for that.
Buildfrom Expo
Frequently asked questions
Do AI skills know SwiftUI's observation model?
Yes, modern skills use @Observable (iOS 17+) by default, fall back to @ObservableObject only when supporting older iOS targets. They wire @Bindable correctly in child views.
Can AI generate Swift Testing tests?
Yes. The unit-test skill detects whether the project uses the new Swift Testing framework (#expect, @Test) or legacy XCTest and emits the appropriate style.
What's the best AI tool for iOS development?
Claude Code and Cursor both handle Swift well. Xcode's own AI assist is improving in 2026 but still weaker than Cursor + the swift-language-server combo.
Do AI skills handle App Store publishing?
Yes via the app-store-publish skill, sets up Fastlane match for code signing, App Store Connect API key, TestFlight, and release automation.