Agent skill

Tauri

by BiFangKNT in BiFangKNT/mtga

构建、调试与发布 Tauri v2 应用的工程化工作流。覆盖项目初始化(create-tauri-app)、前端与 Rust 命令通信([tauri::command] + invoke)、状态管理、Capabilities 权限建模、插件接入、跨平台构建与问题排查。当用户需求涉及“创建 Tauri 项目”“把 Web 前端接到 Rust…

AGPL-3.0Auto-check passed

Install Tauri

skills CLI
$ npx skills add BiFangKNT/mtga --skill tauri -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install BiFangKNT/mtga tauri --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/BiFangKNT/mtga.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/tauri .claude/skills/tauri && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tauri
GitHub stars
1.2k
Token cost
~466 tokens
SKILL.md length
106 words
Files
8 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
AGPL-3.0

At a glance

构建、调试与发布 Tauri v2 应用的工程化工作流。覆盖项目初始化(create-tauri-app)、前端与 Rust 命令通信([tauri::command] + invoke)、状态管理、Capabilities 权限建模、插件接入、跨平台构建与问题排查。当用户需求涉及“创建 Tauri 项目”“把 Web 前端接到 Rust…

  • Works in 6 steps: 确认目标:识别是新建项目、接入功能、配置权限、打包发布还是排障。 → 建立基线:优先创建最小可运行项目并执行 tauri dev。 → 打通通信:先实现一个最小 #[tauri::command] + invoke… → …
  • SKILL.md covers Overview, Workflow, Decision Tree and Execution Rules, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tauri is an agent skill from BiFangKNT/mtga. 构建、调试与发布 Tauri v2 应用的工程化工作流。覆盖项目初始化(create-tauri-app)、前端与 Rust 命令通信([tauri::command] + invoke)、状态管理、Capabilities 权限建模、插件接入、跨平台构建与问题排查。当用户需求涉及“创建 Tauri 项目”“把 Web 前端接到 Rust 后端”“最小权限配置(fs/http/shell)”“接入 Tauri 官方插件”“执行 tauri dev/build”“排查 Tauri 构建或运行错误”时使用此 skill。

Its SKILL.md is about 470 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `agents/openai.yaml`, `references/build-release.md` and `references/command-state.md`).

It works with Tauri and Rust. The repository describes itself as: 基于本地代理的方式,绕过 IDE 的固定模型服务商限制. The licence is AGPL-3.0.

Example prompts

  • “创建 Tauri 项目”
  • “把 Web 前端接到 Rust 后端”
  • “最小权限配置(fs/http/shell)”
  • “/tauri”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 确认目标:识别是新建项目、接入功能、配置权限、打包发布还是排障。
  2. 建立基线:优先创建最小可运行项目并执行 tauri dev。
  3. 打通通信:先实现一个最小 #[tauri::command] + invoke 闭环,再增加状态和异步逻辑。
  4. 收紧权限:按窗口/功能拆分 capability,只授予任务必需权限。
  5. 增量接入插件:先安装,再注册,再最小权限验证。
  6. 构建发布:按目标平台执行 tauri build,再处理签名、公证、安装包分发。

What it can do on your machine

Read from SKILL.md and the folder at commit 72669fb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tauri loads about 466 tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 106 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~466
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from BiFangKNT/mtga at commit 72669fb, republished under its AGPL-3.0 licence (© BiFangKNT). 106 words, ~466 tokens.

Download SKILL.mdSave it as .claude/skills/tauri/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
tauri
description
构建、调试与发布 Tauri v2 应用的工程化工作流。覆盖项目初始化(create-tauri-app)、前端与 Rust 命令通信(`#[tauri::command]` + `invoke`)、状态管理、Capabilities 权限建模、插件接入、跨平台构建与问题排查。当用户需求涉及“创建 Tauri 项目”“把 Web 前端接到 Rust 后端”“最小权限配置(fs/http/shell)”“接入 Tauri 官方插件”“执行 tauri dev/build”“排查 Tauri 构建或运行错误”时使用此 skill。

Tauri

Overview

以“先跑通主流程,再收紧权限,再扩展插件”为原则执行 Tauri v2 任务。优先给出可执行命令、最小能力权限和可验证的验收步骤。

