tauri

Cross-platform app toolkit with Rust backend and WebView frontend. Use when building or maintaining Tauri apps, configuring IPC/security, or developing plugins.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tauri" with this command: npx skills add hairyf/skills/hairyf-skills-tauri

Tauri lets you build desktop (and mobile) apps with a Rust Core process and a frontend running in the OS WebView. Use these skills when scaffolding projects, wiring commands and events, configuring capabilities and permissions, or authoring plugins.

The skill is based on Tauri v2, generated at 2026-01-30.

Core References

TopicDescriptionReference
ArchitectureCore crates, WRY/TAO, tooling, pluginscore-architecture
IPCEvents (fire-and-forget) vs Commands (invoke/response), when to use eachcore-ipc
Process ModelCore process vs WebView processes, security implicationscore-process-model
Project Structuresrc-tauri layout, tauri.conf.json, capabilities, build flowcore-project-structure
App SizeWhy small, Cargo release profile (LTO, strip, opt-level)concept-size
IPC PatternsBrownfield (default) vs Isolation (sandbox, encrypt)concept-ipc-patterns

Start

TopicDescriptionReference
Create Projectcreate-tauri-app vs tauri init, dev server URLstart-create-project
PrerequisitesSystem deps, Rust, Node, WebView2, mobile (Android/iOS)start-prerequisites
FrontendStatic host model, Vite/Next/Nuxt/SvelteKit/Leptos/Trunkstart-frontend
MigrateUpgrading from Tauri 1.x or 2 beta, migrate commandstart-migrate

Develop

TopicDescriptionReference
Configuration Filestauri.conf.json, platform overrides, Cargo.toml, package.jsondevelop-configuration-files
Commands#[tauri::command], invoke, args, errors, async, State, channelsdevelop-commands
Events and ChannelsEmit/listen, global vs webview-specific, streaming with Channeldevelop-events-and-channels
State Managementapp.manage(), State<T> in commands, Mutexdevelop-state-management
WindowsCreating windows (config vs WebviewWindowBuilder), label, url, visibledevelop-windows
Iconstauri icon command, bundle.icon, platform formatsdevelop-icons
ResourcesBundled resources, resolve path, $RESOURCE, fs permissionsdevelop-resources
SidecarexternalBin, shell plugin, spawn from Rust/JS, permissionsdevelop-sidecar
Debugdev vs build, Rust console, WebView devtools, RUST_BACKTRACEdevelop-debug
TestsMock runtime, WebDriver E2E, CIdevelop-tests
Tests MockingmockIPC, mockWindows, clearMocks (frontend tests)develop-tests-mocking
Tests WebDrivertauri-driver, platform drivers, Selenium/WebdriverIO, CIdevelop-tests-webdriver
Updating Dependenciesnpm/Cargo version sync, tauri and pluginsdevelop-updating-dependencies
Plugins MobileAndroid (Kotlin), iOS (Swift), desktop vs mobile impldevelop-plugins-mobile

Security

TopicDescriptionReference
CapabilitiesWhich permissions apply to which windows; capability files, remote, platformssecurity-capabilities
PermissionsAllow/deny commands, scopes, permission sets; plugin vs app permissionssecurity-permissions
Scopesallow/deny per command or global, path/URL patternssecurity-scope
CSPContent Security Policy config, script-src, style-srcsecurity-csp
HTTP HeadersCORS, COOP, Permissions-Policy for webview responsessecurity-http-headers
Runtime AuthorityCore enforces permissions on every invoke; denied = never runsecurity-runtime-authority

Best Practices

TopicDescriptionReference
Security LifecycleUpstream, development, build, runtime; deps, audit, dev serverbest-practices-security-lifecycle
Writing Plugin PermissionsAutogenerated allow/deny, permission files, default set, scope schemabest-practices-writing-plugin-permissions

Features

TopicDescriptionReference
PluginsPlugin development, lifecycle hooks, commands, permissions, statefeatures-plugins
Official Plugins Overviewdialog, fs, shell, store, updater, and others; when to use whichfeatures-official-plugins-overview
Deep LinkingCustom URL scheme, App/Universal Links, single-instance + argvfeatures-deep-linking
UpdaterIn-app updates — check, download, install, signing, static/dynamic endpointsfeatures-updater

Distribute

TopicDescriptionReference
Packagingbuild, bundle, installers (DMG, MSI, AppImage, etc.), signing overviewdistribute-packaging
SigningCode signing per platform (macOS, Windows, Linux, Android, iOS)distribute-signing
PipelinesGitHub Actions (tauri-action), CI signing, CrabNebula Clouddistribute-pipelines

Learn

TopicDescriptionReference
Menus and TrayWindow menu, system tray, Menu/TrayIcon, predefined itemslearn-windows-menus-tray
Window CustomizationCustom titlebar, decorations, data-tauri-drag-region, transparent (macOS)learn-window-customization
SplashscreenExtra window, visible/hidden main, setup tasks, close when readylearn-splashscreen
Sidecar Node.jsNode app as binary (pkg), externalBin, shell pluginlearn-sidecar-nodejs
Using Plugin PermissionsAdd plugin, capability, allow commands, default permissionslearn-using-plugin-permissions
Capabilities per Window/PlatformDifferent capabilities per window; platforms arraylearn-capabilities-windows-platforms

Reference

TopicDescriptionReference
CLIdev, build, icon, init, migrate, bundlereference-cli
Environment VariablesCI, config depth, signing, Apple/Windows/Linux, hook envreference-environment-variables
WebView VersionsWebView2 (Windows), WKWebView (macOS/iOS), WebKitGTK (Linux)reference-webview-versions
Core Permissions (ACL)core:default, app, event, window, path, menu, tray, resourcesreference-acl-core-permissions

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

tailwindcss

No summary provided by upstream source.

Repository SourceNeeds Review
754-hairyf
General

hairy-utils

No summary provided by upstream source.

Repository SourceNeeds Review
689-hairyf
General

react-use

No summary provided by upstream source.

Repository SourceNeeds Review
503-hairyf
General

motion

No summary provided by upstream source.

Repository SourceNeeds Review
487-hairyf