GitHub

/native-menus

Native Menus

App menu, Edit menu, context menus and tray, the way each OS expects them.

npx skills@latest add agmmnn/desktop-feel --skill native-menus

Tauri, Electron · 6 rules · Updated November 28, 2026

What it does

  • ⌘C / ⌘V / ⌘A stopped working. Edit menu with predefined items NM-01
  • No About, Settings, Hide or Quit on macOS. Standard app menu NM-02
  • Right-click menus look different across the app. One context menu strategy NM-03
  • "Delete" sits between "Rename" and "Duplicate". Destructive items last NM-04
  • Menu says ⌘K, the app listens for ⌘J. Accelerator is the handler NM-05
  • Colored tray icon on the macOS menu bar. Template image NM-06

When to use it

When you add or change a menu, add right-click actions or a tray icon, or copy and paste stop working.

Example prompts

You don’t need special wording. Describe the problem the way you’d describe it to a teammate.

  • /native-menus ⌘C stopped working after I added an app menu
  • /native-menus add a right-click menu to the project list

Rules

Each rule has a stable ID. Review and audit output link back here.

NM-01Keep the Edit menu

Every custom menu on macOS includes an Edit submenu with Undo, Redo, separator, Cut, Copy, Paste, Select All as predefined items. Verify on macOS: copy and paste in a text field after the change.

Look for
custom menu without Cut/Copy/Paste/Select All predefined items
Verify on
macOS
Severity
High

NM-02Standard macOS app menu

App menu (named after the app): About, separator, Settings… (⌘,), separator, Services, separator, Hide, Hide Others, Show All, separator, Quit. Then File, Edit, View, Window, Help as the app needs. Windows and Linux have no app menu; Settings goes in File or a visible control (PC-02).

Look for
macOS app menu missing standard items
Verify on
macOS
Severity
Low

NM-03Native or web context menus — decide once

Native vs web context menu is a deliberate choice.

Look for
mixed: native in some places, web in others, for the same kind of target
Verify on
each OS
Severity
Low

NM-04Destructive items last

Delete/Remove/Move to Trash go at the bottom, after a separator. Name the object ("Delete Project…"); add "…" when a confirmation follows.

Look for
Delete/Remove in the middle of a menu
Verify on
code
Severity
Low

NM-05Accelerators match handlers

Register the shortcut once, on the menu item, and route its click to the same command the UI button calls. Labels then match behavior by construction.

Look for
accelerator in menu and a separate keydown handler with a different key
Verify on
code
Severity
Low

NM-06macOS tray icons are templates

Menu bar icons on macOS are monochrome template images that the OS tints for light/dark and highlight. A colored icon looks foreign. Provide a black-on-transparent 16–18pt icon (with @2x) and mark it as a template.

Look for
colored tray icon on macOS
Verify on
macOS
Severity
Low

Read the full skill on GitHub