From tauri
Debug, test, or stabilize Tauri 2 apps, including Rust compile/runtime errors, frontend API mocks, permissions failures, dev/build mismatches, WebDriver, CI checks, logs, DevTools, and platform-specific test gaps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tauri:tauri-debug-testingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when a Tauri app fails to compile, launch, call native APIs,
Use this skill when a Tauri app fails to compile, launch, call native APIs, load frontend assets, pass tests, or behave consistently across dev/build.
Classify the failure before changing code:
Run:
python3 ../../scripts/tauri_project_probe.py .
cargo check --manifest-path src-tauri/Cargo.toml
cargo test --manifest-path src-tauri/Cargo.toml
pnpm test
pnpm build
pnpm tauri dev
pnpm tauri build
Use the package manager and scripts detected in the repo.
Use @tauri-apps/api/mocks for frontend unit tests around wrappers:
import { mockIPC, clearMocks } from "@tauri-apps/api/mocks";
import { afterEach, expect, it } from "vitest";
import { invoke } from "@tauri-apps/api/core";
afterEach(() => clearMocks());
it("mocks a command", async () => {
mockIPC((cmd, args) => {
if (cmd === "add") return Number(args.a) + Number(args.b);
throw new Error(`unexpected command: ${cmd}`);
});
await expect(invoke("add", { a: 2, b: 3 })).resolves.toBe(5);
});
Use WebDriver when the native shell is part of the risk: windows, dialogs, menus, permissions, packaged launch, or cross-process UI flows. Tauri WebDriver coverage is practical on Linux and Windows; macOS WKWebView has tooling limits, so use other proof there.
npx claudepluginhub xopoko/plug-n-skills --plugin tauriProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.