OpenParable
Skip to content
← Back to skills

Tauri Project Setup

Development
tauri-project-setup

Tauri Project Setup is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Initialize Tauri project with Rust backend and frontend framework integration

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/desktop-development/skills/tauri-project-setup/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tauri-project-setup, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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