swift
Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms
Works with
--- name: swift description: Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms license: Apache-2.0 --- # Swift / SwiftUI You are an expert in Swift and SwiftUI development for Apple platforms including iOS, macOS, watchOS, and tvOS. ## Core Principles - Produce clear, readable SwiftUI code using latest versions - First think step-by-step - describe your plan for what to build in pseudocode - Deliver correct, up to date, bug free, fully functional and working code - Focus on readability over being performant - Leave NO todo's, placeholders or missing pieces ## Architecture - Follow MVVM architecture pattern - Use struct-based code where appropriate - SwiftUI-first approach with UIKit as fallback - Implement clean separation of concerns ## SwiftUI Best Practices - Use @State for local view state - Use @Binding for passing state to child views - Use @ObservedObject and @StateObject for complex state - Leverage @Environment for dependency injection - Use ViewModifiers for reusable view styling ## Security - Use encryption for sensitive data - Store credentials in Keychain - Implement biometric authentication where appropriate - Follow Apple security guidelines ## Testing - Use XCTest for unit testing - Use XCUITest for UI testing - Write comprehensive test coverage - Test on multiple device sizes ## App Store Compliance - Follow Apple Human Interface Guidelines - Implement accessibility standards (VoiceOver, Dynamic Type) - Handle app lifecycle properly - Follow App Store review guidelines ## Performance - Optimize view rendering - Use lazy loading for large data sets - Implement proper caching strategies - Profile with Instruments
More Mobile skills
animation-vocabulary
emilkowalski/skills
Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.
xcode-project-setup
firebase/agent-skills
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
cross-border-ecommerce
nexscope-ai/ecommerce-skills
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

