Skill / SKILL.md

Swiftui View Refactor

omarshahine/HomeClaw

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.
2 views 200 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/omarshahine/HomeClaw' skill-source

Use the complete skill-source/.claude/skills/swiftui-view-refactor directory with your client’s skill installer.

  • .claude/skills/swiftui-view-refactor Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/swiftui-view-refactor

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
a8d00daf42a7d6cd35be3b1e228da348c4af0ed7b6a66e8d5c03e4d2881e6bc6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills