update-dependencies
星标0
分支0
更新时间2026年6月7日 18:11
Updates project dependencies and updates the reference repositories under reference/.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Updates project dependencies and updates the reference repositories under reference/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-dependencies |
| description | Updates project dependencies and updates the reference repositories under reference/. |
| disable-model-invocation | true |
I need you to update the dependencies in pyproject.toml
The process to go through is:
pyproject.toml.
Never include patch versions in the lower bound -- only specify major.minor. If only the patch version changed, no update is needed.
For example, if the current version is >=1.5,<2.0 and the latest is 1.11.3, change to >=1.11,<2.0 (bump the minor, omit the patch).
If the current version is >=1.5,<2.0 and the latest is 1.5.8, no change is needed (only the patch changed).uv_build version in the pyproject.toml to the latest version. You can find the latest version here: https://pypi.org/project/uv-build/#historyuv sync -U --all-extras --all-groups to update the lock file. Do this regardless of whether you updated the pyproject.toml or not.Keeps reference/<repo> in sync with the upstream version this project depends on. Run all commands from the repo root. All clones are shallow (--depth 1 --single-branch).
Repos:
reference/agent-tui from https://github.com/DavidKoleczek/agent-tui at branch vopentui.PowerShell:
$url = "<repo URL>"
$branch = "<branch>"
$dst = "<dst path, e.g. reference\opencode>"
if (Test-Path "$dst\.git") {
git -C $dst fetch --depth 1 origin $branch
# Move HEAD to the freshly fetched tip; a shallow clone has no local branch ref to fast-forward.
git -C $dst reset --hard FETCH_HEAD
} else {
if (Test-Path $dst) { Remove-Item -Recurse -Force $dst }
git clone --depth 1 --branch $branch --single-branch $url $dst
}
Bash:
url="<repo URL>"
branch="<branch>"
dst="<dst path, e.g. reference/opencode>"
if [ -d "$dst/.git" ]; then
git -C "$dst" fetch --depth 1 origin "$branch"
git -C "$dst" reset --hard FETCH_HEAD
else
rm -rf "$dst"
git clone --depth 1 --branch "$branch" --single-branch "$url" "$dst"
fi