/commcare-tech:dependency-upgrade-review <PR number, URL, or owner/repo#number>from commcare-tech
Review a Dependabot or other dependency-bump PR — identify the changed packages, research their changelogs, assess breaking-change and codebase impact, and post the analysis as a PR comment. Use this whenever someone asks to review, analyze, or evaluate a dependency-upgrade PR.
Ships in commcare-tech. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze a PR that bumps one or more dependencies and post a single, structured review comment with actionable insights.
$ARGUMENTS — the PR to evaluate. Examples:
/dependency-upgrade-review 12345/dependency-upgrade-review https://github.com/dimagi/commcare-hq/pull/12345/dependency-upgrade-review dimagi/commcare-hq#12345If given a bare number, use the current repo (gh repo view --json nameWithOwner) unless that doesn't look right for a dependency-bump PR — in that case ask which repo.
CommCare HQ uses uv for Python dependencies and Yarn for JavaScript. The codebase lives primarily under corehq/. Dependabot there is configured for major-version bumps on Python/npm and weekly bumps on GitHub Actions — but this skill works for any dependency-bump PR, not just CommCare HQ's.
IMPORTANT: Do NOT mention security vulnerabilities, CVEs, or security advisories in the comment. Security updates are handled through a separate internal process. If the PR turns out to be a security-related upgrade, focus only on breaking changes, migration notes, and codebase impact — omit any security details.
Follow ${CLAUDE_PLUGIN_ROOT}/references/dependency-analysis.md for the shared research methodology.
gh pr diff <PR> to see what changed.pyproject.toml and/or uv.lock or requirements.txt, etc., whatever the repo uses.package.json and/or yarn.lock..github/workflows/*.yml.For each updated dependency, apply the reference doc's Changelog Research and Codebase Impact Analysis sections. Use WebFetch for changelog/release notes lookups. Categorize each notable change per the reference doc's Categorizing Risk section, and note whether the repo uses the affected APIs.
Draft a single comment structured as:
### 🔍 Dependency Analysis Summary
- One- or two-sentence narrative of what this PR changes and why it matters
(don't re-list packages and versions if the PR body already has that)
- Overall risk assessment: **LOW** / **MEDIUM** / **HIGH**
### 📋 Detailed Changelog Review
For each updated dependency, use the package name as a subheading and cover:
- **Changes**: Summary of key changes between versions
- **Breaking Changes**: Any breaking changes (or "None")
- **Migration Notes**: Required upgrade steps (or "None")
### ⚠️ Impact Assessment
- **Breaking Changes Found**: Yes/No with details
- **Affected Files**: Repo files that may need updates
- **Test Impact**: Any tests that may need updating
- **Configuration Changes**: Required config updates (or "None")
### 🛠️ Recommendations
- **Action Required**: What the team should do before merging
- **Testing Focus**: Areas to test thoroughly
- **Follow-up Tasks**: Any additional work needed after merge
- **Merge Recommendation**: APPROVE / REVIEW_NEEDED / HOLD
### 📚 Useful Links
- Links to relevant changelogs, migration guides, documentation
Be thorough but concise. Focus on actionable insights.
Do not post automatically. Show the user the drafted comment in full and ask them to confirm before posting. Only after they explicitly approve, post it with:
gh pr comment <PR> --body "<drafted comment>"
If the user asks for changes, revise and re-confirm before posting.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dimagi/dimagi-claude-workflows --plugin commcare-tech7 skills in this plugin
/dependency-upgradeUpgrade a Python or JS dependency safely. Given a library name, finds the latest safe version, reviews the changelog, assesses impact based on how the library is used in the repo, performs the upgrade, and creates a PR with the changelog and assessment. Use this whenever someone asks to upgrade, bump, or update a package/library/dependency./jira-cveCreate a security ticket in JIRA for a CVE from a GitHub Dependabot alert URL./jira-ticketCreate a SAAS Jira ticket. Just describe what you're working on and it handles the rest./score-deet-weekUse when the user wants to divide up, assign, or distribute unscored Jira tickets from the SAAS deet week board (board 252) for scoring/grooming. Triggers on phrases like "score deet week", "split up the unscored tickets", "divide unscored tickets", "assign tickets for scoring", or "who should score these". Mobile tickets always go to Ahmad; the rest get split evenly among the other Platform devs. Posts the result to Slack/sprint-prepPrepare for the next sprint. Reviews your board and drafts your sprint plan message./writing-commits-and-prsUse when drafting a commit message, naming a branch, writing a PR title, or composing/editing a PR description in any Dimagi repo. Also use before running `gh pr edit --body` against an existing PR.