AI prompts for Developers

Prompt to plan a library or framework upgrade

Reads the release notes you paste, finds breaking changes that affect your code, and orders a safe upgrade plan.

When to use it Before a major-version upgrade of a core framework or library.

The prompt, ready to copy

Role: developer responsible for project dependencies.
Task: plan upgrading [library name] from [current version] to [new version].
Release notes or migration guide:
<source>
[Paste the official migration guide or release notes]
</source>
Where my project uses it:
<code>
[Search results for usages, or the key files, no secrets]
</code>
Constraints:
- Rely only on the pasted release notes, not your memory of versions
- Map each breaking change to usages in my code; if no usage appears, write: not visible in the pasted code
- Small, reversible steps
Output:
1. Breaking changes that affect me: change | files | required edit
2. Changes that likely do not affect me
3. Upgrade plan in order, with a test run after each step
4. Rollback plan

Example of filled brackets

Library: Astro from version 5 to 6
Source: the official migration guide
Code: config file and search results for content collections usage

Check these before you use it

  • Do the upgrade on a separate branch and run the full test suite
  • Read the migration guide yourself for the critical parts

How to use this prompt

  1. Copy the prompt: Press the copy button or select the whole text.
  2. Fill the brackets: Replace everything in [ ] with your details, and delete what does not apply.
  3. Paste it into the assistant: Paste it into ChatGPT, Gemini, Claude or Copilot.
  4. Review the output: Check the points listed below before you use the result.

All Developers prompts