init-tauri-app
/init-tauri-app
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".
- Author
- glebis ↗
- Repository
- claude-skills ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 48
- Scripts
- 17
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 17 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: assets/core/scripts/check-versions.sh, assets/modules/cli-mcp/cli.rs, assets/modules/cli-mcp/mcp.rs, assets/modules/cli-mcp/protocol.rs, assets/modules/release-preflight/preflight.sh, assets/modules/release-preflight/release.sh, assets/modules/sqlite/compat_golden.rs, assets/modules/sqlite/db.rs
What it does and when to use it
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".
Triggers from the description
Original author description
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".
How it works
- When to use
- Prerequisites (verify before scaffolding)
- Procedure
SKILL.md preview
--- name: init-tauri-app description: 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". --- # 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) 1. **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). 2. **Confirm:** echo the artifact's `hook` and ask the user to confirm before using it. On decline, skip. 3. **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". 4. **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). 5. The artifacts are written during Step 3 (core layer) — see the JTBD block there. ### 2. Scaffold base ```bash 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.template` → `docs/PRODUCT.md` via `scripts/render-jtbd.sh <artifact> assets/jtbd/PRODUCT.md.template <artifact-path>`. - Render `assets/jtbd/guardrails-check.md.template` → `docs/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`).
Files in this package (48)
- SKILL.md 6 KB
- assets/.gitkeep 1 KB
- assets/core/AGENTS.md 4 KB
- assets/core/CLAUDE.md 1 KB
- assets/core/CONTRIBUTING.md 1 KB
- assets/core/README.md 1 KB
- assets/core/gitignore 1 KB
- assets/core/mcp.json 1 KB
- assets/core/node-version 1 KB
- assets/core/rust-toolchain.toml 1 KB
- assets/core/capabilities/default.json 1 KB
- assets/core/scripts/check-versions.sh 1 KB
- assets/jtbd/PRODUCT.md.template 1 KB
- assets/jtbd/agents-product-section.md.template 1 KB
- assets/jtbd/guardrails-check.md.template 1 KB
- assets/jtbd/jtbd-map.md 1 KB
- assets/jtbd/fixtures/malformed-jtbd.json 1 KB
- assets/jtbd/fixtures/sample-jtbd.json 1 KB
- assets/modules/cli-mcp/INSERT.md 1 KB
- assets/modules/cli-mcp/capability.json 1 KB
- assets/modules/cli-mcp/cargo-deps.toml 1 KB
- assets/modules/cli-mcp/cli.rs 1 KB
- assets/modules/cli-mcp/mcp.rs 1 KB
- assets/modules/cli-mcp/protocol.rs 1 KB
- assets/modules/release-preflight/INSERT.md 1 KB
- assets/modules/release-preflight/ci.yml 1 KB
- assets/modules/release-preflight/preflight.sh 1 KB
- assets/modules/release-preflight/release.sh 4 KB
- assets/modules/release-preflight/release.yml 4 KB
- assets/modules/sqlite/INSERT.md 1 KB
- assets/modules/sqlite/cargo-deps.toml 1 KB
- assets/modules/sqlite/compat_golden.rs 1 KB
- assets/modules/sqlite/db.rs 1 KB
- assets/modules/sqlite/migrations.rs 1 KB
- assets/modules/swift-sidecar/INSERT.md 1 KB
- assets/modules/swift-sidecar/Package.swift 1 KB
- assets/modules/swift-sidecar/Sidecar.swift 1 KB
- assets/modules/swift-sidecar/build.rs.fragment 1 KB
- assets/modules/swift-sidecar/cargo-deps.toml 1 KB
- assets/modules/swift-sidecar/sidecar_ffi.rs 1 KB
- assets/modules/tray-updater/INSERT.md 1 KB
- assets/modules/tray-updater/cargo-deps.toml 1 KB
- assets/modules/tray-updater/conf-fragment.json 1 KB
- assets/modules/tray-updater/tray.rs 1 KB
- assets/modules/tray-updater/updater.rs 1 KB
- scripts/render-jtbd.sh 1 KB
- scripts/smoke-jtbd.sh 1 KB
- scripts/smoke.sh 1 KB
Versions
The database has no other skills named init-tauri-app.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version a9bc6ca17c2b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100tauri
Knowledge base indexing core, desktop, and mobile references. TRIGGER WHEN: working with Tauri 2 commands, IPC, plugins, project setup, OAuth, or CI/CD. - 100tauri
Knowledge base indexing core, desktop, and mobile references. TRIGGER WHEN: working with Tauri 2 commands, IPC, plugins, project setup, OAuth, or CI/CD. - 100tauri-mcp-cli
Use the Tauri MCP CLI to start and recover driver sessions, automate Tauri webviews, capture UI state, debug IPC, and work with mobile or remote devices. Use whenever an agent needs to operate a Tauri v2 app from terminal commands. - 90tauri-skills
Design, implement, review, and verify secure Tauri 2 desktop applications with a Rust trusted core, React or TypeScript WebViews, scoped capabilities and permissions, typed IPC, and a managed Node.js sidecar. Use for Tauri architecture, src-tauri changes, commands, channels or… - 96tauri-troubleshooting
Tauri v2 开发中常见问题的故障排查指南。当遇到 Tauri 插件权限、命令调用、配置错误等问题时触发此 skill。 - 95desktop-tauri
Use this skill when the user says 'Tauri', 'Tauri v2', 'tauri command', 'invoke from frontend', 'tauri capabilities', 'tauri permissions', 'tauri plugin', 'tauri updater', 'Rust desktop app with web UI'. It builds secure Tauri 2 desktop (and mobile) apps: Rust commands, typed…