Help us improve
Share bugs, ideas, or general feedback.
From Build Swift Apps
Refactors macOS SwiftUI views/scenes into small stable subviews, explicit scene roots, command/toolbar ownership, scene-aware state, and narrow AppKit bridges.
npx claudepluginhub xopoko/build-swift-apps --plugin build-swift-appsHow this skill is triggered — by the user, by Claude, or both
Slash command
/build-swift-apps:macos-view-architectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Refactor macOS SwiftUI toward explicit scene structure and focused files. Use `macos-swiftui-architect` for missing desktop patterns and `macos-appkit-bridge` for true AppKit boundaries.
Guides building macOS SwiftUI apps with proper scene architecture, state ownership, and desktop UI patterns.
Refactors SwiftUI views toward small dedicated subviews, MV over MVVM data flow, stable view trees, explicit dependency injection, and correct Observation usage. Use for cleaning up views, splitting long bodies, removing side effects, or standardizing @Observable patterns.
Refactors SwiftUI views into smaller subcomponents with stable, explicit data flow. Use for cleaning up large views, splitting long bodies, or improving Observation usage.
Share bugs, ideas, or general feedback.
Refactor macOS SwiftUI toward explicit scene structure and focused files. Use macos-swiftui-architect for missing desktop patterns and macos-appkit-bridge for true AppKit boundaries.
App/<AppName>App.swift: @main app and minimal delegate only.Views/*: root composition and feature UI.Models/*: values, IDs, selection enums.Stores/*: state stores.Services/*: network, app-server, process clients.Support/*: small formatters/resolvers/extensions.some View fragments; pass explicit data, bindings, and actions.body.@SceneStorage for per-window ephemeral state and @AppStorage for durable preferences.@Observable owners, use @State; on older targets use @StateObject/@ObservedObject.