tauri-impl-project-setup

Scaffold Tauri 2 projects with correct lib.rs/main.rs separation and build configuration.

4|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill tauri-impl-project-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tauri-impl-project-setup
Source: https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer/tree/main/.claude/skills/tauri-2/tauri-impl/tauri-impl-project-setup
Command: npx skills add https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer --skill tauri-impl-project-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Use when starting a new Tauri 2 project, choosing a frontend framework, or understanding project structure. Prevents incorrect lib.rs/main.rs split and missing build configuration that breaks dev and production builds. Covers create-tauri-app scaffolding, project structure, frontend framework integration, src-tauri layout, and source control.

Core Features & Use Cases

  • Scaffolding scaffolds a new Tauri 2 project with a complete src-tauri layout and frontend integration for common frameworks.
  • Project Structure maps essential files and directories (src/, src-tauri/, tauri.conf.json, and build scripts) to streamline collaboration and version control.
  • Guardrails enforce correct lib.rs/main.rs separation and capture common misconfigurations before they break builds.
  • Use Case: Starting a fresh Tauri 2 project or integrating Tauri into an existing frontend, this skill provides a clean template and guidance.

Quick Start

Run the interactive scaffolding flow to generate a ready-to-run Tauri 2 project with your chosen frontend framework.

Frequently Asked Questions about tauri-impl-project-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Tauri 2 project with a frontend framework?

You scaffold a new Tauri 2 project by running the interactive create-tauri-app flow, which generates a ready-to-run structure with your chosen frontend framework, complete src-tauri layout, and proper build configuration.

How do I separate lib.rs and main.rs in a Tauri 2 project?

Separating lib.rs and main.rs in a Tauri 2 project requires enforcing correct file splits and applying best-practice checks to prevent misconfigurations that break dev and production builds.

Can I use Tauri with React, Vue, or Svelte?

Tauri works with React, Vue, and Svelte by mapping essential project structure files and directories to streamline frontend integration, collaboration, and version control across these common frameworks.

What is the recommended project structure for a Tauri 2 app?

The recommended Tauri 2 project structure maps essential files and directories including src/, src-tauri/, tauri.conf.json, and build scripts to streamline collaboration and version control.

Why does my Tauri build break after splitting Rust files?

Tauri builds break after splitting Rust files when missing build configuration or incorrect lib.rs/main.rs separation occurs, which guardrails capture by enforcing correct structural separation before builds fail.