
Swiftui View Refactor
by dimillian05ba982bfeb0No license3.9K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 6 months ago
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.
Only the file list is public. File contents are available once the skill is installed in a workspace.
| Path | Size | Type |
|---|---|---|
| agents/openai.yaml | 226 B | application/yaml |
| references/mv-patterns.md | 5.4 KB | text/markdown |
| SKILL.md | 7.8 KB | text/markdown |
Source and attribution
Source:dimillian/skillsinswiftui-view-refactorat commit05ba982
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from dimillian/skills

Swiftui Ui Patterns
dimillian
Guidance and reference patterns for building SwiftUI views, navigation, state, and layouts in Apple app projects.

Swiftui Performance Audit
dimillian
Audits SwiftUI runtime performance from code review and architecture, and guides user-run Instruments profiling.

Swift Concurrency Expert
dimillian
Reviews and fixes Swift 6.2+ concurrency issues such as actor isolation, Sendable errors and data races.

Swiftui Liquid Glass
dimillian
Guides implementing, refactoring, and reviewing SwiftUI features that use the iOS 26+ Liquid Glass API.

React Component Performance
dimillian
Guides profiling and optimizing React component performance, covering re-renders, memoization, and list rendering.

Review Swarm
dimillian
Runs four parallel read-only sub-agent reviews of a git diff or file scope and aggregates prioritized findings.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Web Design Guidelines
vercel-labs
Reviews UI code against Web Interface Guidelines fetched from a remote source and reports findings as file:line entries.

Vercel React Native Skills
vercel-labs
React Native and Expo best-practice rules covering list performance, animation, navigation, UI patterns, state, and monorepo setup.

Vercel React Best Practices
vercel-labs
Vercel's React and Next.js performance guidelines, organized as 70 rules for writing, reviewing, and refactoring code.