add-tauri-command - Add or update Tauri commands and IPC surfaces
Guide for adding, renaming, or changing Tauri command signatures and IPC surfaces between Rust core and React UI.
Tags
Updated: 2026-09-11Capabilities
What this skill does
- Add command to domain module
- Define command signature and error mapping
- Register command in generate_handler list
- Regenerate TypeScript IPC bindings
- Expose typed frontend IPC wrapper
- Write Rust and TypeScript tests
- Configure plugin capability permissions
Inputs
- Tauri command domain and signature
- AppState and channel parameters
- Plugin permissions
Outputs
- Domain command file
- Regenerated TypeScript IPC bindings file
- Typed IPC wrapper module
- Rust and TypeScript tests
- Tauri capability configuration file
Requirements
- Tauri framework
- Rust core with Specta support
- React and TypeScript frontend
- Just task runner
