tauri-framework-upgrade
Installation
SKILL.md
When to use this skill
ALWAYS use this skill when the user mentions:
- Upgrading from Tauri v1 to v2 / 从 v1 升级到 v2
- Migrating from v2 beta to v2 stable / v2 beta 迁移到稳定版
- Breaking changes in config or permissions / 配置或权限变更
Trigger phrases include:
- "migrate", "upgrade", "breaking changes", "v1 to v2"
- "升级", "迁移", "配置变更", "权限变更"
How to use this skill
- Identify current version and target / 确认当前版本与目标版本
- Review breaking changes across config, plugins, permissions / 盘点变更点
- Update tauri.conf.json and plugin layouts / 更新配置与插件位置
- Migrate capabilities/default.json and scopes / 迁移能力与 Scope
- Validate IPC, CSP, and runtime behavior / 验证 IPC、CSP 与运行行为
Outputs
- Migration checklist / 迁移清单
- Updated config mapping / 更新后的配置映射
- Post-upgrade validation plan / 升级后验证计划
Scope
- Boundary: Version migration and validation only / 仅限迁移与验证
- Key points: Config structure and capability system changes / 配置与权限体系
- Out of scope: feature redesign / 不包含功能重构
References
- https://v2.tauri.app/start/migrate/
- https://v2.tauri.app/start/migrate/from-tauri-1/
- https://v2.tauri.app/start/migrate/from-tauri-2-beta/
Keywords
tauri upgrade, migrate, v2, breaking changes, config migration, 升级, 迁移, 配置变更
Related skills
More from partme-ai/tauri-skills
tauri
Comprehensive index for Tauri framework development, including Rust backend, frontend integration, and full plugin ecosystem. Acts as a router to specialized sub-skills with local examples and templates.
1tauri-app-positioner
Guidance for Tauri v2 positioner plugin with multi-display alignment strategies.
1tauri-app-nfc
Guidance for Tauri v2 NFC plugin with session handling and data validation.
1tauri-build
Guidance for Tauri v2 production builds, signing, and distribution artifacts.
1tauri-app-shell
Guidance for Tauri v2 shell plugin with secure command execution and open behavior.
1tauri-app-store
Guidance for Tauri v2 store plugin with key-value persistence and lazy loading.
1