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

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated