view-refactor

Installation
SKILL.md

SwiftUI View Refactor

Overview

Apply consistent structure and dependency patterns to SwiftUI views, focusing on ordering, MV patterns, careful view model handling, and correct Observation usage.

View Ordering (top to bottom)

  1. Environment properties
  2. private/public let constants
  3. @State / other stored properties
  4. Computed var (non-view)
  5. init
  6. body
  7. Computed view builders / view helpers
  8. Helper / async functions

Core Guidelines

Installs
53
GitHub Stars
13
First Seen
Feb 19, 2026
view-refactor — patrickserrano/skills