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
.appbundle (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
More from caidanw/skills
modern-css
>
47karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
35distill-to-skill
>-
34behavioral-testing
>
27architecture-md
>-
26agent-first-repo
>-
26