swiftui-view-refactor
Refactors SwiftUI views into small, stable components following MV architecture and clean code standards.
Install
npx skills add https://github.com/dimillian/skills --skill swiftui-view-refactorStats
| Total installs | 937 |
| Weekly installs | 925 |
| GitHub stars | 2.4K |
| First seen | Jan 20, 2026 |
| Source | @dimillian/skills |
Summary
- Enforces view ordering (environment, state, computed vars, init, body, helpers) and strongly prefers dedicated subview types over computed some View helpers for non-trivial sections
- Defaults to Model-View architecture: local state in views, shared dependencies in environment, business logic in services/models, view models only when explicitly required or already present
- Extracts actions and side effects out of view bodies into private methods; keeps body readable as UI layout and orchestration, not imperative logic
- Maintains stable view trees by avoiding top-level conditional branching; moves conditions into localized sections and modifiers instead
- Handles @Observable models as @State on iOS 17+; uses legacy @StateObject and @ObservedObject only when deployment target requires it
Tags
Related skills
| Skill | Installs | vs swiftui-view-refactor |
|---|---|---|
| modern-csharp-coding-standards | 920 | -17 |
| ghost-scan-code | 1,081 | +144 |
| autonomous-loops | 1,009 | +72 |
| setup-pre-commit | 960 | +23 |
| skill-share | 932 | -5 |
FAQ
- How many installs does swiftui-view-refactor have?
- swiftui-view-refactor has 937 total installs and 925 installs this week.
- Where is swiftui-view-refactor hosted?
- swiftui-view-refactor is published by @dimillian/skills at https://github.com/dimillian/skills.
- How many GitHub stars does swiftui-view-refactor have?
- swiftui-view-refactor has 2.4K GitHub stars.
- When was swiftui-view-refactor first indexed?
- OrangeBot.AI first indexed swiftui-view-refactor on Jan 20, 2026.
- How do I install swiftui-view-refactor?
- Run: npx skills add https://github.com/dimillian/skills --skill swiftui-view-refactor