/build-swift-apps:macos-window-architectfrom Build Swift Apps
Customizes macOS SwiftUI windows: toolbar/title chrome, drag regions, materials, minimize/restoration, placement, launch behavior, and borderless styles. Prefers SwiftUI modifiers over AppKit bridging.
Ships in Build Swift Apps. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use SwiftUI scene/window modifiers first; switch to macos-appkit-bridge only when SwiftUI cannot express the behavior.
macos-runtime-debugger.WindowGroup("Destination Video") {
CatalogView()
.toolbar(removing: .title)
.toolbarBackgroundVisibility(.hidden, for: .windowToolbar)
}
Window("About", id: "about") {
AboutView()
.toolbar(removing: .title)
.toolbarBackgroundVisibility(.hidden, for: .windowToolbar)
.containerBackground(.thickMaterial, for: .window)
}
.windowMinimizeBehavior(.disabled)
.restorationBehavior(.disabled)
WindowGroup("Player", for: Video.self) { $video in
PlayerView(video: video)
}
.defaultWindowPlacement { content, context in
WindowPlacement(size: clampToDisplay(content.sizeThatFits(.unspecified),
displayBounds: context.defaultDisplay.visibleRect))
}
.windowIdealPlacement { content, context in
let size = zoomToFit(content.sizeThatFits(.unspecified),
displayBounds: context.defaultDisplay.visibleRect)
return WindowPlacement(centeredPosition(for: size, in: context.defaultDisplay.visibleRect), size: size)
}
Color.clear
.frame(height: 48)
.contentShape(Rectangle())
.gesture(WindowDragGesture())
.allowsWindowActivationEvents(true)
Window("Welcome", id: "welcome") { WelcomeView() }
.windowStyle(.plain)
.defaultLaunchBehavior(.presented)
.toolbar(removing: .title) for visual title removal, not semantic title removal..toolbarBackgroundVisibility(.hidden, for: .windowToolbar) for top-edge content; .toolbarVisibility(.hidden, for: .windowToolbar) only when the toolbar disappears entirely.WindowDragGesture() on a non-control overlay when toolbar drag affordance is lost..containerBackground(.thickMaterial, for: .window) for utility/About glass-like backdrops instead of hardcoded translucency.content.sizeThatFits(.unspecified) plus context.defaultDisplay.visibleRect; consider external, small, and rotated displays..windowStyle(.plain) windows need obvious move/close affordances.NSWindow before checking SwiftUI modifiers: .windowMinimizeBehavior, .restorationBehavior, .defaultWindowPlacement, .windowIdealPlacement, .windowStyle, .defaultLaunchBehavior.Use macos-swiftui-architect for broader scene architecture, macos-liquid-glass-designer for visual material adoption, and macos-appkit-bridge for true NSWindow/NSPanel needs.
What SKILL.md sets; muted values are Claude Code's defaults
61 skills in this plugin
/app-icon-studioApple app icons: create, generate, evaluate, export, install, or debug iOS AppIcon.appiconset and macOS .icns assets for small-size clarity./apple-dev-researchApple developer articles: search Swift, SwiftUI, Xcode, iOS, and macOS community blogs, tutorials, and write-ups, not official docs./apple-firmware-inspectorApple firmware: inspect and reverse-engineer IPSWs, kernelcaches, dyld shared caches, private headers, entitlements, Mach-O binaries, KEXTs, and security internals with `ipsw`./appstore-ads-operatorApple Ads campaigns: inspect and manage separate auth, orgs, ad groups, creatives, keywords, reports, and API calls; approve live mutations first./appstore-archive-uploaderApp Store IPA/PKG archives: set version/build numbers, archive, export, upload, or publish with `asc xcode` before TestFlight/App Store submission./appstore-aso-auditorApp Store ASO audit: analyze canonical `./metadata` offline after `asc metadata pull`; add Astro MCP keyword gaps and Apple app-tag context when available.npx claudepluginhub xopoko/build-swift-apps --plugin build-swift-appsOther plugins' skills for the same job