macos-swift-desktop

Installation
SKILL.md

macOS Swift Desktop

Build native macOS desktop apps in Swift. This skill is topic-organized: SKILL.md is the index and routing table; detailed patterns and code live in references/.

When to use this skill

  • Building or modifying a macOS .app bundle (AppKit, SwiftUI, or hybrid)
  • Document-based apps (NSDocument, FileDocument)
  • Menu bar apps (NSStatusItem)
  • Preferences windows, toolbars, split views, inspectors
  • Persistence (Core Data, SwiftData, GRDB/SQLite, UserDefaults, Keychain)
  • Undo/redo, drag-and-drop, pasteboard, keyboard shortcuts, accessibility
  • Sandboxing, entitlements, code signing, notarization, Sparkle auto-updates
  • XPC helpers, SMAppService, Shortcuts/Intents, FileProvider, Handoff
  • XCTest, XCUIApplication, OSLog, Instruments, crash reporting
  • GPU-accelerated rendering with Metal, infinite canvases, libghostty, WKWebView embedding

If the task is pure Swift language questions from a TypeScript/Python background, read references/swift-for-ts-devs.md.

Related skills
Installs
7
Repository
caidanw/skills
First Seen
Apr 11, 2026