Use Case
Swiftui View Refactor is a powerful AI agent skill that extends your assistant with new capabilities. 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. This guide walks you through installing Swiftui View Refactor, configuring it for your setup, and running your first commands — so you can start getting value in minutes.
Install Swiftui View Refactor: npx clawhub@latest --dir ~/.claude/skills install swiftui-view-refactor
Restart your AI client (Claude Code, Cursor, Gemini CLI, or OpenClaw)
Type a natural language request related to developer & devops to trigger Swiftui View Refactor
Review the output and refine your prompt for better results
Combine Swiftui View Refactor with other skills to build multi-step workflows
Copy these prompts and use them with your AI agent after installing Swiftui View Refactor
Help me get started with Swiftui View Refactor
What can Swiftui View Refactor do for my developer & devops workflow?
Show me an example of using Swiftui View Refactor
Select your agent
Option 1: Install via CLI (recommended)
Recommended (no pre-install needed)
npx clawhub@latest --dir ~/.claude/skills install swiftui-view-refactorOr via clawhub CLI (if already installed)
clawhub --dir ~/.claude/skills install swiftui-view-refactor⚠️ Requires Node.js 18+. No Node? Use Option 2 below to download the ZIP instead. Install Node.js →
Option 2: Manual install (no Node required)
Download the ZIP, extract it, and place the folder at the path below. Restart your agent to activate.
Install path
~/.claude/skills/swiftui-view-refactor/💡Extract and place the folder at the path above, then restart your agent.