swiftui-view-refactor
95 / 100 · Low risk
Fine to try.
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.
What this skill can do
Connects to the internet
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/harperreed/dotfiles' "$d" && git -C "$d" checkout --quiet '6fad105e7c606c1e7112642b4d8ef083919159b8' -- '.claude/skills/swiftui-view-refactor' && mkdir -p ~/.agents/skills && cp -R "$d"/'.claude/skills/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/harperreed/dotfiles/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-12 | 6fad105 | 95 |
| 2026-11-08 | 882e72b | 100 |
| 2026-11-06 | cf1145d | 95 |