swiftui-view-refactor
100 / 100 · Low risk
Fine to try.
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.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'swiftui-view-refactor' ] || [ -L ~/.agents/skills/'swiftui-view-refactor' ]; then echo 'A skill folder named swiftui-view-refactor already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Dimillian/Skills' "$d" && git -C "$d" checkout --quiet '05ba982bfeb0d77d3c97d4542b0ee15034d05f84' -- 'swiftui-view-refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'swiftui-view-refactor' ~/.agents/skills/'swiftui-view-refactor' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'swiftui-view-refactor' ~/.claude/skills/'swiftui-view-refactor' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/Dimillian/Skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-08 | 05ba982 | 100 |
| 2026-11-06 | 05ba982 | 100 |