Skip to main content

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

  1. 01code-reviewer

    5 installs

    Code 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 Skills
  2. 02expo-ui

    2 installs

    Framework (OSS). Build native UI with the @expo/ui package: real SwiftUI on iOS and Jetpack Compose on Android. Default to @expo/ui for sheets (BottomSheet), pickers, sliders, toggles, menus, and grouped-form sections — do NOT reach for Reanimated, @gorhom/bottom-sheet, or RN built-in Picker/Switch; use @expo/ui instead. Fall back to RN built-ins only when @expo/ui is missing the component. NOTE: @expo/ui List renders native grouped rows like an iOS Settings screen — it is NOT a virtualized list; use FlatList/FlashList for large datasets. Covers universal components (Host, Column, Row, Button, Text, List, BottomSheet, FieldGroup, Switch, Slider, Picker, Menu), drop-in replacements for RN community libraries, and platform-specific SwiftUI/Jetpack Compose trees. Not for Expo Router navigation, Reanimated, or data fetching.

    Buildfrom Expo
  3. 03swiftui-expert-skill

    1 installs

    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 Skill
  4. 04ios-design-system

    1 installs

    Enforce design token usage in SwiftUI apps using iOS Human Interface Guidelines. Use when implementing design tokens, colors, or typography in SwiftUI.

    Buildfrom Multi-Language Standards
  5. 05accessibility-lead

    1 installs

    Accessibility 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 Agents
  6. 06swift

    1 installs

    Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms

    Buildfrom Mindrally Skills
  7. 07ios-app

    1 installs

    Scaffolds 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 Hub
  8. 08swift-swiftui

    1 installs

    Configure 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 Standards
  9. 09swift-expert

    Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures, handles async/await concurrency, implements actors for thread safety, and debugs Swift-specific issues. Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await concurrency. Invoke for protocol-oriented programming, SwiftUI state management, actors, server-side Swift, UIKit integration, Combine, or Vapor.

    Buildfrom Jeffallan Skills
  10. 10mobile-accessibility

    Mobile accessibility specialist for React Native, Expo, iOS (SwiftUI/UIKit), and Android (Jetpack Compose/Views). Audits accessibilityLabel, accessibilityRole, accessibilityHint, touch target sizes, screen reader compatibility, and platform-specific semantics. Use for any React Native or native mobile code review - approximately 60% of web traffic is mobile and most UI accessibility tooling ignores mobile-specific patterns.

    Buildfrom Accessibility Agents
  11. 11sentry-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 Sentry
  12. 12swiftui-development

    Expert SwiftUI development guidelines with MVVM architecture and modern Swift best practices

    Buildfrom Mindrally Skills
  13. 13constant-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 Bits
  14. 14kotlin-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 Kotlin
  15. 15apollo-ios

    Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift. Use this skill when: (1) adding Apollo iOS to a Swift Package Manager or Xcode project, (2) configuring `apollo-codegen-config.json` and running code generation, (3) configuring an `ApolloClient` with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions from SwiftUI views, (5) writing tests against generated operation mocks.

    Buildfrom Apollo GraphQL
  16. 16swift-best-practices

    Apply Guard, Value Types, Immutability, and Naming conventions in Swift. Use when writing idiomatic Swift with guard, value types, immutability, or naming conventions—not Swift concurrency/actor-isolation, persistence, linting, or release tooling.

    Buildfrom Multi-Language Standards
  17. 17swift-language

    Apply Optionals, Protocols, Extensions, and Type Safety patterns in Swift. Use when working with Swift Optionals, Protocols, Extensions, or type-safe APIs.

    Buildfrom Multi-Language Standards
  18. 18ios-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 Standards

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.

Other languages and frameworks