tauri-bridge
CommunityChoose the right Tauri bridge path fast.
System Documentation
What problem does it solve?
This Skill prevents Tauri renderer ↔ Rust integration mistakes by guiding how to correctly add, type, and wire new API bindings so features work reliably across file I/O, dialogs, media, multi-window orchestration, and SQLite access.
Core Features & Use Cases
- Renderer-side vs Rust-backed decisioning: decide when a task can be done purely in TypeScript bindings versus when a native Rust command is required.
- Specta command lifecycle: cover annotating Rust Tauri commands with
#[tauri::command]and#[specta::specta], derivingspecta::Typefor all involved types, and registering commands sobindings.tsis regenerated. - Renderer polyfills and invoke/error conventions: implement renderer
api.*polyfills that call typedcommands.*, handle SpectaResult<T, String>envelopes safely, and follow the success/error object convention.
Quick Start
Update src/renderer/tauri-window-api.ts when the change can be expressed as pure TypeScript over the renderer DB shim, otherwise add a Rust #[tauri::command] with #[specta::specta] in src-tauri/ and regenerate src/renderer/bindings.ts before wiring a matching renderer polyfill.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: tauri-bridge Download link: https://github.com/jonaseck2/slaktforskning/archive/main.zip#tauri-bridge Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.