Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问clear审计通过

updating-tauri-dependenciesupdating Tauri dependencies 命令行

Agent Skill

updating-tauri-dependencies 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,317

周安装

56

GitHub Stars

18

下载量

461
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:updating-tauri-dependencies(updating Tauri dependencies 命令行)
来源仓库:https://github.com/dchuk/claude-code-tauri-skills
仓库路径:skills/updating-tauri-dependencies
安装命令:
npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill updating-tauri-dependencies
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill updating-tauri-dependencies

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 注意该技能分类为开发,可能与 Tauri 应用构建相关。

SKILL.md

Updating Tauri Dependencies

This skill provides guidance for updating Tauri dependencies across both the JavaScript and Rust ecosystems.

Version Synchronization (Critical)

The JavaScript @tauri-apps/api package and Rust tauri crate must maintain matching minor versions. Adding new features requires upgrading both sides to ensure compatibility.

For Tauri plugins, maintain exact version parity (e.g., both 2.2.1) for the npm package and cargo crate.


Updating JavaScript Dependencies

Using npm

Update Tauri CLI and API packages:

npm install @tauri-apps/cli@latest @tauri-apps/api@latest

Check for outdated packages:

npm outdated @tauri-apps/cli
npm outdated @tauri-apps/api

Using yarn

Update Tauri CLI and API packages:

yarn up @tauri-apps/cli @tauri-apps/api

Check for outdated packages:

yarn outdated @tauri-apps/cli
yarn outdated @tauri-apps/api

Using pnpm

Update Tauri CLI and API packages:

pnpm update @tauri-apps/cli @tauri-apps/api --latest

Check for outdated packages:

pnpm outdated @tauri-apps/cli
pnpm outdated @tauri-apps/api

Updating Rust Dependencies

Manual Update

  1. Check the latest versions on crates.io:

- tauri crate versions - tauri-build crate versions

  1. Edit src-tauri/Cargo.toml and update the version numbers:
[build-dependencies]
tauri-build = "2.0"

[dependencies]
tauri = { version = "2.0", features = [] }
  1. Run cargo update from the src-tauri directory:
cd src-tauri && cargo update

Using cargo-edit (Automatic)

Install cargo-edit if not already installed:

cargo install cargo-edit

Upgrade Tauri dependencies automatically:

cd src-tauri && cargo upgrade tauri tauri-build

Checking for Updates

Check All Tauri Dependencies

JavaScript packages:

# npm
npm outdated | grep tauri

# yarn
yarn outdated | grep tauri

# pnpm
pnpm outdated | grep tauri

Rust crates:

cd src-tauri && cargo outdated | grep tauri

Note: cargo outdated requires the cargo-outdated tool:

cargo install cargo-outdated

Updating Tauri Plugins

When updating Tauri plugins, both the npm package and Rust crate must be updated to the same version.

Example for updating a plugin (e.g., shell plugin):

JavaScript side

# npm
npm install @tauri-apps/plugin-shell@latest

# yarn
yarn up @tauri-apps/plugin-shell

# pnpm
pnpm update @tauri-apps/plugin-shell --latest

Rust side

Edit src-tauri/Cargo.toml:

[dependencies]
tauri-plugin-shell = "2.0"

Then update:

cd src-tauri && cargo update

Complete Update Workflow

To update all Tauri dependencies in a project:

  1. Update JavaScript dependencies:
# Using npm (adjust for your package manager)
npm install @tauri-apps/cli@latest @tauri-apps/api@latest
  1. Update any Tauri plugins on the JavaScript side:
npm install @tauri-apps/plugin-shell@latest @tauri-apps/plugin-fs@latest
# Add other plugins as needed
  1. Update Rust dependencies in src-tauri/Cargo.toml
  2. Run cargo update:
cd src-tauri && cargo update
  1. Rebuild the project to verify compatibility:
npm run tauri build
# or
cargo tauri build

Troubleshooting

Version Mismatch Errors

If you encounter version mismatch errors between JavaScript and Rust dependencies:

  1. Verify both sides use matching minor versions
  2. Check package.json for @tauri-apps/api version
  3. Check src-tauri/Cargo.toml for tauri crate version
  4. Ensure they align (e.g., both at 2.x)

Cargo Lock Conflicts

If Cargo.lock has conflicts after updating:

cd src-tauri && rm Cargo.lock && cargo update

Plugin Version Mismatch

For plugin version mismatches, ensure exact version parity between npm and cargo versions of the same plugin.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

26.34%
按下载量换算121

Antigravity

24.57%
按下载量换算113

windsurf

18.78%
按下载量换算87

Gemini CLI

12.75%
按下载量换算59

OpenCode

7.63%
按下载量换算35

Codex

3.4%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/dchuk/claude-code-tauri-skills --skill updating-tauri-dependencies;npx skills add dchuk/claude-code-tauri-skills --skill "updating-tauri-dependencies" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills