Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/Arete-Consortium/ai-skills --skill migrateコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SKILL.md を表示中
| name | migrate |
| description | Code Migration Helper |
| lifecycle | experimental |
Assist with dependency upgrades, API changes, and version migrations.
/migrate dep requests 2.28 2.31 # Upgrade dependency
/migrate python 3.9 3.12 # Python version upgrade
/migrate framework django 4.0 5.0 # Framework upgrade
/migrate --breaking # Find breaking changes only
# Migration Report: [package] v1.0 → v2.0
## Summary
| Category | Count |
|----------|-------|
| Breaking Changes | 3 |
| Deprecations | 5 |
| New Features | 12 |
## Breaking Changes
### 1. `old_function()` removed
**Replacement**: `new_function()`
**Affected Files**: 5
```python
# Before
from package import old_function
result = old_function(arg)
# After
from package import new_function
result = new_function(arg, new_required_arg=True)
Files to Update:
process()Before: dict
After: ProcessResult (dataclass)
# Before
result = process(data)
value = result["key"]
# After
result = process(data)
value = result.key
legacy_api() deprecatedReplacement: modern_api()
Deadline: v3.0
# Now available
result = await package.async_process(data)
# Update dependency
pip install package==2.0
# Run tests
pytest
# Check for remaining deprecated usage
grep -r "old_function\|legacy_api" src/
## Common Migrations
### Python Version Upgrade
```markdown
## Python 3.9 → 3.12
### Syntax Changes
- `dict | dict` union syntax (3.9+)
- `match` statement (3.10+)
- `type` statement for type aliases (3.12+)
### Removed
- `asyncio.coroutine` decorator (use `async def`)
- `collections.` ABCs (use `collections.abc.`)
### New Features
- `tomllib` built-in (3.11+)
- Improved error messages
- Faster startup
1. [ ] Read changelog/release notes
2. [ ] Check for breaking changes
3. [ ] Update version constraint
4. [ ] Run tests
5. [ ] Fix failures
6. [ ] Update deprecated usage
7. [ ] Test manually
8. [ ] Commit with clear message
When /migrate is invoked: