tauri-v2
Tauri v2+ cross-platform app development with Rust backend. Use when configuring tauri.conf.json, implementing Rust commands (#[tauri::command]), setting up IPC patterns (invoke, emit, channels), configuring permissions/capabilities, troubleshooting build issues, or deploying desktop/mobile apps. Triggers on Tauri, src-tauri, invoke, emit, capabilities.json.
Security Assessment
Detected risks:
About tauri-v2
The Tauri v2 skill facilitates cross-platform application development by leveraging a Rust backend, allowing developers to create desktop and mobile applications with web frontends. This skill addresses common pitfalls encountered during the configuration of the tauri.conf.json file, implementation of Rust commands, and setup of inter-process communication (IPC) patterns. By streamlining these processes, the skill significantly reduces setup time and minimizes the occurrence of common errors, making it an essential tool for developers working with Tauri.
FAQ
What are the main benefits of using the Tauri v2 skill?
The skill prevents common errors, reduces setup time from approximately 2 hours to around 30 minutes, and lowers token usage by providing direct patterns.
Is the Tauri v2 skill compatible with mobile app development?
Yes, the skill is designed to support mobile app development, ensuring that all necessary configurations and commands are compatible with mobile targets.
What are the critical rules to follow when using this skill?
Always register commands in generate_handler!, return Result<T, E> for error handling, and use Mutex<T> for shared state. Avoid using borrowed types in async commands and ensure all operations have the required permissions.
Can I use borrowed types in async commands?
No, you should use owned types instead of borrowed types in async commands to avoid compile errors.
What happens if I skip capability setup?
Skipping capability setup can lead to permission denied errors, as Tauri v2 denies all operations by default.
All Files
8 filesInstall tauri-v2
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
nodnarbnitram/claude-code-extensions