skills/tauri-skills/tauri-app-window-menu/SKILL.md
Create native application menus with keyboard shortcuts and event handlers in Tauri v2. Use when defining window menu bars, handling menu item click events, binding keyboard accelerators, or adapting menus for macOS/Windows/Linux conventions.
npx skillsauth add partme-ai/full-stack-skills tauri-app-window-menuInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
use tauri::menu::{Menu, Submenu, MenuItem, PredefinedMenuItem};
tauri::Builder::default()
.setup(|app| {
let file_menu = Submenu::with_items(app, "File", true, &[
&MenuItem::with_id(app, "new", "New", true, Some("CmdOrCtrl+N"))?,
&MenuItem::with_id(app, "open", "Open", true, Some("CmdOrCtrl+O"))?,
&PredefinedMenuItem::separator(app)?,
&MenuItem::with_id(app, "quit", "Quit", true, Some("CmdOrCtrl+Q"))?,
])?;
let menu = Menu::with_items(app, &[&file_menu])?;
app.set_menu(menu)?;
Ok(())
})
.on_menu_event(|app, event| match event.id.as_ref() {
"new" => { /* handle new */ }
"quit" => { app.exit(0); }
_ => {}
})
Some("CmdOrCtrl+N") formaton_menu_event callback with match on event IDstauri menu, window menu, menu bar, keyboard shortcut, accelerator, context menu
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.