LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

add-tauri-command - Add new Tauri Command to storage analysis app

Adds a new Tauri Command with entries in commands/, lib.rs and tauri-api.ts

Tags

Updated: 2026-03-09

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • create command function in cmd_*.rs
  • register command in lib.rs
  • add typed export in tauri-api.ts
  • enforce security rules
  • apply naming conventions

Inputs

  • command name in snake_case
  • command description
  • src-tauri/src/commands/ directory
  • src-tauri/src/commands/mod.rs file
  • src-tauri/src/lib.rs file
  • src/api/tauri-api.ts file

Outputs

  • Rust command function in cmd_*.rs module
  • TypeScript function in tauri-api.ts
  • Command registration in lib.rs
  • Command re-export in mod.rs

Requirements

  • Tauri project structure
  • Rust programming environment
  • PowerShell escaping
  • Security parameter validation
  • TypeScript/JavaScript environment

Source

  • Spec: SKILL.md
tauri
rust
command
api
integration
create command function in cmd_*.rs
register command in lib.rs
add typed export in tauri-api.ts
enforce security rules
command name in snake_case
command description
src-tauri/src/commands/ directory
Rust command function in cmd_*.rs module
TypeScript function in tauri-api.ts
Command registration in lib.rs