upgrade-python-deps
Upgrade Python dependencies using uv, then run post-upgrade checks to ensure nothing is broken.
How do I install this agent skill?
npx skills add https://github.com/saaspegasus/django-skills --skill upgrade-python-depsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill automates Python dependency management using the uv tool. It upgrades the project's lock file, synchronizes the environment, and runs validation checks including static type analysis with mypy and test execution via make. The skill is a standard developer utility with properly scoped tool permissions.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1/1 file flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Your task
Upgrade all Python dependencies and verify nothing is broken.
Step 1: Upgrade the lock file
Run uv lock --upgrade --exclude-newer "7 days" to upgrade all dependencies to their latest compatible
versions (with a 7-day cooldown to mitigate supply-chain attacks).
Review the output for any resolution errors. If there are conflicts, report them to the user and ask how to proceed before continuing.
Step 2: Sync the environment
Run uv sync to install the upgraded dependencies into the virtual environment.
Step 3: Run post-upgrade checks
Run these checks sequentially, stopping if any step fails:
- Type checking: Run
uv run mypy .and report any new type errors. These may be caused by updated type stubs or changes in library APIs. - Tests: Run
make testto verify the test suite still passes.
Step 4: Summarize and commit
Summarize what was done:
- Which packages were upgraded (notable version changes)
- Whether any type errors were introduced
- Whether all tests passed
- Any issues that need manual attention
If there were failures, present the issues and ask how the user wants to proceed.
If everything passed, ask the user if they'd like to commit the changes. If yes, commit
using the /commit skill.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/saaspegasus/django-skills/upgrade-python-deps">View upgrade-python-deps on skillZs</a>