updating-tauri-dependencies
Assists users with updating Tauri dependencies including the Tauri CLI, Rust crates, JavaScript packages, and checking for outdated versions to upgrade to the latest version.
What this skill does
# 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:
```bash
npm install @tauri-apps/cli@latest @tauri-apps/api@latest
```
Check for outdated packages:
```bash
npm outdated @tauri-apps/cli
npm outdated @tauri-apps/api
```
### Using yarn
Update Tauri CLI and API packages:
```bash
yarn up @tauri-apps/cli @tauri-apps/api
```
Check for outdated packages:
```bash
yarn outdated @tauri-apps/cli
yarn outdated @tauri-apps/api
```
### Using pnpm
Update Tauri CLI and API packages:
```bash
pnpm update @tauri-apps/cli @tauri-apps/api --latest
```
Check for outdated packages:
```bash
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](https://crates.io/crates/tauri/versions)
- [tauri-build crate versions](https://crates.io/crates/tauri-build/versions)
2. Edit `src-tauri/Cargo.toml` and update the version numbers:
```toml
[build-dependencies]
tauri-build = "2.0"
[dependencies]
tauri = { version = "2.0", features = [] }
```
3. Run cargo update from the src-tauri directory:
```bash
cd src-tauri && cargo update
```
### Using cargo-edit (Automatic)
Install cargo-edit if not already installed:
```bash
cargo install cargo-edit
```
Upgrade Tauri dependencies automatically:
```bash
cd src-tauri && cargo upgrade tauri tauri-build
```
---
## Checking for Updates
### Check All Tauri Dependencies
JavaScript packages:
```bash
# npm
npm outdated | grep tauri
# yarn
yarn outdated | grep tauri
# pnpm
pnpm outdated | grep tauri
```
Rust crates:
```bash
cd src-tauri && cargo outdated | grep tauri
```
Note: `cargo outdated` requires the cargo-outdated tool:
```bash
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
```bash
# 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`:
```toml
[dependencies]
tauri-plugin-shell = "2.0"
```
Then update:
```bash
cd src-tauri && cargo update
```
---
## Complete Update Workflow
To update all Tauri dependencies in a project:
1. Update JavaScript dependencies:
```bash
# Using npm (adjust for your package manager)
npm install @tauri-apps/cli@latest @tauri-apps/api@latest
```
2. Update any Tauri plugins on the JavaScript side:
```bash
npm install @tauri-apps/plugin-shell@latest @tauri-apps/plugin-fs@latest
# Add other plugins as needed
```
3. Update Rust dependencies in `src-tauri/Cargo.toml`
4. Run cargo update:
```bash
cd src-tauri && cargo update
```
5. Rebuild the project to verify compatibility:
```bash
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:
```bash
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.
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.