upgrade-dependencies-pr
Upgrade Dependencies PR
Use this skill to take a JavaScript, TypeScript, or Python repository from outdated dependencies to a reviewable dependency-upgrade PR in one pass.
Preconditions
- Confirm the repository uses Git and GitHub, and that
ghis authenticated before attempting issue or PR creation. - Stop if the working tree contains unrelated user changes that would be risky to mix into the dependency branch.
- Detect the ecosystem and package manager from tracked manifests, lockfiles, and workspace config before changing anything.
- Read references/package-manager-playbook.md after detection and use only the relevant section.
Workflow
1. Inventory the project
- Find the tracked dependency manifests that actually govern this repo. For JS/TS, inspect
package.jsonfiles plus lockfiles and workspace config. For Python, inspectpyproject.toml,uv.lock,requirements*.in,requirements*.txt,constraints*.txt,setup.cfg, andsetup.py. - Identify whether the repo is JS/TS, Python, or mixed. Do not reject a repo just because there is no root
package.json; use the manifests that are actually present. - Record the current branch, package manager, lockfiles, workspace layout, and available validation commands such as
typecheck,lint,test,test:unit,build,pytest,ruff,mypy, and project-specific CI entrypoints. - Flag framework- or runtime-critical packages first: frameworks, bundlers, test runners, linters, TypeScript, Node tooling, auth, database clients, SDKs, deployment libraries, Python web frameworks, ORMs, packaging/build backends, and lint/type-check tooling.
More from uwe-schwarz/skills
github-pr-review-workflow
Complete workflow for handling GitHub PR reviews using gh pr-review extension
40coderabbit-review
Perform code review using CodeRabbit. Must use this skill if instructed to perform a CodeRabbit review.
9documentation
Automated documentation generation and management. Use for creating, updating, and maintaining project documentation including README files, API docs, and inline code comments.
8example-skill
An example skill demonstrating the Agent Skills format. Use this as a template for creating your own skills.
8your-skill-name
A clear description of what this skill does and when to use it. This should be comprehensive so agents understand when to activate this skill.
8code-review
Comprehensive code review guidelines for ensuring code quality, security, and maintainability. Use when reviewing pull requests, refactoring code, or ensuring best practices.
8