mcpbeat Sign in

Init Tauri App Skill for Claude

Scaffold a new Tauri v2 project with the cenno/cull house conventions — delegates boilerplate to `npm create tauri-app`, then layers an opinionated core plus opt-in modules (CLI+MCP, SQLite, tray/updater, release/preflight, Swift sidecar). Use when the user wants to start a new Tauri desktop app, "init a tauri project", or "scaffold a tauri app".

10k tokens
context cost
the whole folder, loaded on every use
48
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
337
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/glebis/claude-skills --skill init-tauri-app

What comes with it

30 342 bytes besides the instruction
assets/.gitkeep
assets/core/AGENTS.md
assets/core/CLAUDE.md
assets/core/CONTRIBUTING.md
assets/core/README.md
assets/core/capabilities/default.json
assets/core/gitignore
assets/core/mcp.json
assets/core/node-version
assets/core/rust-toolchain.toml
assets/core/scripts/check-versions.sh
assets/jtbd/PRODUCT.md.template
assets/jtbd/agents-product-section.md.template
assets/jtbd/fixtures/malformed-jtbd.json
assets/jtbd/fixtures/sample-jtbd.json
assets/jtbd/guardrails-check.md.template
assets/jtbd/jtbd-map.md
assets/modules/cli-mcp/INSERT.md
assets/modules/cli-mcp/capability.json
assets/modules/cli-mcp/cargo-deps.toml
assets/modules/cli-mcp/cli.rs
assets/modules/cli-mcp/mcp.rs
assets/modules/cli-mcp/protocol.rs
assets/modules/release-preflight/INSERT.md
assets/modules/release-preflight/ci.yml
assets/modules/release-preflight/preflight.sh
assets/modules/release-preflight/release.sh
assets/modules/release-preflight/release.yml
assets/modules/sqlite/INSERT.md
assets/modules/sqlite/cargo-deps.toml
assets/modules/sqlite/compat_golden.rs
assets/modules/sqlite/db.rs
assets/modules/sqlite/migrations.rs
assets/modules/swift-sidecar/INSERT.md
assets/modules/swift-sidecar/Package.swift
assets/modules/swift-sidecar/Sidecar.swift
assets/modules/swift-sidecar/build.rs.fragment
assets/modules/swift-sidecar/cargo-deps.toml
assets/modules/swift-sidecar/sidecar_ffi.rs
assets/modules/tray-updater/INSERT.md

The instruction itself

10 sections, as written by the author

init-tauri-app

Scaffolds a new Tauri v2 project pre-loaded with conventions proven in two production apps

(cenno, cull). Delegates version-current boilerplate to the official scaffolder, then applies

a durable convention layer and any opt-in modules the user selects.

When to use

  • "Start a new Tauri app", "init a tauri project", "scaffold a tauri desktop app".

Prerequisites (verify before scaffolding)

  • node + npm on PATH (node --version)
  • cargo + rustc on PATH (cargo --version)
  • macOS + Xcode CLT only required if the Swift-sidecar module is selected

Procedure

1. Gather inputs (AskUserQuestion)

Ask, in one batch:

  • App name (kebab-case). Validate ^[a-z][a-z0-9-]*$.
  • Identifier (reverse-DNS, default com.glebkalinin.<name>).
  • Target directory (default ~/ai_projects/<name>). Abort if it exists and is non-empty.
  • Frontend framework: react-ts | svelte-kit | vanilla-ts.
  • Modules (multi-select): CLI+MCP · SQLite · Tray/Updater · Release/Preflight · Swift sidecar.
  • JTBD artifact (optional): a path to a jtbd.json. If not given, the skill auto-discovers

./jtbd.json then ~/jtbd/<name>/jtbd.json. See Step 1.5.

If Swift sidecar selected but host is non-macOS or xcrun --find swift fails: warn and drop it.

1.5 Ingest JTBD (optional, additive)

  • Resolve the artifact, first hit wins: explicit path → ./jtbd.json~/jtbd/<name>/jtbd.json.

