microsoft/haste-dependency-update
Guide for safely updating project dependencies. Use when asked to update packages, upgrade dependencies, or check for outdated libraries.
npx skills add https://github.com/microsoft/haste --skill dependency-update
A structured process for safely updating project dependencies. Updates are categorized by risk level and applied in controlled batches with verification at each step.
Step 1: Audit
# Python
pip list --outdated
# JavaScript
npm outdated
Step 2: Categorize — Group by risk tier (patch, minor, major).
Step 3: Update per batch
cd hastelib && hatch build -t wheel — check buildcd hastelib && hatch run test:pytest — check behaviorcd ui && npm run lint — check for new warningsStep 4: Security check — Scan for known vulnerabilities.
Step 5: Commit — One commit per logical group:
chore(deps): update [package] from vX to vY
| Update Type | Risk | Strategy |
|------------|------|----------|
| Patch | Low | Batch all, update together |
| Minor (well-known pkg) | Low-Med | Small batches of 3-5 |
| Minor (niche pkg) | Medium | One at a time, check changelog |
| Major | High | One at a time, read migration guide |
| Security fix | Critical | Update immediately, regardless of type |
Take microsoft/haste-dependency-update from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.