osprey-migrate
将下游 OSPREY 项目升级到更新版本。应用迁移文档中的 API 更改(方法重命名、类重命名、导入更改)。在升级 OSPREY 版本、从旧 API 迁移或用户要求升级、迁移或更新其 OSPREY 项目时使用。
📖 中文导读:将下游 OSPREY 项目升级到更新版本。应用迁移文档中的 API 更改(方法重命名、类重命名、导入更改)。在升级 OSPREY 版本、从旧 API 迁移或用户要求升级、迁移或更新其 OSPREY 项目时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: osprey-migrate description: > Upgrades downstream OSPREY projects to newer versions. Applies API changes (method renames, class renames, import changes) from migration documents. Use when upgrading OSPREY version, migrating from old APIs, or when the user asks to upgrade, migrate, or update their OSPREY project. allowed-tools: Read, Glob, Grep, Bash, Edit
OSPREY Migration Assistant
This skill helps you upgrade your OSPREY-based project to a newer version.
Instructions
Follow the detailed migration workflow in instructions.md.
Data Files
- Migration documents: versions/ - YAML files describing changes for each version
- Schema: schema.yml - Migration document format specification
Quick Reference
- Ensure clean git state
- Detect current OSPREY version
- Load migration YAML for target version
- Show dry-run report of all changes
- Apply changes after user confirmation
- Run validation commands
- Provide summary and next steps