Skip to content

a5c-ai/babysitter / library/specializations/desktop-development/skills/tauri-project-setup

tauri-project-setup

Verified

Initialize Tauri project with Rust backend and frontend framework integration

FileKindSize
README.mdmarkdown548 B
SKILL.mdskill md2.0 KB
---
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

```json
{
  "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

```rust
#[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`
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall