contextual-menu
Installation
SKILL.md
Contextual Menus
Types
| Type | Trigger | Use |
|---|---|---|
| Context menu | Right-click (desktop) | File operations, editing actions |
| Action menu | Click on ⋮ or ⋯ icon | Item-level actions |
| Dropdown menu | Click on button | Navigation, options |
| Command menu | Keyboard shortcut (Cmd+K) | Global search and actions |
Design Rules
- Group related actions with dividers
- Show keyboard shortcuts aligned right
- Destructive actions at bottom, visually distinct (red text)
- Max 10-12 items before grouping or restructuring
- Disabled items: show but gray out (don't hide)
- Icons optional but helpful for scanning