Retire legacy code with evidence-backed checks
For engineers preparing a safe removal with a repository-specific verification artefact.
Works with
- Cursor
- GitHub Copilot
The prompt52 words · 2 blanks
What you fill in
- Removal brief
[removal_brief]ExampleRemove the v1 invoice renderer after all tenants move to the template service - Repository evidence
[repository_evidence]ExampleDirectory tree, search results, build scripts, deployment config, and relevant call sites
How to use it
- 1Open it in PromptVault. Find it in Coding, or search for “Retire legacy code with evidence-backed checks”.
- 2Fill in the 2 blanks. removal brief and repository evidence — the only things the prompt cannot know.
- 3Copy and paste it into Cursor. It also works with GitHub Copilot.
About this prompt
“Retire legacy code with evidence-backed checks” is a intermediate coding prompt. For engineers preparing a safe removal with a repository-specific verification artefact. It is 52 words long and written to get a usable answer on the first message, in Cursor and GitHub Copilot or any other chat assistant. Good for: checklist, legacy code, code review, testing and quick win. Like every prompt in PromptVault, it was written and edited in-house, and it works offline once the app is installed.