Workflow

  1. 确认目标:识别是新建项目、接入功能、配置权限、打包发布还是排障。
  2. 建立基线:优先创建最小可运行项目并执行 tauri dev。
  3. 打通通信:先实现一个最小 #[tauri::command] + invoke 闭环,再增加状态和异步逻辑。
  4. 收紧权限:按窗口/功能拆分 capability,只授予任务必需权限。
  5. 增量接入插件:先安装,再注册,再最小权限验证。
  6. 构建发布:按目标平台执行 tauri build,再处理签名、公证、安装包分发。

Decision Tree

  1. 需求是“从零创建或改造前端集成”:读取 references/quickstart.md。
  2. 需求是“Rust 命令、参数、异步、状态注入”:读取 references/command-state.md。
  3. 需求是“权限模型、capabilities、fs/http/shell 约束”:读取 references/security-capabilities.md。
  4. 需求是“官方插件接入流程与权限联动”:读取 references/plugins.md。
  5. 需求是“多平台构建、目标三元组、发布前检查”:读取 references/build-release.md。
  6. 需求是“dev/build 失败或运行异常”:读取 references/troubleshooting.md。

Execution Rules

  1. 优先使用项目已有包管理器(npm/pnpm/yarn/bun/cargo),避免混用。
  2. 在首次改动 Rust 命令后,立即执行一次前端 invoke 冒烟测试。
  3. 对 fs、http、shell 权限执行最小化配置,禁止“全开权限”作为默认方案。
  4. 在 capability 中显式绑定 windows,避免权限泄漏到不相关窗口/WebView。
  5. 在构建前检查 beforeDevCommand、beforeBuildCommand、frontendDist 与前端实际产物路径是否一致。
  6. 输出时同时给出:执行命令、改动文件、验证方式、回滚点。

Output Template

  1. Goal: 本次 Tauri 任务目标。
  2. Changes: 计划或已修改的文件与配置点。
  3. Commands: 按顺序可执行命令(先验证,后变更)。
  4. Verification: 最小验收步骤(dev 运行、命令调用、权限验证、build 结果)。
  5. Risk: 安全与发布风险(权限范围、平台差异、签名/公证缺口)。

References

仅按需读取,不要一次性加载全部文档:

  • 项目初始化与前端接入:references/quickstart.md
  • Rust 命令与状态管理:references/command-state.md
  • 权限模型与 capability:references/security-capabilities.md
  • 插件接入:references/plugins.md
  • 构建发布:references/build-release.md
  • 故障排查:references/troubleshooting.md

© BiFangKNT, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in .codex/skills/tauri of BiFangKNT/mtga.

  • SKILL.md
  • agents/openai.yaml
  • references/build-release.md
  • references/command-state.md
  • references/plugins.md
  • references/quickstart.md
  • references/security-capabilities.md
  • references/troubleshooting.md

Open the folder on GitHubat commit 72669fb

Compare with similar skills

Tauri next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tauri compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tauri this skillBiFangKNT/mtga1.2k—~466Automated safety check: PassAGPL-3.0
Manage Skills Hubqufei1993/skills-hub1.7k—~3.2kAutomated safety check: PassMIT
Rgsm Gui Acceptancemcthesw/game-save-manager1.1k—~1.1kAutomated safety check: PassAGPL-3.0
Cut Releasedelexw/claude-code-trace3771 repos~1.4kAutomated safety check: PassMIT
Update TranslationsRaicuparta/rai-pal734—~839Automated safety check: PassGPL-3.0
Papr Rssl0ng-ai/papr539—~1.1kAutomated safety check: PassMIT

Similar skills

  • Manage Skills Hub

    qufei1993/skills-hub

    A skill your agent uses whenever an Agent needs to query, find, install, deploy, update, tag, adopt, diagnose, or safely remove Skills Hub content, including natural-language requests to manage…

    1.7k GitHub stars~3.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Rgsm Gui Acceptance

    mcthesw/game-save-manager

    Prepare change-specific RGSM GUI acceptance environments and short manual scenarios when the user wants to try a change locally.

    1.1k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Cut Release

    delexw/claude-code-trace

    Cuts a new versioned release of claude-code-trace end-to-end without asking any questions.

    377 GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Update Translations

    Raicuparta/rai-pal

    A skill your agent uses when asked to update translations, localize strings, add new languages, fix missing translation keys, or sync language files in this project.

    734 GitHub stars~839 tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Papr Rss

    l0ng-ai/papr

    Read, search and triage the user's Papr RSS subscriptions from the shell via the papr CLI.

    539 GitHub stars~1.1k tokensUpdated 16 days ago
    Knowledge ManagementAuto-check passed
  • Desktop Release Sync Landing

    Eynzof/Hermes-CN-Desktop

    Use only for stable/public Hermes Agent CN Desktop releases that should be visible to all users.

    1.8k GitHub stars~1.3k tokensUpdated 18 days ago
    DevOps & CloudAuto-check passed

