What problem does it solve?
This Skill provides essential patterns and best practices for building native macOS applications, addressing complexities in window management, menu bar integration, keyboard shortcuts, and platform-specific features.
Core Features & Use Cases
- Window Management: Implement
WindowGroup, Window, and DocumentGroup for flexible app structures.
- Menu Bar Customization: Utilize
CommandMenu and FocusedValue for dynamic menu items and actions.
- Input Handling: Define keyboard shortcuts and manage drag-and-drop operations.
- Platform Features: Integrate Settings panes,
MenuBarExtra apps, and understand App Sandbox requirements.
- Use Case: Develop a macOS application that requires custom menu bar items, handles file drag-and-drop, and presents a user-friendly settings interface.
Quick Start
Use the macos-patterns skill to implement a custom menu bar item that saves the currently focused document.