A comprehensive refactoring guide for migrating Swift/SwiftUI projects to a modular MVVM-C architecture with local SPM packages. You'd reach for this when modernizing from ObservableObject to @Observable, replacing NavigationView with NavigationStack, or restructuring an app into Feature/Domain/Data boundaries where the app target owns dependency injection and coordination. It enforces practical rules like @Equatable on every view for diffing, stable identifiers in ForEach, and the dependency rule that feature modules never import Data or sibling features. The 50+ rules are prioritized by impact and organized into categories like view diffing, API modernization, and state architecture. Opinionated but well structured for teams committed to this specific architecture pattern.
npx skills add https://github.com/pproenca/dot-skills --skill swift-refactor