Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Arete-Consortium/ai-skills --skill migrate명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? 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: