LaughingJackalope/macos-skills
Skill Claude CodeCodex
Core AppKit patterns for macOS apps: NSWindow/NSWindowController lifecycle, NSView/NSViewController hierarchy, responder chain event flow, NSDocument architecture, custom view drawing with layer-backing, drag & drop, and printing. Use when building or refactoring any AppKit-based macOS app, managing windows and view…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
On-device AI on macOS — Foundation Models (LanguageModelSession, @Generable, tool calling, SystemLanguageModel), CoreML (MLModel, MLTensor, Neural Engine), MLX Swift, llama.cpp. MLComputeUnits (CPU+NE+GPU), model deployment in bundle vs on-demand resources, XPC isolation for model inference. Use when implementing…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
CloudKit on macOS — CKContainer/CKDatabase/CKRecord/CKQuery/CKSubscription, CKSyncEngine, NSPersistentCloudKitContainer, push-based sync, CloudKit entitlement + sandbox, iCloud Drive document sync, multi-window conflict resolution. Use when syncing data via CloudKit on macOS.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Core Data on macOS — NSPersistentContainer, NSManagedObject, fetch requests, NSFetchedResultsController, batch operations, history tracking, staged migration, NSPersistentCloudKitContainer, multi-process via NSPersistentHistoryTracking. Use when persisting data with Core Data in macOS apps.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Debugging on macOS — LLDB for AppKit, Memory Graph Debugger, Instruments (Hangs, Time Profiler, Allocations, Metal System Trace), oslog/ossignpost, dtrace, crash report symbolication, sandbox violation debugging, Address Sanitizer, Thread Sanitizer. Use when debugging performance, memory, or crash issues in macOS apps.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Localization on macOS — String Catalogs, LocalizedStringKey, String(localized:), FormatStyle, plural rules (.stringsdict), RTL layout, NSLocalizedString migration, Xcode localization export/import, menu item localization, accessibility label localization, locale-aware formatting. Use when localizing macOS apps for…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
File system patterns for macOS 26+ with Swift 6.3. Covers sandbox entitlements for file access, security-scoped bookmarks for persistent access, NSOpenPanel/NSSavePanel and SwiftUI fileImporter/fileExporter, NSFileCoordinator/NSFilePresenter for coordinated reads and writes, NSMetadataQuery for Spotlight integration…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Hardware access on macOS — IOKit (IOServiceGetMatchingService, IORegistryEntry), USB/HID devices (IOHIDManager), serial ports, power management (IOPMAssertion), battery/power info, CoreAudio (AVAudioEngine, AudioUnit, audio device selection), NSSound. Use when accessing hardware devices, managing audio, or controlling…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Inter-process communication on macOS — XPC services (NSXPCConnection, NSXPCInterface, @objc protocol), privilege separation with XPC, App Groups (com.apple.security.application-groups), DistributedNotificationCenter, CFMessagePort. Use when implementing XPC services, helper tools, or inter-process communication on…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Build and customize macOS menu bar menus, keyboard shortcuts, context menus, dock menus, and services integration using SwiftUI commands. Covers .commands placement, CommandMenu, CommandGroup, Button.keyboardShortcut, .contextMenu, NSMenu escape hatch, menu validation, and first-responder routing. Use when adding or…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Metal GPU programming for macOS: MTKView integration via NSViewRepresentable, render and compute pipelines, MTLHeap resource management, GPU selection and family feature detection, synchronization with fences and events, CAMetalLayer direct rendering, and MSL shader conventions. Use when building GPU-accelerated…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Configure macOS sandbox, hardened runtime, code signing, notarization, SMJobBless privileged helpers, SecureEnclave key storage, and LAContext biometric authentication. Use when enabling app capabilities, signing and notarizing a macOS app, setting up XPC helper tools for elevated operations, storing keys in the…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
System-level macOS integration patterns: SMAppService login items and launch agents, NSWorkspace app lifecycle, security-scoped bookmarks, NSPasteboard custom UTType and promised data, Core Spotlight indexing, Quick Look preview, AppleScript automation, and NSFileCoordinator/NSFilePresenter coordinated file access.…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
TextKit 2 architecture, NSTextView configuration, NSAttributedString editing, find bar with NSTextFinder, keyboard event handling via NSTextInputClient, font panel integration, and wrapping NSTextView as NSViewRepresentable for SwiftUI. Use when building rich text editors, code editors, or any custom text input…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Implement macOS toolbars, sidebars, and inspectors using SwiftUI. Covers NavigationSplitView three-column layouts, toolbar item placements (.principal, .navigation, .primaryAction, .secondaryAction, .status), searchable integration, Inspector panels, List sidebar styling, OutlineGroup hierarchies, and…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Design and implement macOS multi-window architectures using WindowGroup, Window, Settings, MenuBarExtra, openWindow/dismissWindow, scene styles, and DocumentGroup. Use when building apps with multiple windows, custom window chrome, menu bar utilities, parameterized window opening, state restoration, or document-based…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Networking on macOS — URLSession async/await, background sessions for daemons, Network.framework (NWConnection/NWListener/NWBrowser), WebSocket, Bonjour/mDNS, NWPathMonitor, App Transport Security, local network entitlement. Use when implementing network communication in macOS apps.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Push notifications on macOS — UNUserNotificationCenter authorization (different prompt behavior), UNNotificationRequest, UNUserNotificationCenterDelegate, notification categories/actions, APNs registration via NSApplicationDelegate, foreground delivery differences, Focus modes impact. Use when implementing push or…
LaughingJackalope/macos-skills
Skill Claude CodeCodex
StoreKit 2 on macOS — Product.products/purchase/Transaction.updates, subscription status, AppStore/sync, SKOverlay, StoreView/ProductView SwiftUI, receipt validation, sandbox testing (Xcode scheme setup). Use when implementing in-app purchases or managing subscriptions in macOS apps.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Swift API Design Guidelines for macOS — naming conventions for AppKit-style delegates, NS-prefixed type interop, @objc protocol design, error types (POSIXError, CocoaError), Swift package design for macOS libraries. When designing Swift APIs for macOS frameworks or libraries.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Architecture patterns for macOS apps — MV with @Observable, MVVM, NSDocument-based architecture, multi-window state, NSApplicationDelegate lifecycle, scene-based vs delegate-based app entry points, dependency injection. Use when structuring the architecture of a macOS app.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Swift Charts on macOS — all chart types (BarMark, LineMark, PointMark, AreaMark, RectangleMark, RuleMark), ChartProxy, selection, scrollableAxes, chartOverlay, annotations, dark mode colors, print-ready chart rendering, accessibility for charts. Use when creating data visualizations with Swift Charts on macOS.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Swift Codable on macOS — Codable, JSONDecoder/JSONEncoder, PropertyListDecoder, CodingKeys, custom encode/decode, NSCoding migration, NSKeyedArchiver bridge, NSUserDefaults Codable storage, NSDocument Codable model serialization. Use when serializing/deserializing data or migrating from NSCoding in macOS apps.
LaughingJackalope/macos-skills
Skill Claude CodeCodex
Swift concurrency for macOS — actors, @MainActor, Task/TaskGroup, AsyncStream, Sendable, strict concurrency migration, and AppKit bridging patterns (DispatchQueue, NSRunLoop, XPC service concurrency). Use when writing async Swift code that interacts with AppKit, daemons, or XPC services on macOS.