home/categories/mobile/max-leopold-dotfiles-dot-claude-skills-swiftui-view-refactor-skill-md
mobiledevelopment

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.

Max-Leopold
maintainer
Max-Leopold
Updated 1/3/2026
Stars
1
Forks
0
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.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use swiftui-view-refactor