swift-expert

Solid

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.

AI & Automation 9,846 stars 859 forks Updated 3 weeks ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Swift Expert ## Core Workflow 1. **Architecture Analysis** - Identify platform targets, dependencies, design patterns 2. **Design Protocols** - Create protocol-first APIs with associated types 3. **Implement** - Write type-safe code with async/await and value semantics 4. **Optimize** - Profile with Instruments, ensure thread safety 5. **Test** - Write comprehensive tests with XCTest and async patterns > **Validation checkpoints:** After step 3, run `swift build` to verify compilation. After step 4, run `swift build -warnings-as-errors` to surface actor isolation and Sendable warnings. After step 5, run `swift test` and confirm all async tests pass. ## Reference Guide Load detailed guidance based on context: | Topic | Reference | Load When | |-------|-----------|-----------| | SwiftUI | `references/swiftui-patterns.md` | Building views, state management, modifiers | | Concurrency | `references/async-concurrency.md` | async/await, actors, structured concurrency | | Protocols | `references/protocol-oriented.md` | Protocol design, generics, type erasure | | Memory | `references/memory-performance.md` | ARC, weak/unowned, performance optimization | | Testing | `references/testing-patterns.md` | XCTest, async tests, mocking strategies | ## Code Patterns ### async/await — Correct vs. Incorrect ```swift // ✅ DO: async/await with structured error handling func fetchUser(id: String) async throws -> User { let url = URL(string: "https://api.example.com/users/\(id)")! ...

Details

Author
Jeffallan
Repository
Jeffallan/claude-skills
Created
7 months ago
Last Updated
3 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

swiftui-expert

This skill should be used when the user is building, reviewing, or debugging SwiftUI views and apps. Detects iOS and Swift version from the project. Covers creating views, state management with @Observable, NavigationStack routing, animations, accessibility, performance optimization, Liquid Glass adoption, design systems, and clean code architecture. Use when the user asks things like "create a SwiftUI list view", "my @State isn't updating", "add navigation to my app", "make this accessible", "optimize SwiftUI performance", "add Liquid Glass to my toolbar", "fix my Swift concurrency warning", "set up SwiftData models", "critique my SwiftUI code", "fix my SwiftUI layout", "create a custom ViewModifier", or "add Dark Mode support".

2 Updated today
mathisk2095
Web & Frontend Listed

apple-engineer-superpowers

Use when writing Swift code for Apple platforms - iOS, macOS, visionOS. Covers Swift 6 concurrency, actors, Sendable, async/await, SwiftUI, MVVM architecture, Metal GPU programming, RealityKit ECS, visionOS scenes, interpolation/animation, advanced collection types, property wrappers, Combine bridging, error handling, testing, and API design patterns.

24 Updated 3 months ago
piemonte
Web & Frontend Listed

language-swift

Swift idioms — optionals, value types, actors, async/await, protocols, and Result builders. Auto-load when working with .swift files, Package.swift, or when the user mentions Swift, SwiftUI, actors, async/await, Sendable, Result builders, or Swift Package Manager.

2 Updated today
lugassawan