tauri-syntax-state skillA
tauri-syntax-state is agent-read markdown (skill) from impertio-studio/tauri-2-claude-skill-package: Use when managing application state, sharing data between commands, or debugging state-related panics. Prevents unmanaged state panics, Mutex deadlocks, and unnecessary Arc wrapping around managed state. Covers app.manage(), State<T> injection, AppHandle.state(), thread-safe state with Mutex/RwLock, and initialization patterns. Keywords: tauri state, manage, State<T>, Mutex, RwLock, AppHandle, thread safety, state injection, shared state, global data, state between commands, Mutex, manage state,.
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-syntax-state ## Quick Reference ### State Registration (Tauri 2.x) | Method | Context | Description | |--------|---------|-------------| | `Builder::manage(T)` | Builder chain | Register state during app construction | | `App::manage(T)` | `setup()` hook | Register state that depends on app initialization | | `AppHandle::manage(T)` | Any context | Register state at runtime (rare) | ### State Access | Method | Context | Returns | |--------|---------|---------| | `State<'_, T>` | Command parameter | Injected automatically by Tauri | | `app_handle.state::<T>()` | Any code with AppHandle | `State<'_, T>` (panics if not registered) | | `app_handle.try_state::<T>()` | Any code with AppHandle | `Option<State<'_, T>>` (safe) | ### Thread-Safety Wrappers | Wrapper | Use Case | Lock Method | |---------|----------|-------------| | `std::sync::Mutex<T>` | Mutable state, no `.await` while locked | `.lock().unwrap()` | | `tokio::sync::Mutex<T>` | Mutable state with `.await` while locked | `.lock().await` | | `std::sync::RwLock<T>` | Read-heavy access, concurrent readers | `.read().unwrap()` / `.write().unwrap()` | | None (immutable) | Read-only config data | Direct field access | …
Read the whole file at its exact version.
How to install
mdr add impertio-studio/tauri-2-claude-skill-package/tauri-syntax-state@v1.0mdr add impertio-studio/tauri-2-claude-skill-package/tauri-syntax-state@sha256:e491d51a024cb3a8Pin 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_ulreinjhbcw63ehe)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-03-30 | ebe35c0 | 7,681 B | A | view · diff |
| v1.0 | 2026-03-19 | 8ab49f9 | 7,597 B | A | view · diff |
| v1.0 | 2026-03-18 | 02b5a8f | 7,502 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 (7681 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_ulreinjhbcw63ehe GET https://markdownregistry.com/api/v1/resolve?ref=impertio-studio/tauri-2-claude-skill-package/tauri-syntax-state GET https://markdownregistry.com/api/v1/blob/e491d51a024cb3a83dc0166cabcc1b654fada6347d83d84f0cd5f397ec6b4a2d
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.