If none found, skip this whole step (the scaffold proceeds with empty product context — no error).

  • Confirm: echo the artifact's hook and ask the user to confirm before using it. On decline, skip.
  • Validate: the artifact must parse and have name, hook, jtbd. If not, warn and skip

ingestion (never abort the scaffold). render-jtbd.sh exits 3 on invalid input — treat that as "skip".

  • Pre-fill: if valid, default the app name to name and identifier to com.glebkalinin.<name>

(still confirm with the user in Step 1 if not already chosen).

  • The artifacts are written during Step 3 (core layer) — see the JTBD block there.

2. Scaffold base

cd <parent-of-target>
npm create tauri-app@latest <name> -- --template <framework> --manager npm --yes

Then cd <target> && npm install.

Known upstream fix (current rustc + Tauri 2.11.x): a *bare* scaffold's first cargo check

can fail with error[E0119] on cookie/time (transitive cookie 0.18.1 vs time 0.3.48).

This is not a skill bug — it hits any fresh create-tauri-app. If it occurs, run once in

src-tauri/: cargo update -p time --precise 0.3.47, then re-check.

3. Apply core layer

Copy every file from assets/core/ into the project, applying the renames in the table below,

then run a baseline gate. Substitute <name> (and <identifier> where the token appears) in

AGENTS.md and README.

| asset | destination |

|---|---|

| core/AGENTS.md | AGENTS.md |

| core/CLAUDE.md | .claude/CLAUDE.md |

| core/gitignore | .gitignore (merge: append only house lines not already present; skip lines — including comment headers — that already exist) |

| core/rust-toolchain.toml | src-tauri/rust-toolchain.toml |

| core/node-version | .node-version |

| core/mcp.json | .mcp.json |

| core/capabilities/default.json | src-tauri/capabilities/default.json (overwrite) |

| core/scripts/check-versions.sh | scripts/check-versions.sh (chmod +x) |

| core/README.md | README.md |

| core/CONTRIBUTING.md | CONTRIBUTING.md |

If a JTBD artifact was confirmed in Step 1.5, also:

  • Render assets/jtbd/PRODUCT.md.templatedocs/PRODUCT.md via

scripts/render-jtbd.sh <artifact> assets/jtbd/PRODUCT.md.template <artifact-path>.

  • Render assets/jtbd/guardrails-check.md.templatedocs/internal/guardrails-check.md.
  • Render assets/jtbd/agents-product-section.md.template and **insert it into AGENTS.md

immediately after the first heading** (so product context leads the file).

  • Copy the artifact verbatim to project-root jtbd.json (never modify the source).
  • Field→destination details: assets/jtbd/jtbd-map.md.

Create empty tracked dir docs/internal/.gitkeep and docs/.gitkeep.

Enable TS strict: ensure tsconfig.json has strict, noUnusedLocals, noUnusedParameters true.

Gate: cd src-tauri && cargo check and cd .. && npm run build. Both must pass before modules.

4. Compose selected modules

For each selected module, in this order — cli-mcp, sqlite, tray-updater, swift-sidecar,

release-preflight — open assets/modules/<m>/INSERT.md and follow it exactly: it lists files to

copy, Cargo deps to merge into src-tauri/Cargo.toml [dependencies], and insertion points in

src-tauri/src/lib.rs (tauri::generate_handler![...]) and src-tauri/src/main.rs.

After EACH module: cd src-tauri && cargo check. If it fails, fix the just-applied merge

before continuing (failures localize to the current module). For modules with a frontend/script

part, also run the relevant check named in that INSERT.md.

5. Final verification + handoff

  • cd src-tauri && cargo check → must pass
  • npm run build → must pass
  • bash scripts/check-versions.sh → must pass
  • Offer git init && git add -A && git commit -m "chore: scaffold via init-tauri-app".
  • Print a summary: framework, modules applied, modules skipped (with reason), next commands

(npm run tauri dev).

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take glebis/init-tauri-app from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference npm. Without those the skill loads but fails at the first command.