SKILL.md
Skill: Tauri Workflow Expert
This skill provides specialized knowledge for developing cross-platform applications using the Tauri framework.
🔑 Key Areas
- Tauri Config: Managing
tauri.conf.json, identifying required permissions (capabilities). - Rust/JS Bridge: Implementing
#[tauri::command]and calling them via@tauri-apps/api/core. - System Integration: Safely handling FS and OS operations via the Rust backend.
- Build & Distribution: Configuring build settings for Windows and other targets.
🛡️ Best Practices
- Avoid exposing sensitive system APIs directly to the frontend.
- Use strongly typed commands with TypeScript definitions.
- Keep the Rust backend lean; delegate UI logic to React.