add-tauri-command - Add new Tauri command with backend-frontend integration
Adds a new Tauri command with entries in commands/, lib.rs and tauri-api.ts
Tags
Updated: 2026-03-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Read command directory structure
- Add Rust command function
- Register command in lib.rs
- Add TypeScript API function
Inputs
- Command name in snake_case
- Command description
- Existing Tauri codebase
- src-tauri/src/commands/ directory
Outputs
- Modified Rust command file
- Updated lib.rs with new command registration
- Updated TypeScript API file
- New command structure
Requirements
- Tauri project structure
- Rust development environment
- TypeScript/JavaScript project
- src-tauri/src/commands/ directory exists
