Move supported code onto current APIs
For maintainers replacing obsolete usage with source-backed, compatibility-aware code.
Works with
- Cursor
The prompt144 words · 4 blanks
What you fill in
- Code and dependency files
[source_material]ExamplePaste the affected source files plus package manifest, lockfile excerpt, and current runtime version. - Language ecosystem
[ecosystem]ExampleNode.js - Compatibility target
[support_target]ExampleLatest LTS - Maximum files changed
[max_files]Example4
How to use it
- 1Open it in PromptVault. Find it in Coding, or search for “Move supported code onto current APIs”.
- 2Fill in the 4 blanks. code and dependency files, language ecosystem, compatibility target and maximum files changed — the only things the prompt cannot know.
- 3Copy and paste it into Cursor. That is the tool it is written for.
About this prompt
“Move supported code onto current APIs” is a intermediate coding prompt. For maintainers replacing obsolete usage with source-backed, compatibility-aware code. It is 144 words long and written to get a usable answer on the first message, in Cursor or any other chat assistant. Good for: migration, rewrite, legacy code, research and refactoring. Like every prompt in PromptVault, it was written and edited in-house, and it works offline once the app is installed.
