Software Development

Guide SwiftUI View Refactor

Refactor and review SwiftUI view files with strong defaults for small dedicated subviews, MV-over-MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use when cleaning up a SwiftUI view, splitting long bodies, removing inline actions or side effects, reducing computed `some View` helpers, or standardizing `@Observable` and view model initialization patterns.

Publisher / source
Prisma-Labs-Dev/apple-skills (found on skills.sh)
Upstream record
Prisma-Labs-Dev/apple-skills
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
b9b7aa64776c79980a41bfe576422f40c5786e599dd07fbbe24900eff8ba34f8