rig-migrate
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Rig Migration Assistant
Current project Rig version (auto-detected):
!`grep -E '^rig-core|^rig ' Cargo.toml 2>/dev/null || grep -rE 'rig-core\s*=' Cargo.toml */Cargo.toml 2>/dev/null | head -5 || echo "rig-core version not found in Cargo.toml"`
Latest Rig release:
!`cargo search rig-core --limit 1 2>/dev/null || echo "Could not fetch latest version. Check https://crates.io/crates/rig-core"`
Migration Workflow
- Detect: Compare current version against target version.
- Audit: Search for deprecated patterns and breaking API usages.
- Plan: List all files and changes required.
- Migrate: Apply changes systematically.
- Validate: Run
cargo fmt,cargo clippy --all-targets --all-features,cargo test.
Related skills