AgentSkillsCN

tauri-workflow-expert

在 Tauri 特定开发模式、配置与安全方面拥有深厚的专业知识。

SKILL.md
--- frontmatter
name: tauri-workflow-expert
description: Deep expertise in Tauri-specific development patterns, configuration, and security.

Skill: Tauri Workflow Expert

This skill provides specialized knowledge for developing cross-platform applications using the Tauri framework.

🔑 Key Areas

  • Tauri Config: Managing tauri.conf.json, identifying required permissions (capabilities).
  • Rust/JS Bridge: Implementing #[tauri::command] and calling them via @tauri-apps/api/core.
  • System Integration: Safely handling FS and OS operations via the Rust backend.
  • Build & Distribution: Configuring build settings for Windows and other targets.

🛡️ Best Practices

  • Avoid exposing sensitive system APIs directly to the frontend.
  • Use strongly typed commands with TypeScript definitions.
  • Keep the Rust backend lean; delegate UI logic to React.