Full-stack-skills tauri-framework-upgrade
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.
install
source · Clone the upstream repo
git clone https://github.com/partme-ai/full-stack-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/partme-ai/full-stack-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tauri-skills/tauri-framework-upgrade" ~/.claude/skills/partme-ai-full-stack-skills-tauri-framework-upgrade && rm -rf "$T"
manifest:
skills/tauri-skills/tauri-framework-upgrade/SKILL.mdsource content
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
- Run the migration command:
npx @tauri-apps/cli migrate - Key breaking changes from v1 to v2:
replaced with capabilities system (allowlist
)src-tauri/capabilities/default.json
config key renamed totauriapp- Plugins moved from built-in to
cargo add tauri-plugin-* - Event system now uses typed payloads
- Update tauri.conf.json to v2 format:
{ "identifier": "com.example.app", "app": { "windows": [{ "label": "main" }] }, "build": { "frontendDist": "../dist" } } - Create capabilities/default.json to replace the old allowlist:
{ "identifier": "default", "windows": ["main"], "permissions": ["core:default"] } - Update Cargo.toml dependencies to v2 versions
- Validate by running
and resolving any compile or runtime errorsnpm run tauri dev
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