Catch Breaking Changes in a Dependency Upgrade Before You Merge

Read the story behind this prompt
Regression testing checklist template (with AI prompts)
Read the articleTap any variable to replace it with your own value:
AI prompt
Act as a senior engineer assessing the risk of upgrading a dependency before merging it. Package: [name], currently on [old version], upgrading to [new version]. Ecosystem: [e.g. npm/Python/Ruby gem]. I'll paste the changelog/release notes between these versions: [paste changelog]. Produce: (1) a plain list of every BREAKING change stated in the changelog, translated into 'here's what could actually break in a typical app' terms, not just the changelog's own wording; (2) a specific grep/search pattern I could run against my codebase to find usages of anything that changed; (3) a risk rating (Low/Medium/High) with one sentence justifying it; (4) whether this looks safe to auto-merge via a bot or needs a human to actually test the upgrade first, and why. If the changelog doesn't give you enough to assess a specific claim, say what's missing rather than assuming it's safe.
Related prompts
- Audit your project's dependencies for risk before you upgrade
Assess your wider dependency risk before batching more upgrades.
- Write a Regression Test Checklist for a Risky Refactor
Plan regression checks around the breakages the upgrade might trigger.
- Turn a pull request diff into a focused security review
Check the pull request for security risks before merging the upgrade.
- Review a Pull Request Against Your Team's Actual Conventions
Review the upgrade pull request against your team's own standards.
- Generate a custom code review checklist for your exact stack
Build a stack-specific review checklist for future dependency upgrade PRs.