tauri
Reference and development guidelines for Tauri v2+ cross-platform desktop and mobile apps.
Skill by MAHDTech
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mahdtech-tauri
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tauri
What's inside
- Skill name
tauri- Description
- Reference and development guidelines for Tauri v2+ cross-platform desktop and mobile apps. Use when the user mentions Tauri, src-tauri, tauri v2, tauri.conf.json, or capabilities.json, or asks to build, modify, or debug Tauri application settings, IPC commands, or capabilities.
- License
- MIT
- Metadata
- archived: 2026-10-18
- Instructions
- 68 lines in SKILL.md · view on GitHub
Files (7)
- SKILL.md
- openai.yaml · agents/
- _llms-txt-guides.txt · resources/auto/
- _llms-txt-reference.txt · resources/auto/
- llms-full.txt · resources/auto/
- llms-small.txt · resources/auto/
- llms.txt · resources/auto/
SKILL.md (first lines)
# Tauri Development
Guidelines and reference for developing Tauri v2+ cross-platform applications. All Tauri v2+ modifications must follow secure-by-default capabilities configurations and correct multi-platform project separation patterns to ensure successful deployment and high-performance desktop and mobile execution.
## Reference Documentation
When deep context, precise API definitions, or config schemas are required, consult the bundled Tauri reference excerpts:
- Consult the bundled reference files vendored under [resources/auto/llms.txt](resources/auto/llms.txt) from the official v2 docs.
## Constraints
To ensure compatibility, security, and stability:
- **Frontend APIs**: Use `@tauri-apps/api/core` or official v2 plugins exclusively.
- **Async Commands**: Use owned types (such as `String`) for parameters and return values in async Tauri commands.
- **Thread Safety**: Run heavy or I/O operations asynchronously to ensure the main thread remains unblocked.
- **Paths**: Reference dynamic path configurations using Tauri's path APIs (e.g., `app.path()`) or paths relative to the working directory.
- **Capability Declarations**: Declare explicit permissions in `src-tauri/capabilities/default.json` (or other capability files) for all IPC and plugin operations.
## Project Architecture & Setup
1. **Clean passthrough entrypoint**: Keep `src-tauri/src/main.rs` as a thin passthrough:
```rust
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
app_lib::run();
}
```
2. **Core application setup**: Place all setup, state management, and command registration in `src-tauri/src/lib.rs`.
3. **Mobile compatibility**: Configure a single `run` entry point marked with mobile compatibility attributes in `lib.rs`:
```rust
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.invoke_handler(tauri::generate_handler![/* commands */])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
```
## IPC & Command Rules
1. Register every command intended for frontend access inside `tauri::generate_handler![...]`.
2. For commands returning potential errors, return a `Result<T, E>` where the error type `E` implements `serde::Serialize` to ensure error details are safely communicated across the IPC boundary.
3. Manage state shared between multiple commands via Tauri state APIs and wrap in thread-safe containers (e.g., `Mutex<T>` or `RwLock<T>`).
4. To establish stable communication vectors, use high-frequency typed streams or Channels for high-volume backend data transfers.
## Security & Capabilities
1. Define explicit permissions inside `src-tauri/capabilities/default.json` or another schema-compliant JSON file.
2. For every plugin used in the frontend (e.g. `fs`, `dialog`, `shell`, `http`, `store`), declare its core permissions within capability files (e.g. `"fs:default"`, `"dialog:default"`).
3. If an API silently fails or times out, immediately inspect the active capabilities configurations to confirm permissions have been correctly granted.
## Completion Criteria
The Tauri task is successfully complete when:
1. `src-tauri/src/main.rs` contains only a thin passthrough to `app_lib::run()`.
2. All custom backend commands are implemented with owned parameters and registered in `tauri::generate_handler![]`.
3. Every active plugin has corresponding permissions listed in the active capabilities configuration files under `src-tauri/capabilities/`.
4. All frontend components reference exclusively Tauri v2 APIs (e.g., `@tauri-apps/api/core` or official v2 plugins).
5. Compilation and build checks pass successfully (e.g. via `cargo check` or `npm run build`).From MAHDTech/agent-skills, MIT.
More from MAHDTech/agent-skills
- 0.565score
grill-me-with-docs
MAHDTech
Relentlessly interview the user to stress-test a problem, architecture, or design from scratch, while actively maintaining a domain glossary (CONTEXT.md) and…
SkillAFreshness: AClaude Code +9 - 0.565score
delta
MAHDTech
Operate and configure Delta and DeltaDB, the multiplayer agent coding environment and CRDT version control system from Zed Industries.
SkillAFreshness: AClaude Code +9 - 0.565score
skill-archive
MAHDTech
Retire a skill cleanly - move its directory from skills/<category>/ into skills-archive/<category>/, mark it archived in frontmatter with what replaced it…
SkillAFreshness: AClaude Code +9 - 0.565score
refactor-codebase
MAHDTech
Remove engineering debt, untangle large modules, collapse duplicated logic, and modernize legacy patterns without changing behavior.
SkillAFreshness: AClaude Code +9 - 0.565score
tars-backlog-create-issue
MAHDTech
Use when creating a new backlog issue/ticket in the `.tars/issues/todo/` directory, defining its YAML frontmatter, headings, tasks, acceptance criteria…
SkillAFreshness: AClaude Code +9 - 0.565score
opencode
MAHDTech
Guidance for using OpenCode, the open-source AI coding agent.
SkillAFreshness: AClaude Code +9 - 0.565score
opencode-acp
Benjamin Jesuiter <bjesuiter@gmail.com>
Control OpenCode directly via the Agent Client Protocol (ACP).
SkillAFreshness: AClaude Code +9 - 0.565score
skill-audit
MAHDTech
Periodically audit the whole skill collection for health - validate each skill's frontmatter, clarity, and category, verify every cross-reference resolves…
SkillAFreshness: AClaude Code +9 - 0.565score
skill-creator
MAHDTech
Use when creating a new skill or editing an existing one in this repo - how to name it, place it in the right category, write its frontmatter and description…
SkillAFreshness: AClaude Code +9 - 0.561score
tars-backlog-loop
MAHDTech
Coordinate the full backlog lifecycle by sequentially executing tars-backlog-audit, tars-backlog-triage, and tars-backlog-implement to resolve all issues.
SkillAFreshness: AClaude Code +9 - 0.561score
tars-backlog-audit
MAHDTech
Audit the codebase for bugs, features, security issues, or technical debt, and generate structured issue files in `.tars/issues/todo/`.
SkillAFreshness: AClaude Code +9 - 0.561score
tars-backlog-triage
MAHDTech
Triage pending backlog issues in `.tars/issues/todo/` to verify their accuracy, check for hallucinations, and add review notes.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 30
- Last commit (this folder)
- Oct 24, 2026 (4 days ago)
- Last release
- Oct 23, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/MAHDTech/agent-skills
- Website
- skills.mahdtech.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MAHDTech
- 0.565score
grill-me-with-docs
MAHDTech
Relentlessly interview the user to stress-test a problem, architecture, or design from scratch, while actively maintaining a domain glossary (CONTEXT.md) and…
SkillAFreshness: AClaude Code +9 - 0.565score
skill-archive
MAHDTech
Retire a skill cleanly - move its directory from skills/<category>/ into skills-archive/<category>/, mark it archived in frontmatter with what replaced it…
SkillAFreshness: AClaude Code +9 - 0.565score
refactor-codebase
MAHDTech
Remove engineering debt, untangle large modules, collapse duplicated logic, and modernize legacy patterns without changing behavior.
SkillAFreshness: AClaude Code +9 - 0.565score
delta
MAHDTech
Operate and configure Delta and DeltaDB, the multiplayer agent coding environment and CRDT version control system from Zed Industries.
SkillAFreshness: AClaude Code +9 - 0.565score
tars-backlog-create-issue
MAHDTech
Use when creating a new backlog issue/ticket in the `.tars/issues/todo/` directory, defining its YAML frontmatter, headings, tasks, acceptance criteria…
SkillAFreshness: AClaude Code +9 - 0.565score
opencode
MAHDTech
Guidance for using OpenCode, the open-source AI coding agent.
SkillAFreshness: AClaude Code +9
Cite this page
tauri skill. Agent Mart. https://agentmart.dev/skills/mahdtech-tauri (last updated 2026-10-24)