Home / impertio-studio / tauri-2-claude-skill-package · skills/source/tauri-impl/tauri-impl-multi-window/SKILL.md · GitHub

tauri-impl-multi-window skillA

tauri-impl-multi-window is agent-read markdown (skill) from impertio-studio/tauri-2-claude-skill-package: Use when creating secondary windows, implementing splashscreen flows, or communicating between windows in Tauri 2. Prevents duplicate window label panics and orphaned window handles from missing lifecycle cleanup. Covers creating windows from Rust and JavaScript, inter-window events, show/hide patterns, splashscreen, and parent-child relationships. Keywords: tauri multi-window, secondary window, splashscreen, inter-window communication, window lifecycle, parent-child, open new window, splashscre.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# tauri-impl-multi-window

## Quick Reference

### Window Creation

| Method | Context | Example |
|--------|---------|---------|
| `WebviewWindowBuilder::new()` | Rust (setup, commands) | `WebviewWindowBuilder::new(app, "label", url).build()?` |
| `new Window()` | TypeScript | `new Window('label', { url: '/page' })` |
| `tauri.conf.json` windows array | Configuration | Main window auto-created on startup |

### Window Access

| Method | Context | Returns |
|--------|---------|---------|
| `app.get_webview_window("label")` | Rust | `Option<WebviewWindow<R>>` |
| `app.webview_windows()` | Rust | `HashMap<String, WebviewWindow<R>>` |
| `getCurrentWindow()` | TypeScript | `Window` |
| `Window.getByLabel("label")` | TypeScript | `Promise<Window \| null>` |
| `getAllWindows()` | TypeScript | `Promise<Window[]>` |

### Inter-Window Communication

| Method | Direction | Scope |
|--------|-----------|-------|
| `app.emit("event", payload)` | Rust to all | Broadcast |
| `app.emit_to("label", "event", payload)` | Rust to specific window | Targeted |
| `emit("event", payload)` | JS to all | Broadcast |
| `emitTo("label", "event", payload)` | JS to specific window | Targeted |
…

Read the whole file at its exact version.

How to install

Latest version
mdr add impertio-studio/tauri-2-claude-skill-package/tauri-impl-multi-window@v1.0
Exact content
mdr add impertio-studio/tauri-2-claude-skill-package/tauri-impl-multi-window@sha256:9b2ff9c639ff4a3e

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qlwd7qwlvxyz2lkz.svg)](https://markdownregistry.com/a/art_qlwd7qwlvxyz2lkz)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.0 latest2026-03-30 ebe35c0 10,197 BA view · diff
v1.02026-03-19 8ab49f9 10,115 BA view · diff
v1.02026-03-18 ecc3ef6 9,976 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10197 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

impertio-studio/tauri-2-claude-skill-package · 4 stars · license MIT · pushed 2026-09-15 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qlwd7qwlvxyz2lkz
GET https://markdownregistry.com/api/v1/resolve?ref=impertio-studio/tauri-2-claude-skill-package/tauri-impl-multi-window
GET https://markdownregistry.com/api/v1/blob/9b2ff9c639ff4a3e0f52c8a1110c39c50127c41b312895f06617e27bce67eb2f

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from impertio-studio/tauri-2-claude-skill-package

CLAUDE.md claude
impertio-studio/tauri-2-claude-skill-package · CLAUDE.md
git:20260318.563c3a0 · audit A · 4 stars
tauri-agents-project-scaffolder skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-agents/tauri-agents-project-scaffolder/SKILL.md · Use when scaffolding a new Tauri 2 project, setting up initial project structure, or generating boilerplate code…
v1.0 · audit A · 4 stars
tauri-agents-review skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-agents/tauri-agents-review/SKILL.md · Use when reviewing Tauri 2 code, auditing permissions, or validating a Tauri project before deployment. Prevents…
v1.0 · audit A · 4 stars
tauri-core-architecture skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-core/tauri-core-architecture/SKILL.md · Use when creating new Tauri 2 apps, understanding project structure, or reasoning about the component model. Prevents…
v1.0 · audit A · 4 stars
tauri-core-config skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-core/tauri-core-config/SKILL.md · Use when editing tauri.conf.json, configuring build options, or setting up platform-specific bundle configuration…
v1.0 · audit A · 4 stars
tauri-core-runtime skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-core/tauri-core-runtime/SKILL.md · Use when configuring app initialization, using setup hooks, spawning background tasks, or managing app lifecycle…
v1.0 · audit A · 4 stars
tauri-errors-build skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-errors/tauri-errors-build/SKILL.md · Use when encountering Tauri 2 build errors, bundler failures, or platform-specific compilation issues. Prevents chasing…
v1.0 · audit A · 4 stars
tauri-errors-ipc skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-errors/tauri-errors-ipc/SKILL.md · Use when encountering invoke errors, serialization failures, or IPC-related panics in Tauri 2. Prevents silent type…
v1.0 · audit A · 4 stars
tauri-errors-permissions skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-errors/tauri-errors-permissions/SKILL.md · Use when encountering permission denied errors, CSP violations, or capability configuration issues in Tauri 2. Prevents…
v1.0 · audit A · 4 stars
tauri-errors-runtime skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-errors/tauri-errors-runtime/SKILL.md · Use when encountering runtime panics, state errors, or unexpected app crashes in Tauri 2. Prevents unhandled unwrap()…
v1.0 · audit A · 4 stars
tauri-impl-build-deploy skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-impl/tauri-impl-build-deploy/SKILL.md · Use when building for production, configuring installers, setting up code signing, or creating CI/CD pipelines…
v1.0 · audit A · 4 stars
tauri-impl-database skill
impertio-studio/tauri-2-claude-skill-package · skills/source/tauri-impl/tauri-impl-database/SKILL.md · Use when adding database storage, implementing key-value persistence, or integrating SQL databases in Tauri 2 apps…
v1.0 · audit A · 4 stars

Every file in impertio-studio/tauri-2-claude-skill-package

Browse by kind, by grade A, or by owner.