tauri
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "tauri" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c78897022381043520080361497cb6e21bc609a9bbe11f943a0d6957917e0c61. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Assist in building lightweight cross-platform desktop and mobile apps with Tauri. Suitable for creating small, fast, secure apps with a web-based frontend, a Rust backend, and using the system WebView instead of bundled Chromium. Example trigger terms: tauri, rust desktop, system webview, tauri commands, tauri plugins.
Introduction source: third_party · TerminalSkills · 1.0.0 Reference
SkillPi interpretation
- Testing
- Not tested
Browse files
Frontmatter
name: tauri
description: >-
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.
license: Apache-2.0
compatibility: "Requires Rust toolchain and Node.js 18+"
metadata:
author: terminal-skills
version: "1.0.0"
category: development
tags: ["tauri", "desktop", "rust", "cross-platform", "webview"]Tauri
Overview
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.
Instructions
- When setting up the architecture, build the UI with any web framework (React, Vue, Svelte, Solid) rendered in the system webview, and implement system access and heavy computation in Rust backend commands.
- When implementing IPC, define Rust functions with
#[tauri::command]for request-response patterns (called viainvoke()from JS), and use events for push-style communication from backend to frontend. - When accessing native APIs, use Tauri plugins (
@tauri-apps/plugin-fs,@tauri-apps/plugin-dialog,@tauri-apps/plugin-shell,@tauri-apps/plugin-notification) and define allowed capabilities in thecapabilities/directory. - When managing security, define capability-based permissions to restrict which APIs the frontend can access, set CSP headers, and use the isolation pattern for sandboxed environments.
- When building for distribution, use
cargo tauri buildto produce platform-specific installers (NSIS/MSI for Windows, DMG for macOS, AppImage/deb for Linux) with code signing and notarization. - When implementing auto-updates, use
@tauri-apps/plugin-updaterwith GitHub Releases or a custom server, with signature verification to prevent tampering.
Examples
Example 1: Build a note-taking app with encrypted local storage
User request: "Create a Tauri note-taking app with local file storage and encryption"
Actions:
- Set up a Svelte frontend with the Tauri project scaffolding
- Implement Rust commands for reading, writing, and encrypting note files using the
aes-gcmcrate - Use
@tauri-apps/plugin-storefor app settings and@tauri-apps/plugin-dialogfor file dialogs - Configure capability permissions to allow only the required file system paths
Output: A lightweight note-taking app with encrypted local storage and native file dialogs, under 10MB.
Example 2: Build a system monitoring dashboard
User request: "Create a desktop app that shows CPU, memory, and disk usage in real time"
Actions:
- Define Rust commands using the
sysinfocrate to collect system metrics - Use Tauri events to push metric updates from backend to frontend every second
- Build a React dashboard with real-time charts displaying CPU, memory, and disk usage
- Add system tray icon with quick-view menu using
@tauri-apps/plugin-tray
Output: A real-time system monitor with tray icon, using under 50MB of memory.
Guidelines
- Use commands for request-response patterns and events for push notifications; do not mix them.
- Define all allowed APIs in
capabilities/following the principle of least privilege. - Use
tauri::State<Mutex<T>>for shared mutable state since Rust enforces thread safety. - Use
@tauri-apps/plugin-storeoverlocalStoragefor persistent data since it survives app updates. - Handle errors in Rust with
Result<T, String>so error messages surface as rejected promises in JS. - Keep the frontend framework-agnostic since Tauri works with any web framework.
- Use the auto-updater with signature verification for production apps.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Tauri 框架开发指导覆盖完整生命周期,从架构设计到构建分发
- 提供加密存储、系统监控等高质量端到端示例,实用性强
- 适用于高频刚需的跨平台桌面应用开发场景
Highlights
- 触发词覆盖全面且边界清晰,有效区分其他桌面开发工具
- description 位置正确,内容完整无截断
Highlights
- 文档结构清晰,包含完整的使用指南和最佳实践
- 提供两个详实的端到端示例,frontmatter 完整规范
Highlights
- 工具来源明确,参数使用正确,异常处理机制完善
- 能力权限控制确保安全,不可逆操作有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.