Agent Skill
2/7/2026tauri-desktop-app
Guidelines and workflows for building, reviewing, and securing Tauri desktop apps (React/Vite frontends). Use when implementing Tauri IPC commands, native API access, file system or dialog integration, window/menu/tray behavior, permissions/allowlist/CSP, app lifecycle, auto-updater, or packaging/release tasks.
K
kahojyun
0GitHub Stars
1Views
npx skills add kahojyun/react-template
SKILL.md
| Name | tauri-desktop-app |
| Description | Guidelines and workflows for building, reviewing, and securing Tauri desktop apps (React/Vite frontends). Use when implementing Tauri IPC commands, native API access, file system or dialog integration, window/menu/tray behavior, permissions/allowlist/CSP, app lifecycle, auto-updater, or packaging/release tasks. |
name: tauri-desktop-app description: Guidelines and workflows for building, reviewing, and securing Tauri desktop apps (React/Vite frontends). Use when implementing Tauri IPC commands, native API access, file system or dialog integration, window/menu/tray behavior, permissions/allowlist/CSP, app lifecycle, auto-updater, or packaging/release tasks.
Tauri Desktop App
Overview
Use this skill to design and implement Tauri desktop features safely and consistently, with a focus on IPC boundaries, permission scoping, and production readiness.
Quick Triage
- IPC, Rust commands, native APIs, file system access, or CSP: read
references/tauri-security-and-ipc.md. - Windows, menus, tray, deep links, updater, or packaging: read
references/tauri-app-features.md.
Workflow
- Classify the request: frontend-only or needs a Rust command.
- Define the security surface: permissions/allowlist, input validation, and least-privilege APIs.
- Implement the Rust command and frontend wrapper with typed payloads and explicit errors.
- Integrate UX behavior (window, menu, tray, shortcuts) and persistence.
- Update config/build settings for production, packaging, and updater.
Conventions
- Keep IPC small and explicit. Prefer a few narrow commands over a broad generic bridge.
- Validate all inputs in Rust. Treat frontend data as untrusted.
- Keep a single frontend entry module for native calls (example:
src/lib/tauri.ts). - For file operations, constrain to user-selected paths and validate path traversal.
Example Triggers
- "Add a file-open dialog and read a file"
- "Expose a Rust command for database access"
- "Add a tray icon with a menu"
- "Package for macOS/Windows and enable auto-updater"
References
references/tauri-security-and-ipc.mdreferences/tauri-app-features.md
Skills Info
Original Name:tauri-desktop-appAuthor:kahojyun
Download