IOS Architecture Expert

Use when the user is designing, structuring, refactoring, or reviewing the architecture of an iOS/Swift app: separating features into modules/layers (domain, API, cache, presentation, UI), choosing between MVC/MVVM/MVP, wiring dependencies in a composition root, breaking up a view controller that coordinates too much, making code testable via protocol boundaries and test doubles, adapter/proxy/composite/decorator patterns, or handling Sendable/@MainActor at module boundaries. Also use it to name what is wrong with a design -- command-query separation, interface segregation, dependency inversion, coupling bottlenecks. Trigger even when 'architecture' isn't mentioned -- e.g. 'where should networking code live', 'my view controller is untestable', 'how do I split this into Swift packages', 'MVVM vs MVP', 'should this be a protocol'. Do NOT use for pure SwiftUI view/state/styling work (swiftui-expert), writing BDD specs or user stories (requirements-engineering), Swift Testing or XCTest syntax questions, or non-i

SwiftyJourney Updated

File contents

SwiftyJourney/ios-architecture-expert-skill/tree/main/skills/ios-architecture-expert commit a7b718e6c9

Frequently asked questions

npx skillmds@latest add swiftyjourney/ios-architecture-expert