Assists with building lightweight cross-platform desktop (and mobile) applications using Tauri. Use when creating small, fast, secure apps with a web frontend and Rust backend that use the system webview instead of bundling Chromium. Trigger words: tauri, rust desktop, system webview, tauri commands, tauri plugins.
Tauri is a framework for building cross-platform desktop and mobile applications using any web framework for the frontend and Rust for the backend. By using the system webview instead of bundling Chromium, Tauri produces binaries under 10MB with 30-80MB memory usage, featuring capability-based security, type-safe IPC commands, and a plugin ecosystem for native APIs.
#[tauri::command] for request-response patterns (called via invoke() from JS), and use events for push-style communication from backend to frontend.@tauri-apps/plugin-fs, @tauri-apps/plugin-dialog, @tauri-apps/plugin-shell, @tauri-apps/plugin-notification) and define allowed capabilities in the capabilities/ directory.cargo tauri build to produce platform-specific installers (NSIS/MSI for Windows, DMG for macOS, AppImage/deb for Linux) with code signing and notarization.@tauri-apps/plugin-updater with GitHub Releases or a custom server, with signature verification to prevent tampering.User request: "Create a Tauri note-taking app with local file storage and encryption"
Actions:
aes-gcm crate@tauri-apps/plugin-store for app settings and @tauri-apps/plugin-dialog for file dialogsOutput: A lightweight note-taking app with encrypted local storage and native file dialogs, under 10MB.
User request: "Create a desktop app that shows CPU, memory, and disk usage in real time"
Actions:
sysinfo crate to collect system metrics@tauri-apps/plugin-trayOutput: A real-time system monitor with tray icon, using under 50MB of memory.
capabilities/ following the principle of least privilege.tauri::State<Mutex<T>> for shared mutable state since Rust enforces thread safety.@tauri-apps/plugin-store over localStorage for persistent data since it survives app updates.Result<T, String> so error messages surface as rejected promises in JS.npx skills add TerminalSkills/tauri下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer