
Swift Architecture
Covers pattern selection and implementation for Swift apps across MV, MVVM, MVI, TCA, Clean Architecture, Coordinator, and VIPER. Includes a decision table that maps complexity and testability needs to patterns, with practical examples showing @Observable models, view model separation, and unidirectional flow. The default guidance is sensible: start with MV for new SwiftUI apps and escalate only when feature complexity demands it. Handles migration paths between patterns and explicitly scopes out SwiftUI state mechanics, navigation, and concurrency to other skills. Most useful when you're choosing an architecture for a new feature or justifying why your current pattern isn't working anymore.
- skills.sh installs
- 3.3K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill swift-architecture --agent claude-codeInstalls into .claude/skills of the current project.
Files
Swift Architecture
Choose the smallest architecture that makes state ownership, dependencies, side effects, and tests explicit. Default new SwiftUI features to MV; escalate only for observed complexity.
Contents
- Scope Boundary
- Decision Workflow
- Pattern Selection
- MV Default
- Escalation Signals
- Migration
- Common Mistakes
- Review Checklist
- References
Scope Boundary
This skill owns pattern selection, module boundaries, dependency direction, migration strategy, and architecture-level test seams. Route SwiftUI property-wrapper wiring and view composition to swiftui-patterns, navigation APIs and route models to swiftui-navigation, isolation diagnostics to swift-concurrency, and test syntax/fixtures to swift-testing.
Decision Workflow
Sponsors
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Testing & QA, Code Review & Quality, Productivity & Planning, Rust, Mobile Development, Go
- First seen
- Jun 3, 2026
More from dpearson2699/swift-ios-skills
All 98- Pencilkit3.3K
- Carplay3.2K
- Ios Simulator3.2K
- Scenekit3.2K
- Homekit3.2K
- Accessorysetupkit3.2K
- Callkit3.2K
- Cryptotokenkit3.2K
- Financekit3.2K
- Adattributionkit3.2K
- Paperkit3.2K
- Passkit3.2K
- Audioaccessorykit3.2K
- Dockkit3.2K
- Browserenginekit3.2K
- Appmigrationkit3.2K
- Relevancekit3.2K
- Sensorkit3.2K
- Swift Security3.2K
- Tabletopkit3.1K
- App Store Optimization3.1K
- Swift Api Design Guidelines3K
- Swiftlint2.9K
- Swift Formatstyle2.8K