view-refactor
CommunityStreamline macOS SwiftUI views with stable layout
Authoroliverames
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactor macOS SwiftUI views toward small, explicit scene roots and dedicated subviews to reduce iOS-centric patterns and AppKit entanglements, making architecture more maintainable.
Core Features & Use Cases
- Model scenes explicitly and split root views into main window, settings, inspectors, and utility windows.
- Maintain a predictable file shape by organizing Environment, state, models, stores, and services into clear sections.
- Extract commands, toolbars, and actions into dedicated helpers to simplify body code and improve reuse.
- Prefer stable storage patterns like @SceneStorage and @AppStorage to preserve layout and preferences across sessions.
Quick Start
Reorganize a macOS SwiftUI view by creating distinct scene roots and extracting focused subviews for a stable, maintainable architecture.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: view-refactor Download link: https://github.com/oliverames/ames-claude/archive/main.zip#view-refactor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.