Rust tauri apps
Implicit Rust Tauri v2 skill. Use for Tauri apps, Rust commands, invoke contracts, app state, plugins, capabilities and permissions, secure IPC, filesystem and shell access, sidecars, updater, bundling, desktop and mobile distribution, and Rust frontend bridge design.From its SKILL.md
npx -y skills add BjornMelin/dev-skills --skill rust-tauri-appsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.6 KB, 486 tokens by cl100k_base, as published. Nobody here has run it
Rust Tauri Apps
Build Tauri v2 applications with small Rust command surfaces, secure capabilities, explicit IPC contracts, and maintainable distribution workflows.
Operating Model
- Inspect the Tauri version and generated structure first:
src-tauri,tauri.conf.json, capabilities, permissions, plugins, frontend invocation code, and CI/release scripts. - Treat every command as a public bridge contract. Validate input, return typed serializable results, and keep filesystem/shell/network capabilities narrow.
- Prefer app-owned Rust services behind commands. Do not put large domain logic directly in
#[tauri::command]functions. - Keep the capability model least-privilege by default. Avoid broad filesystem, shell, opener, and dialog permissions unless the user workflow truly needs them.
- Coordinate with the general
tauri-v2skill when available for framework-specific current docs; use this skill for Rust architecture, security, testing, and command design.
Reference Map
references/tauri-v2-rust-backend.mdfor command/state/plugin architecture and typed IPC.references/capabilities-security.mdfor permissions, filesystem/shell risk, secrets, updater, and secure defaults.references/distribution-mobile.mdfor bundling, updater, sidecars, signing, desktop/mobile packaging, and release checks.
Defaults
- Keep commands async only when they await I/O. Do CPU-heavy work off the main runtime.
- Use
serdeDTOs at the IPC boundary and convert to domain types inside services. - Use
tauri::Statefor shared app services with clear ownership; avoid global mutable statics. - Use plugin APIs instead of hand-rolled platform code when mature official plugins cover the use case.
- Keep frontend-originated paths, URLs, and shell arguments untrusted until validated.
Verification
Use repo-native checks first, then add Tauri-specific validation:
cargo fmt --all --check
cargo test --manifest-path src-tauri/Cargo.toml --all-targets
cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets --all-features -- -D warnings
For command changes, add Rust tests around service behavior and frontend tests or contract fixtures for IPC shapes when the app already has a frontend test lane.
What ships with it: 5 files
5.4 KB alongside SKILL.md
agents/
- openai.yaml335 B
assets/
- trigger-evals.json1.0 KB
references/
- capabilities-security.md1.4 KB
- distribution-mobile.md1.1 KB
- tauri-v2-rust-backend.md1.5 KB