More from BiFangKNT/mtga

  • Ast Grep

    BiFangKNT/mtga

    Write and debug ast-grep rules for structural code search and rewrite.

    1.2k GitHub stars~802 tokensUpdated 3 mo ago
    Auto-check passed
  • Trae Native Debug

    BiFangKNT/mtga

    Maintain, debug, and recover MTGA's Trae native custom-model route.

    1.2k GitHub stars~920 tokensUpdated 3 mo ago
    Auto-check passed
  • Gh CLI

    BiFangKNT/mtga

    使用 GitHub CLI (gh) 执行非交互式 GitHub 协作与自动化任务(PR、Issue、Actions、Release、API 查询/修改)。当用户要求“用 gh 命令完成任务”、需要结构化 JSON 输出(--json/--jq)、批量处理 PR/Issue(如“批量 review 多个 PR”)、按策略合并(如“检查通过后自动 squash 合并”)时使用此 skill。

    1.2k GitHub stars~599 tokensUpdated 3 mo ago
    Auto-check passed
  • Uv

    BiFangKNT/mtga

    在 Windows/macOS/Linux 上使用 uv 执行 Python 运行、依赖同步、锁文件管理、Python 版本管理与工具命令(uv run、uv sync、uv lock、uv python、uv tool)。当任务涉及“用 uv 运行脚本/命令”“临时依赖(--with)”“锁文件一致性(--locked/--frozen)”“跨平台…

    1.2k GitHub stars~541 tokensUpdated 3 mo ago
    Auto-check passed
  • Pwsh

    BiFangKNT/mtga

    在 Windows PowerShell 5.1 与 PowerShell 7 中编写和执行稳定命令,重点处理引号、管道符、原生命令参数传递与跨版本兼容。遇到 --jq/过滤表达式被 PowerShell 误解析、同一命令在 pwsh5 与 pwsh7 行为不一致、或需要为 pwsh7.3+ 增加参数传递适配时使用此 skill。

    1.2k GitHub stars~338 tokensUpdated 3 mo ago
    Auto-check passed

Works with

Questions about Tauri

What does Tauri do?

构建、调试与发布 Tauri v2 应用的工程化工作流。覆盖项目初始化(create-tauri-app)、前端与 Rust 命令通信([tauri::command] + invoke)、状态管理、Capabilities 权限建模、插件接入、跨平台构建与问题排查。当用户需求涉及“创建 Tauri 项目”“把 Web 前端接到 Rust…. Tauri is an agent skill from BiFangKNT/mtga.

How do I install Tauri in Claude Code?

Run `npx skills add BiFangKNT/mtga --skill tauri -a claude-code`. Or copy the skill folder (.codex/skills/tauri in BiFangKNT/mtga) into .claude/skills/tauri in your project. Claude Code loads it when a task matches its description.

How do I install Tauri in Codex?

Run `npx skills add BiFangKNT/mtga --skill tauri -a codex`. Or copy the skill folder (.codex/skills/tauri in BiFangKNT/mtga) into .agents/skills/tauri in your project. Codex loads it when a task matches its description.

Can I use Tauri in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add BiFangKNT/mtga --skill tauri -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tauri, .gemini/skills/tauri, .github/skills/tauri and .opencode/skills/tauri in your project.

What does Tauri need to run?

SKILL.md names no scripts, command-line tools or credentials: Tauri is instructions for the agent only.

Does Tauri access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tauri safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tauri use?

Tauri is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tauri use?

About 466 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Tauri?

Skills that share tags, products or a category with Tauri: Manage Skills Hub (qufei1993/skills-hub, 1.7k stars), Rgsm Gui Acceptance (mcthesw/game-save-manager, 1.1k stars), Cut Release (delexw/claude-code-trace, 377 stars) and Update Translations (Raicuparta/rai-pal, 734 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tauri?

BiFangKNT (a GitHub user) maintains it in BiFangKNT/mtga, which has 1,169 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on June 18, 2026.

Source: BiFangKNT/mtga on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.