| name | tauri-project-setup |
| description | Initialize Tauri project with Rust backend and frontend framework integration |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
| tags | ["tauri","rust","cross-platform","webview","desktop"] |
| graph | {"domains":["domain:software-engineering"],"specializations":["specialization:desktop-development"],"skillAreas":["skill-area:desktop-ui-frameworks","skill-area:cross-platform-desktop"],"roles":["role:desktop-developer","role:fullstack-engineer"],"workflows":["workflow:feature-development","workflow:release-management"]} |
tauri-project-setup
Initialize Tauri project with Rust backend and frontend framework integration. This skill sets up secure, lightweight desktop applications using web technologies.
Capabilities
- Initialize Tauri project structure
- Configure Rust backend with commands
- Integrate React, Vue, Svelte, or SolidJS
- Set up tauri.conf.json configuration
- Configure window settings
- Set up auto-update
- Configure build for all platforms
- Set up plugin system
Input Schema
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"projectName": { "type": "string" },
"frontend": { "enum": ["react", "vue", "svelte", "solid", "vanilla"] },
"features": { "type": "array" }
},
"required": ["projectPath", "projectName"]
}
Generated Structure
my-tauri-app/
โโโ src/ # Frontend
โโโ src-tauri/
โ โโโ Cargo.toml
โ โโโ tauri.conf.json
โ โโโ src/
โ โ โโโ main.rs
โ โ โโโ lib.rs
โ โโโ icons/
โโโ package.json
Rust Command Example
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}!", name)
}
fn main() {
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error running app");
}
Related Skills
electron-builder-config
cross-platform-test-matrix