一键导入
swift-upgrade
Update all Swift dependencies to their latest versions. Use when the user asks to upgrade, update, or bump Swift package dependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update all Swift dependencies to their latest versions. Use when the user asks to upgrade, update, or bump Swift package dependencies.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | swift-upgrade |
| description | Update all Swift dependencies to their latest versions. Use when the user asks to upgrade, update, or bump Swift package dependencies. |
| allowed-tools | Bash(swift outdated), Bash(swift package update) |
a. Run the command to check for outdated Swift dependencies:
swift outdated
b. Manually set the Swift dependencies in Package.swift to their latest versions, including breaking changes.
Note: No need to verify if the project builds successfully after the update, and do not try to search for latest versions using any method other than the swift outdated command.
c. After updating the dependencies, run the following command to update the package:
swift package update
d. Display a list of updated dependencies, with ⚠️ in front of the dependencies that were updated to a breaking change.