home/categories/mobile/vabole-apple-skills-skills-guide-swiftui-view-refactor-skill-md
mobiledevelopment

guide-swiftui-view-refactor

Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view’s layout/ordering, handle view models safely (non-optional when possible), or standardize how dependencies and @Observable state are initialized and passed.

vabole
maintainer
vabole
Atualizado 3/17/2026
Estrelas
194
Forks
5
quick start

Installation and usage

Refactor and review SwiftUI view files for consistent structure, dependency injection, and Observation usage. Use when asked to clean up a SwiftUI view’s layout/ordering, handle view models safely (non-optional when possible), or standardize how dependencies and @Observable state are initialized and passed.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use guide-swiftui-view-refactor