tauri-framework-upgrade
$
npx mdskill add partme-ai/full-stack-skills/tauri-framework-upgradeMigrates Tauri apps between major versions by handling breaking changes in config, plugins, and permissions.
- Helps developers upgrade Tauri apps from v1 to v2 or from v2 beta to v2 stable.
- Integrates with the Tauri CLI and uses npm commands for migration tasks.
- Triggers on phrases like 'migrate', 'upgrade', or mentions of breaking changes.
- Provides step-by-step instructions and code snippets for updating configuration files.
SKILL.md
.github/skills/tauri-framework-upgradeView on GitHub ↗
---
name: tauri-framework-upgrade
description: "Migrate Tauri apps from v1 to v2 or from v2 beta to v2 stable, handling breaking changes in config, plugins, and permissions. Use when upgrading Tauri versions, resolving migration errors, or updating config/capability formats for v2."
license: Complete terms in LICENSE.txt
---
## When to use this skill
**ALWAYS use this skill when the user mentions:**
- Upgrading from Tauri v1 to v2
- Migrating from v2 beta to v2 stable
- Breaking changes in config or permissions
**Trigger phrases include:**
- "migrate", "upgrade", "v1 to v2", "breaking changes", "migration", "tauri update"
## How to use this skill
1. **Run the migration command**:
```bash
npx @tauri-apps/cli migrate
```
2. **Key breaking changes from v1 to v2**:
- `allowlist` replaced with **capabilities system** (`src-tauri/capabilities/default.json`)
- `tauri` config key renamed to `app`
- Plugins moved from built-in to `cargo add tauri-plugin-*`
- Event system now uses typed payloads
3. **Update tauri.conf.json** to v2 format:
```json
{
"identifier": "com.example.app",
"app": { "windows": [{ "label": "main" }] },
"build": { "frontendDist": "../dist" }
}
```
4. **Create capabilities/default.json** to replace the old allowlist:
```json
{ "identifier": "default", "windows": ["main"], "permissions": ["core:default"] }
```
5. **Update Cargo.toml** dependencies to v2 versions
6. **Validate** by running `npm run tauri dev` and resolving any compile or runtime errors
## Outputs
- Migration command and automated changes
- Config format mapping (v1 to v2)
- Capabilities file replacing allowlist
- Post-migration validation checklist
## References
- https://v2.tauri.app/start/migrate/from-tauri-1/
- https://v2.tauri.app/start/migrate/from-tauri-2-beta/
## Keywords
tauri upgrade, migrate, v1 to v2, breaking changes, migration, version update
More from partme-ai/full-stack-skills
- adobe-xd"Guides creation of UI/UX designs, interactive prototypes, reusable components, and design specs in Adobe XD. Use when the user asks about Adobe XD artboards, prototype links, repeat grids, component states, design tokens export, or developer handoff."
- angular"Provides comprehensive guidance for Angular framework including components, modules, services, dependency injection, routing, forms, and TypeScript integration. Use when the user asks about Angular, needs to create Angular applications, implement Angular components, or work with Angular features."
- ansible"Provides comprehensive guidance for Ansible automation including playbooks, roles, inventory, and module usage. Use when the user asks about Ansible, needs to automate IT tasks, create Ansible playbooks, or manage infrastructure with Ansible."
- ant-design-mini"Builds mini-program UIs with Ant Design Mini components for Alipay and WeChat mini-programs. Covers Button, Form, List, Modal, Tabs, NavBar, and 60+ components with theme customization and CSS variable theming. Use when the user needs to create mini-program interfaces with Ant Design Mini, configure themes, or implement mini-program-specific UI patterns."
- ant-design-mobile"Builds React mobile UIs with Ant Design Mobile (antd-mobile) components including Button, Form, List, Modal, Picker, Tabs, PullToRefresh, InfiniteScroll, and 50+ mobile-optimized components. Use when the user needs to create mobile-first React interfaces, implement mobile navigation, forms, or data display with Ant Design Mobile."
- ant-design-react"Builds enterprise React UIs with Ant Design (antd) including 60+ components (Button, Form, Table, Select, Modal, Message), design tokens, TypeScript support, and ConfigProvider theming. Use when the user needs to create React applications with Ant Design, build forms with validation, display data tables, or customize the Ant Design theme."
- ant-design-vueProvides comprehensive guidance for Ant Design Vue (AntDV) component library for Vue 3. Covers installation, usage, API reference, templates, and all component categories. Use when building enterprise-class UI with Vue 3 and Ant Design.
- api-doc-generator"Generate API documentation by scanning Controller classes, extracting endpoint URLs, HTTP methods, parameters, and response structures, then producing standardized docs from templates. Use when the user explicitly mentions generating API documentation, creating API docs, scanning interfaces, or documenting REST APIs. Do not trigger for generic documentation requests without explicit API mention."
- appium"Provides comprehensive guidance for Appium mobile testing including mobile app automation, element location, gestures, and cross-platform testing. Use when the user asks about Appium, needs to test mobile applications, automate mobile apps, or write Appium test scripts."
- ascii-ansi-colorizer"Add an ANSI color layer to existing ASCII/plain-text output (gradient/rainbow/highlights) with alignment-safe rules and a required no-color fallback. Use when the user wants to colorize terminal output, add rainbow effects to CLI text, or style ASCII art with ANSI colors."