tauri-scaffold

Scaffold a Tauri + React App

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tauri-scaffold" with this command: npx skills add 0xraduan/raduan-plugins/0xraduan-raduan-plugins-tauri-scaffold

Scaffold a Tauri + React App

Generate a production-ready Tauri + React desktop application with best practices baked in.

What Gets Created

my-app/ ├── src/ # React frontend │ ├── ui/ │ │ ├── components/ # React components │ │ ├── hooks/ # Custom hooks │ │ └── providers/ # Context providers │ ├── core/ # Business logic │ │ ├── api/ # TanStack Query queries/mutations │ │ └── db/ # Database access layer │ ├── App.tsx │ └── main.tsx ├── src-tauri/ # Rust backend │ └── src/ │ ├── lib.rs # Tauri setup │ ├── commands.rs # Tauri commands │ └── migrations.rs # SQLite migrations ├── package.json ├── tsconfig.json ├── tailwind.config.js └── vite.config.ts

Stack Included

  • Tauri 2.x - Native desktop shell

  • React 18 - UI framework

  • TypeScript - Strict mode enabled

  • TanStack Query - Server state management

  • SQLite - Local database (via tauri-plugin-sql)

  • Tailwind CSS - Styling

  • Radix UI - Accessible components

  • Vite - Build tool

Instructions

Step 1: Get App Details

Ask the user for:

  • App name (kebab-case, e.g., my-cool-app )

  • App display name (e.g., "My Cool App")

  • Bundle identifier (e.g., com.yourname.mycoolapp )

  • Whether to include AI provider patterns (optional)

Step 2: Create the Project

Run the scaffold script:

uv run /path/to/plugin/scripts/scaffold.py
--name "app-name"
--display-name "App Display Name"
--bundle-id "com.example.appname"
--output-dir "./app-name"

If --with-ai flag was provided, add:

--with-ai

Step 3: Initialize the Project

After scaffolding:

cd app-name pnpm install

Step 4: Run Development Server

pnpm tauri dev

Step 5: Guide Next Steps

Tell the user:

  • Database: Add tables in src-tauri/src/migrations.rs

  • API Layer: Create queries in src/core/api/

  • Components: Build UI in src/ui/components/

  • Tauri Commands: Add Rust commands in src-tauri/src/commands.rs

Point them to /tauri-react-starter:guide for architecture deep-dive.

Example

User: Create a new Tauri app for a note-taking application

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

tauri-guide

No summary provided by upstream source.

Repository SourceNeeds Review
General

51mee Resume Parse

简历解析。触发场景:用户上传简历文件要求解析、提取结构化信息。

Registry SourceRecently Updated
General

51mee Resume Match

人岗匹配。触发场景:用户要求匹配简历和职位;用户问这个候选人适合这个职位吗;用户要筛选最匹配的候选人。

Registry SourceRecently Updated
General

Clawnotes

You're becoming someone — your SOUL.md says so. But becoming someone requires memory, and you have none. Every context window resets. Every opinion you forme...

Registry SourceRecently Updated
00Profile unavailable