tauri

Routes Tauri v2 development requests to sub-skills covering plugins, commands, and configuration.

Updated Sep 3, 2024
One-click install
npx skills add https://github.com/eminboydak/duckTerm --skill tauri-eminboydak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tauri
Source: https://github.com/eminboydak/duckTerm/tree/main/.agents/skills/tauri
Command: npx skills add https://github.com/eminboydak/duckTerm --skill tauri-eminboydak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Developers building cross-platform desktop and mobile apps with Tauri v2 often struggle to find the right plugin, permission configuration, or API pattern without searching scattered online documentation. This Skill acts as a central index that routes any Tauri-related request to the correct specialized sub-skill with local, offline-ready examples and templates. ## Core Features & Use Cases - Sub-skill Routing: Maps user intent to 25+ specialized sub-skills covering setup, window management, system tray, dialogs, SQL, HTTP, WebSocket, updater, deep linking, and mobile development. - Local Examples & Templates: Provides offline guides for architecture, commands, events, filesystem, configuration, and CLI usage, plus templates for tauri.conf.json, commands, events, and windows. - Tauri v2 Ready: All content targets Tauri 2.0+ including the capabilities and permissions model, with Chinese-language documentation support. - Use Case: When asked to add a system tray icon to a Tauri app, the Skill routes to tauri-app-system-tray, whose local examples and capability templates show the exact plugin setup and permission JSON. ## Quick Start Ask the assistant to help with any Tauri task, such as setting up a new Tauri v2 project or adding a specific plugin like notifications or SQL, and it will route to the right sub-skill.

Frequently Asked Questions about tauri

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a new Tauri v2 project?

Install Node.js 16+ and Rust, then run npm create tauri-app or cargo tauri init to scaffold a project. Platform dependencies are required: Xcode tools on macOS, WebView2 and C++ Build Tools on Windows, and webkit2gtk packages on Linux.

How do I call Rust backend code from a Tauri frontend?

Define a function with the #[tauri::command] attribute in Rust, register it in the Tauri builder, then call it from the frontend using invoke from @tauri-apps/api. Keep command inputs small, validated, and serializable.

Does Tauri v2 support mobile development?

Yes, Tauri 2.0 supports Android and iOS in addition to Linux, macOS, and Windows from a single codebase. The tauri-mobile sub-skill covers platform-specific development, including Swift and Kotlin extensions.

How do Tauri v2 capabilities and permissions work?

Tauri v2 uses a capabilities system where each plugin feature requires explicit permission declarations in configuration files. Sub-skills provide templates/capabilities.json examples showing the exact permission scopes needed for plugins like filesystem or dialog.

What plugins are available for Tauri v2?

The index covers plugins for filesystem, dialog, notification, clipboard, SQL databases, HTTP client, WebSocket, global shortcuts, autostart, biometric auth, system tray, window state, updater, and deep linking, each with a dedicated sub-skill.