From partme-ai-full-stack-skills
Creates and manages system tray icons with menus and click handlers in Tauri v2, handling macOS, Windows, and Linux differences. Use for tray setup, menu events, visibility toggling, and platform conventions.
npx claudepluginhub partme-ai/full-stack-skills --plugin t2ui-skillsThis skill uses the workspace's default tool permissions.
**ALWAYS use this skill when the user mentions:**
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
use tauri::{tray::TrayIconBuilder, menu::{Menu, MenuItem}};
tauri::Builder::default()
.setup(|app| {
let show = MenuItem::with_id(app, "show", "Show", true, None::<&str>)?;
let quit = MenuItem::with_id(app, "quit", "Quit", true, None::<&str>)?;
let menu = Menu::with_items(app, &[&show, &quit])?;
TrayIconBuilder::new()
.icon(app.default_window_icon().unwrap().clone())
.menu(&menu)
.on_menu_event(|app, event| match event.id.as_ref() {
"show" => { app.get_webview_window("main").unwrap().show().unwrap(); }
"quit" => { app.exit(0); }
_ => {}
})
.build(app)?;
Ok(())
})
src-tauri/capabilities/default.json:
{ "permissions": ["core:default", "tray:default"] }
tauri system tray, tray icon, tray menu, status bar, minimize to tray