SuperAPI AI Directory

tauri

Coding & development

View repository

Updated 11-05 19:01

About this skill

Tauri v2

Target version

Tauri v2. Version pins are as follows.

  • tauri crate 2.12.4
  • @tauri-apps/api 2.12.4
  • @tauri-apps/cli 2.12.3
  • Official documentation: the v2 branch of tauri-docs, commit 32f68c5
  • Official plugins: each v2 tag of plugins-workspace (the latest tag for each plugin. For tags, see the ## Notes Source line on each page)

Excluded: Tauri v3 alpha and Tauri v1.

Directory structure

For all pages in each category, see the index table in each README.md (only the main pages are listed below).

skills/tauri/
  SKILL.md
  references/
    getting-started/        # 概要・前提条件・プロジェクト作成・フロントエンド別ガイド・IPC・Process Model・v1/beta 移行
      README.md
      overview.md
      prerequisites.md
      create-project.md
      inter-process-communication.md
      process-model.md
      frontend-vite.md
      migrate-from-tauri-1.md
    develop/                # コマンド呼び出し・状態管理・sidecar・resources・プラグイン開発・デバッグ・テスト・WebDriver
      README.md
      calling-rust.md
      calling-frontend.md
      state-management.md
      sidecar.md
      plugin-development.md
      mobile-plugin-development.md
      mocking.md
      webdriver-overview.md
    security/               # capabilities / permissions / scope / runtime authority / CSP / ACL スキーマ
      README.md
      capabilities.md
      permissions.md
      scope.md
      runtime-authority.md
      csp.md
      core-permissions.md
    config/                 # tauri.conf.json の各設定オブジェクト
      README.md
      overview.md
      app-config.md
      build-config.md
      bundle-config.md
      window-config.md
      security-config.md
    cli/                    # tauri CLI サブコマンド
      README.md
      dev.md
      build.md
      bundle.md
      android.md
      ios.md
      plugin.md
      signer.md
    rust-api/               # tauri crate の Rust API
      README.md
      crate-overview.md
      builder.md
      app-handle.md
      command-macros.md
      manager.md
      state.md
      events.md
      plugin-builder.md
      webview-window.md
    js-api/                 # @tauri-apps/api
      README.md
      overview.md
      core.md
      event.md
      window.md
      webview-window.md
      menu.md
      tray.md
      path.md
    plugins-core/           # 公式コアプラグイン(ガイド): fs / http / shell / sql / store / log など
      README.md
      overview.md
      file-system.md
      shell.md
      sql.md
      store.md
    plugin-js-api-core/     # 同 JS API (@tauri-apps/plugin-*)
      README.md
      fs.md
      http.md
      shell.md
      sql.md
      store.md
    plugins-app/            # アプリ機能プラグイン(ガイド): dialog / updater / notification / deep-link / モバイル系など
      README.md
      dialog.md
      updater.md
      notification.md
      deep-linking.md
      global-shortcut.md
      window-state.md
    plugin-js-api-app/      # 同 JS API (@tauri-apps/plugin-*)
      README.md
      dialog.md
      updater.md
      notification.md
      deep-link.md
      clipboard-manager.md
    distribute/             # バンドル形式・署名・ストア・CI 配布
      README.md
      overview.md
      windows-installer.md
      dmg.md
      appimage.md
      sign-macos.md
      sign-windows.md
      app-store.md
      pipelines-github.md
  samples/
    README.md
    command-with-state-and-channel.md
    system-tray.md
    window-menu.md
    updater-check-install.md
    capabilities-for-windows-and-platforms.md
    webdriver-webdriverio.md
    github-actions-release.md
  scripts/
    README.md
    prerequisites.md
    create-project.md
    dev-build.md
    mobile.md
    plugins-permissions.md
    icons-signer.md
    distribute.md
    info-migrate.md

Exploration procedure

Determine the category from the task, and identify the target page in the category's README.md.

  1. Find the category corresponding to the task in the mapping table below
  2. Refer to that category's references/{category}/README.md(or the samples/ scripts/ README.md) to identify the target page
  3. Read the target page's .md to check the details
  4. For the Rust-side API, consult rust-api; for the frontend-side API, consult js-api or plugin-js-api-*; for plugin installation, configuration, and permissions, consult the guide's plugins-core / plugins-app pull

Task → Category mapping

Task Category Reference README
Want to learn about Tauri's overview, architecture, prerequisites, and project creation getting-started references/getting-started/README.md
Want to configure frontends such as Vite / Next.js / SvelteKit / Leptos getting-started references/getting-started/README.md
Want to learn about IPC, the Process Model, the Isolation Pattern, and migration from v1 / beta getting-started references/getting-started/README.md
Want to call Rust commands from the frontend (invoke / Channel) develop references/develop/README.md
State management, sidecar, resources, icons, plugin development, debugging, testing, WebDriver develop references/develop/README.md
Want to configure capabilities / permissions / scope (ACL) security references/security/README.md
Want to check CSP, asset protocol, HTTP headers, and core permissions security references/security/README.md
window / bundle / build / app / security settings in tauri.conf.json config references/config/README.md
Options for the tauri dev / build / bundle / android / ios / icon / signer / plugin commands cli references/cli/README.md
Rust Builder, App, AppHandle, Manager, State, events, menu, tray rust-api references/rust-api/README.md
#[command] / generate_handler! / IPC Channel / plugin builder rust-api references/rust-api/README.md
@tauri-apps/api の core / event / window / webview / menu / tray / path js-api references/js-api/README.md
Installation and configuration of the fs / http / shell / sql / store / log / opener / os / process plugins plugins-core references/plugins-core/README.md
JS function signatures of core plugins (cli / fs / http / log / opener / os / process / shell / sql / store / stronghold / upload / websocket) (@tauri-apps/plugin-*) plugin-js-api-core references/plugin-js-api-core/README.md
Installation and configuration of dialog / updater / notification / deep-link / global-shortcut / window-state / mobile-related plugins plugins-app references/plugins-app/README.md
JS function signatures for app feature plugins (autostart / barcode-scanner / biometric / clipboard-manager / deep-link / dialog / geolocation / global-shortcut / haptics / nfc / notification / positioner / updater / window-state) (@tauri-apps/plugin-*) plugin-js-api-app references/plugin-js-api-app/README.md
Signing, MSI / NSIS / DMG / AppImage / deb / rpm, each store, CI distribution distribute references/distribute/README.md
Want to know typical usage samples samples/README.md
Want to know installation and CLI commands scripts scripts/README.md