home / skills / busirocket / agents-skills / busirocket-tauri
This skill standardizes Tauri desktop app setup, guiding command creation, invoke handler registration, and structured Rust and SQL layouts for maintainability.
npx playbooks add skill busirocket/agents-skills --skill busirocket-tauriReview the files below or copy the command above to add this skill to your agents.
---
name: busirocket-tauri
description:
Tauri-specific standards for desktop apps. Use when creating Tauri commands,
configuring invoke handler and permissions, and applying Rust layout under
src-tauri.
metadata:
author: cristiandeluxe
version: "1.0.0"
---
# Tauri Standards
Tauri-specific conventions for desktop applications. Builds on `busirocket-rust`
for language and module rules.
## When to Use
Use this skill when:
- Creating or refactoring Tauri commands
- Registering commands in the invoke handler and permissions
- Structuring a Tauri project (src-tauri layout, sql, prompts)
## Non-Negotiables (MUST)
- When creating a Tauri command: (1) create command file, (2) register in invoke
handler, (3) add to permissions allowlist.
- Rust code lives under `src-tauri/src/`; apply `busirocket-rust` module layout
there (services, utils, models).
- SQL under `src-tauri/sql/<area>/`, prompts under `src-tauri/prompts/<area>/`.
## Rules
### Project Structure
- `tauri-project-structure` - Where Rust, SQL, and prompts live in a Tauri app
### Tauri Commands
- `tauri-commands-checklist` - Tauri commands checklist (MANDATORY)
## Related Skills
- `busirocket-rust` - Rust language, one-thing-per-file, boundaries, SQL/prompt
separation
- `busirocket-core-conventions` - General file structure principles
## How to Use
Read the rule files for Tauri-specific steps and paths:
```
rules/tauri-commands-checklist.md
rules/tauri-project-structure.md
```
Apply `busirocket-rust` for all Rust code inside `src-tauri/src/`.
This skill defines Tauri-specific standards for desktop applications, focusing on command creation, invoke handler registration, permissions, and Rust layout under src-tauri. It enforces file locations for Rust, SQL, and prompt assets and complements general Rust and core conventions. Follow these standards to keep Tauri projects consistent, auditable, and safe for desktop contexts.
The skill inspects project structure and provides explicit rules for where code and assets must live (src-tauri/src, src-tauri/sql, src-tauri/prompts). It mandates a checklist for creating Tauri commands: create a command file, register it in the invoke handler, and add it to the permissions allowlist. It also maps to related Rust and core conventions to ensure module layout and separation of concerns.
What are the three mandatory steps for adding a Tauri command?
Create a command file, register the command in the invoke handler, and add the command to the permissions allowlist.
Where should Rust code live in a Tauri project?
All Rust source must be under src-tauri/src/, following the busirocket-rust module layout (services, utils, models).