tauri-errors-build skillA
tauri-errors-build is agent-read markdown (skill) from impertio-studio/tauri-2-claude-skill-package: Use when encountering Tauri 2 build errors, bundler failures, or platform-specific compilation issues. Prevents chasing phantom failures from stale build artifacts and misidentifying the failing build pipeline phase. Covers Cargo compilation failures, bundler errors, code signing failures, Linux dependencies, mobile builds, and CI/CD failures. Keywords: tauri build error, cargo compile, bundler error, code signing, linker error, NSIS, WiX, CI/CD failure, build fails, cargo error, linker error, N.
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-errors-build
## Quick Diagnosis
When a Tauri 2 build fails, identify the phase first:
```
Build Pipeline Phases:
1. Frontend build (beforeBuildCommand) --> JS/TS errors
2. Cargo compile (rustc) --> Rust compilation errors
3. Bundler (NSIS/WiX/DMG/deb) --> Platform packaging errors
4. Code signing (codesign/signtool) --> Signing/notarization errors
```
**ALWAYS** read the FULL error output. The root cause is often buried above the final error message.
**NEVER** skip `cargo clean` when troubleshooting persistent compilation errors -- stale build artifacts cause phantom failures.
---
## Error Lookup Table: Cargo Compilation
### ERR-B001: Command function visibility in lib.rs
**Error**: `error[E0255]: the name X is defined multiple times` or cryptic macro expansion errors.
**Cause**: Command functions defined directly in `src-tauri/src/lib.rs` are marked `pub`.
**Fix**: ALWAYS remove `pub` from command functions in `lib.rs`. Commands in separate modules MUST be `pub`.
```rust
// WRONG -- in lib.rs
#[tauri::command]
pub fn greet(name: String) -> String { ... }
// CORRECT -- in lib.rs
#[tauri::command]
…Read the whole file at its exact version.
How to install
mdr add impertio-studio/tauri-2-claude-skill-package/tauri-errors-build@v1.0mdr add impertio-studio/tauri-2-claude-skill-package/tauri-errors-build@sha256:1c99caff138d1eb8Pin 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_yayvylhidfjgamdj)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-03-30 | ebe35c0 | 11,546 B | A | view · diff |
| v1.0 | 2026-03-19 | 8ab49f9 | 11,459 B | A | view · diff |
| v1.0 | 2026-03-19 | 3d23315 | 11,319 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 (11546 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_yayvylhidfjgamdj GET https://markdownregistry.com/api/v1/resolve?ref=impertio-studio/tauri-2-claude-skill-package/tauri-errors-build GET https://markdownregistry.com/api/v1/blob/1c99caff138d1eb891dcf5697933ec8b41e4a336feb0e58afacfaccbc2fb77d2
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.