Tauri project setup

From a5c-ai/babysitter · View interactive version

Tauri project setup is an AI agent skill from the GitHub repository a5c-ai/babysitter. Initialize Tauri project with Rust backend and frontend framework integration

How to use this skill

Skill file

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

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.