1. Habit
  2. Skills
  3. Tauri v2 skill
nodnarbnitram · 8K installs

Tauri v2 skill
Runs by itself, src-tauri changed.

Tauri commands and permissions stay wired.

Install the Tauri v2 skill and make it a habit: follow https://gethabit.dev/skills/nodnarbnitram/tauri-v2.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

8K installs16 starsMIT licenceSource on GitHub ↗

Tauri v2

by nodnarbnitram · 8K installs

The skill

Tauri v2 helps you build cross-platform desktop and mobile apps with a Rust backend: commands, IPC with invoke, emit and channels, capabilities and permissions, config and troubleshooting.

Only when you ask.

The habit

Tauri commands and permissions stay wired.

↻ Runs by itselfsrc-tauri changed

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one pass over the project, with at most two build retries.

  1. 01

    Check versions

    Run npx tauri info and confirm v2 packages.

  2. 02

    Check capabilities

    Make sure capabilities/default.json has core:default and each plugin's permission string.

  3. 03

    Check commands

    Confirm every command is in generate_handler! and async commands use owned types.

  4. 04

    Check structure

    Keep main.rs thin and all logic in lib.rs with the mobile entry point.

  5. 05

    Check config

    Confirm devUrl matches the dev server and beforeDevCommand runs it.

  6. 06

    Build and log

    Build the app, fix what fails and log each fix.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Tauri v2 skill helps.

Use it when

  • ✓ adding a Rust command
  • ✓ a permission denied error
  • ✓ setting up tauri.conf.json

Skip it when

  • – you use Tauri v1
  • – you build a pure web app

Questions

Tauri v2 skill, answered.

Does it cover mobile builds?

It checks the lib.rs split and points to rustup target add for missing Rust targets.

Why check permissions every time?

Tauri v2 denies everything by default, so a new plugin without its permission fails quietly.

How do I install the Tauri v2 skill?

Copy the prompt at the top into your agent. It installs the skill from nodnarbnitram/claude-code-extensions and sets up the habit. Or run npx skills add nodnarbnitram/claude-code-extensions --skill tauri-v2.

Is the Tauri v2 skill free?

Yes. It is published under MIT. Habit is free too.

Tauri v2. Now as a habit.

Install the Tauri v2 skill and make it a habit: follow https://gethabit.dev/skills/nodnarbnitram/tauri-v2.md

  • Free
  • No account
  • Undo in one line

All nodnarbnitram skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by nodnarbnitram, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.