# tauri-app-window-menu > Guidance for Tauri v2 window menu definition, event handling, and shortcuts. - Author: wandl-6A72h - Repository: partme-ai/tauri-skills - Version: 20260206195346 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/partme-ai/tauri-skills - Web: https://mule.run/skillshub/@@partme-ai/tauri-skills~tauri-app-window-menu:20260206195346 --- --- name: tauri-app-window-menu description: Guidance for Tauri v2 window menu definition, event handling, and shortcuts. license: Complete terms in LICENSE.txt --- ## When to use this skill **ALWAYS use this skill when the user mentions:** - Native window menus with shortcuts / 原生窗口菜单与快捷键 - Menu events and command handlers / 菜单事件与命令处理 - Platform-specific menu layouts / 平台菜单布局差异 **Trigger phrases include:** - "window menu", "shortcuts", "menu events", "command handlers" - "窗口菜单", "快捷键", "菜单事件", "命令处理" ## How to use this skill 1. Define menu structure and keyboard shortcuts 2. Separate command identifiers from event handlers 3. Handle platform-specific menu conventions 4. Test menu event routing and focus behavior ## Outputs - Menu layout and shortcut plan / 菜单布局与快捷键方案 - Event routing checklist / 事件路由清单 ## Scope - Boundary: Window menu definitions and event handling - Key points: Command/handler separation and testability ## References - https://v2.tauri.app/learn/window-menu/ - https://v2.tauri.app/zh-cn/learn/window-menu/ ## Keywords tauri menu, window menu, shortcuts, commands