agentleFS
omidnwomidnw/my-skills/skills/tauri-v2-docs/SKILL.md

tauri-v2-docs

Skill0 starsChanged 3 months agoMITView on GitHub

Fetch and reference Tauri v2 documentation. Use when the user works with

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When embedding fetched content into an answer, cite the source URL.

    line 65
  2. Very specific:

    If a page 404s or looks stale, fall back to llms-full.txt or a WebSearch limited to site:v2.tauri.app.

    line 66
  3. Very specific:

    Run a sample query end-to-end, e.g.

    line 81
  4. Distinctive:

    Verify any code you produce compiles against the fetched signatures (cite the page).

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tauri v2 Docs — Reference

Purpose

Resolve the exact Tauri v2 documentation page for a task and pull the needed API/config/plugin details into the answer — like Cursor's @Docs for Tauri v2. Tauri v2 docs have an official llms.txt index, so page resolution is reliable, not guessed.

When to use

  • Any question or implementation touching Tauri 2.x: Rust side (tauri, tauri-build), JS side (@tauri-apps/api, @tauri-apps/cli), config (tauri.conf.json), permissions/capabilities (ACL), plugins (tauri-plugin-*), or the Tauri CLI.
  • Verifying a v2 API signature, config key, or permission identifier before writing code.

Preconditions

  • You have web access (WebFetch/WebSearch).
  • The project is a Tauri v2 project (check package.json / Cargo.toml if unsure — tauri = "2", @tauri-apps/api@^2). This skill covers v2 only.

Workflow

  1. Identify the area the user is working in: setup/config, Rust core API, JS API, plugins, permissions/ACL, CLI/build, or distribution/mobile.
  2. Resolve the exact page using the Doc map below. If the map doesn't cover it, fetch the right llms file (llms.txt index, _llms-txt/guides.txt, or _llms-txt/reference.txt) and pick the precise URL — never guess deep links.
  3. Fetch the target page with WebFetch, with a focused extraction prompt ("Extract the signature, example code, and config keys for X") — do not dump the whole page into context.
  4. For Rust API questions, fetch the relevant module on https://docs.rs/tauri/latest/tauri/ (e.g. app, manager, window, webview, fs, path, process, command, tray, menu, event, image, ipc).
  5. Cross-check the result against v2 idioms (see Rules), then answer with code and cite the source URL.

Doc map (verified entry points)

NeedEntry point
Index of all v2 docs (llms.txt)https://v2.tauri.app/llms.txt
Full docs text (LLM-readable)https://v2.tauri.app/llms-full.txt
Abridged docs texthttps://v2.tauri.app/llms-small.txt
Guides set (start, concept, security, develop, distribute, learn, plugin)https://v2.tauri.app/_llms-txt/guides.txt
Reference set (JS API, config schema, CLI, ACL/permissions)https://v2.tauri.app/_llms-txt/reference.txt
Rust API (crates)https://docs.rs/tauri/latest/tauri/
Getting started / guides hubhttps://v2.tauri.app/start/
CLI reference (web)https://v2.tauri.app/reference/cli/

Rules

  • v2 only. tauri.app and v1.tauri.app are Tauri v1 docs — never use them for v2.
  • Version alignment. A v2 project must use only v2 artifacts: tauri crate ^2, @tauri-apps/api/@tauri-apps/cli ^2, tauri-plugin-* v2.x, and the v2 tauri.conf.json schema. Never mix v1 code with v2.
  • Resolve URLs via the llms index instead of guessing paths.
  • Rust API always via docs.rs/.../latest/... — never an older version tag. Plugin crates have their own docs (e.g. docs.rs/tauri-plugin-shell/latest/).
  • Plugin questions → the plugin's own guide page under v2.tauri.app (e.g. /plugin/shell/) or its docs.rs crate; plugins are separate crates with separate APIs.
  • When embedding fetched content into an answer, cite the source URL.
  • If a page 404s or looks stale, fall back to llms-full.txt or a WebSearch limited to site:v2.tauri.app.

Common mistakes

  • Copying v1 examples: tauri::api::* modules (fs, path, dialog) are gone in v2 — replaced by tauri::fs, tauri::path, and tauri-plugin-dialog.
  • Using app.get_window(...) — v2 uses app.get_webview_window(...) / get_webview_windows().
  • Calling invoke from @tauri-apps/api/tauri — v2 imports it from @tauri-apps/api/core.
  • Using the v1 tauri.conf.json shape (no $schema, no app.windows, no capabilities/ folder) — v2 requires the new schema and a permissions file per capability.
  • Pulling llms-full.txt wholesale into context — it is huge; fetch targeted pages or the section files only.

Validation

  • Run a sample query end-to-end, e.g. "Show a file dialog in Tauri v2" must resolve to tauri-plugin-dialog / @tauri-apps/plugin-dialog (v2), not v1 tauri::api::dialog.
  • Confirm https://v2.tauri.app/llms.txt is reachable before relying on it.
  • Verify any code you produce compiles against the fetched signatures (cite the page).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.