add-tauri-command — community add-tauri-command, speicher-analyse, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Desktop Agents needing to extend Tauri command functionality in Electron desktop apps Speicher Analyse - Windows Festplattenanalyse und Systemoptimierung (Electron Desktop App)

haenel881988 haenel881988
[0]
[0]
Updated: 2/21/2026

Agent Capability Analysis

The add-tauri-command skill by haenel881988 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Desktop Agents needing to extend Tauri command functionality in Electron desktop apps

Core Value

Empowers agents to integrate custom commands into the Speicher Analyse app, leveraging Tauri's modular structure and Rust-based backend, with features like command re-exporting and system optimization

Capabilities Granted for add-tauri-command

Implementing custom disk health checks
Adding network analysis capabilities
Extending system optimization features

! Prerequisites & Limits

  • Requires knowledge of Rust and Tauri framework
  • Limited to Electron desktop apps
  • Needs access to src-tauri/src/commands/ module
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

add-tauri-command

Install add-tauri-command, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Tauri-Command hinzufügen

Du fügst einen neuen Tauri-Command zur Speicher Analyse App hinzu.

Argumente

  • $ARGUMENTS[0] = Command-Name in snake_case (z.B. get_disk_health)
  • $ARGUMENTS[1] = Beschreibung (optional)

Voranalyse

  1. Lies src-tauri/src/commands/ — das passende Modul (cmd_scan, cmd_files, cmd_network, cmd_privacy, cmd_system, cmd_terminal, cmd_misc) identifizieren
  2. Lies src-tauri/src/commands/mod.rs um die Re-Export-Struktur zu verstehen
  3. Lies src-tauri/src/lib.rs um die Command-Registrierung im generate_handler![] zu sehen
  4. Lies src/api/tauri-api.ts um die typisierte API-Bridge zu verstehen
  5. Prüfe ob ein ähnlicher Command bereits existiert

3 Dateien ändern

1. src-tauri/src/commands/cmd_*.rs — Command-Funktion

Im passenden Modul hinzufügen:

rust
1#[tauri::command] 2pub async fn command_name(param: String) -> Result<serde_json::Value, String> { 3 // SECURITY: Parameter für PowerShell escapen 4 let safe_param = param.replace("'", "''"); 5 6 let script = format!("Get-Something '{}'", safe_param); 7 let output = crate::ps::run_ps(&script).await?; 8 9 let json: serde_json::Value = serde_json::from_str(&output) 10 .map_err(|e| format!("JSON-Parse-Fehler: {}", e))?; 11 Ok(json) 12}

Security-Regeln (PFLICHT bei JEDEM Command):

  • PowerShell-Escaping: Alle String-Parameter die in format!() für PowerShell verwendet werden MÜSSEN mit .replace("'", "''") escaped werden
  • Pfad-Validierung: Pfade vom Frontend validieren (existiert? innerhalb erlaubter Verzeichnisse?)
  • Enum-Whitelist: Parameter mit festen Werten per match auf erlaubte Werte prüfen
  • IP-Validierung: IP-Adressen mit Regex validieren

Konventionen:

  • snake_case für Funktionsnamen
  • #[tauri::command] Attribut
  • Result<serde_json::Value, String> Rückgabetyp
  • Async für I/O-Operationen
  • PowerShell über crate::ps::run_ps() oder crate::ps::run_ps_json()

2. src-tauri/src/lib.rs — Command registrieren

rust
1.invoke_handler(tauri::generate_handler![ 2 // ... bestehende Commands ... 3 commands::command_name, // NEU 4])

3. src/api/tauri-api.ts — Typisierte Export-Funktion

typescript
1export const commandName = (param: string) => 2 invoke<ReturnType>('command_name', { param });

Benennungs-Konvention:

  • Rust-Command: snake_case (z.B. get_disk_health)
  • TypeScript-Funktion: camelCase (z.B. getDiskHealth)
  • Frontend-Import: import { getDiskHealth } from '../api/tauri-api'

Frontend-Aufruf (optional)

typescript
1// In src/views/SomeView.tsx 2import { commandName } from '../api/tauri-api'; 3import { useAppContext } from '../context/AppContext'; 4 5const { showToast } = useAppContext(); 6try { 7 const result = await commandName(arg); 8} catch (err: any) { 9 showToast('Fehler: ' + err.message, 'error'); 10}

Security-Checkliste (PFLICHT vor Commit)

  • Alle String-Parameter für PowerShell mit .replace("'", "''") escaped?
  • Pfade vom Frontend validiert?
  • Enum-Parameter per Whitelist/match geprüft?
  • IP-Adressen per Regex validiert?
  • Keine format!() mit unescaptem User-Input?

Häufige Fehler vermeiden

  • Command in cmd_*.rs definiert aber NICHT in mod.rs re-exportiert → Compile-Fehler
  • Command NICHT in lib.rs registriert → "unknown command"
  • camelCase in Rust → muss snake_case sein
  • TypeScript-Funktion mit falschem invoke-Namen → stille Fehler
  • Parameter in format!() ohne Escaping → Command Injection

Ausgabe

  • Rust-Command: commands::command_name (in welchem cmd_*.rs Modul)
  • TypeScript-Funktion: commandName() in src/api/tauri-api.ts
  • Parameter: Typen und Escaping-Status
  • Registrierung: In lib.rs + mod.rs eingetragen

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is add-tauri-command?

Perfect for Desktop Agents needing to extend Tauri command functionality in Electron desktop apps Speicher Analyse - Windows Festplattenanalyse und Systemoptimierung (Electron Desktop App)

How do I install add-tauri-command?

Run the command: npx killer-skills add haenel881988/speicher-analyse/add-tauri-command. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for add-tauri-command?

Key use cases include: Implementing custom disk health checks, Adding network analysis capabilities, Extending system optimization features.

Which IDEs are compatible with add-tauri-command?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for add-tauri-command?

Requires knowledge of Rust and Tauri framework. Limited to Electron desktop apps. Needs access to src-tauri/src/commands/ module.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add haenel881988/speicher-analyse/add-tauri-command. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use add-tauri-command immediately in the current project.

Related Skills

Looking for an alternative to add-tauri-command or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI