Optimize Tauri backend architecture and development ergonomics for Tauri 2 apps, especially Rust restart pain, oversized src-tauri/src/lib.rs files, excessive #[tauri::command] surfaces, stringly invoke APIs, long IPC streams, and dev-state recovery. Use when the user asks about Tauri hot reload, Rust-side restarts, "lib.rs 太大", "commands 太多", "降低到 100 个以内", "Tauri 后端优化", "optimize-tauri-backend", "Tauri backend refactor", or "Tauri dev reload".
$npx -y skills add lovstudio/dev-skills --skill optimize-tauri-backendInstalls into the current project.
Run `npx skills use "https://github.com/lovstudio/dev-skills" --skill "lovstudio/dev-skills/optimize-tauri-backend"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lovstudio/dev-skills" that are relevant to the current task. Run `npx skills add "https://github.com/lovstudio/dev-skills"` and select the relevant skills, then follow their instructions.