macos-menus-commands

Community

Build and customize macOS menus, shortcuts, and dock integrations.

AuthorLaughingJackalope
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the difficulty of implementing native, production-quality macOS menu systems in SwiftUI apps, where built-in menu APIs are limited and AppKit interop is often required for advanced features.

Core Features & Use Cases

  • SwiftUI Menu Bar Customization: Build custom top-level menus, reorder built-in menu groups, and assign conflict-free keyboard shortcuts using .commands, CommandMenu, and CommandGroup.
  • Context & System Menus: Implement right-click context menus, dynamic dock menus, and system Services menu integration for seamless macOS user experience.
  • AppKit Interop Patterns: Use the NSMenu escape hatch for advanced dynamic menu items, menu validation, and first-responder routing when SwiftUI's APIs are insufficient.
  • Use Case: A macOS note-taking app can use this Skill to add a custom "Notes" top-level menu, assign keyboard shortcuts for quick note creation, implement a context menu for note actions, and add a dock menu that shows recent notes when right-clicking the app icon.

Quick Start

Use the macos-menus-commands skill to add a custom top-level menu with a keyboard shortcut to your macOS SwiftUI app's menu bar.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: macos-menus-commands
Download link: https://github.com/LaughingJackalope/macos-skills/archive/main.zip#macos-menus-commands

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.