tauri-impl-design-patterns skillA
tauri-impl-design-patterns is agent-read markdown (skill) from impertio-studio/tauri-2-claude-skill-package: Use when designing Tauri 2 app architecture, choosing between IPC approaches, or planning application structure. Prevents using commands for streaming data, events for request/response, and putting business logic in the frontend. Covers commands vs events vs channels, state architecture, frontend-backend split, offline-first, and application archetypes. Keywords: tauri design patterns, architecture, commands vs events, Channel, offline-first, error boundary, IPC design, when to use commands vs e.
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-design-patterns
## IPC Decision Tree: Commands vs Events vs Channels
Choose the right IPC mechanism based on data flow pattern:
```
What is the communication pattern?
|
+-- Request/Response (frontend asks, Rust answers)
| --> Use COMMANDS (invoke)
| Examples: load file, save data, compute result, CRUD operations
|
+-- Push Notification (Rust notifies frontend, or frontend broadcasts)
| --> Use EVENTS (emit/listen)
| Examples: background task done, settings changed, new data available
|
+-- Streaming Data (continuous flow from Rust to frontend)
| --> Use CHANNELS (Channel<T>)
| Examples: download progress, log streaming, live sensor data
|
+-- Bidirectional Real-Time
--> Use EVENTS for both directions
Examples: chat messages, collaborative editing, sync status
```
### IPC Mechanism Comparison
| Feature | Commands | Events | Channels |
|---------|----------|--------|----------|
| Direction | Frontend -> Rust -> Frontend | Bidirectional | Rust -> Frontend |
| Cardinality | 1 request : 1 response | 1 emit : N listeners | 1 command : N messages |
| Lifetime | Single invocation | App lifetime | Tied to command call |
…Read the whole file at its exact version.
How to install
mdr add impertio-studio/tauri-2-claude-skill-package/tauri-impl-design-patterns@v1.0mdr add impertio-studio/tauri-2-claude-skill-package/tauri-impl-design-patterns@sha256:a59560e39d775013Pin 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.
[](https://markdownregistry.com/a/art_tnxc47pf6kcqgsua)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-03-30 | ebe35c0 | 16,439 B | A | view · diff |
| v1.0 | 2026-03-19 | aa5737d | 16,357 B | A | view · diff |
| v1.0 | 2026-03-19 | 8ab49f9 | 16,331 B | A | view · diff |
| v1.0 | 2026-03-19 | 3d23315 | 16,301 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (16439 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
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_tnxc47pf6kcqgsua GET https://markdownregistry.com/api/v1/resolve?ref=impertio-studio/tauri-2-claude-skill-package/tauri-impl-design-patterns GET https://markdownregistry.com/api/v1/blob/a59560e39d7750136dd54c0bbb652a56dc3ee3c3535bf46ea63ea8ff2fcdce5c
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.