Task prompt · Coding

Plan a big refactor in safe steps

by Agent Yard Team

Break a scary change into small, shippable pull requests.

You'll attach

Text only

Works with

CursorClaude CodeCodexClaudeChatGPTGemini

Use cases

  • Break a scary change into small, shippable pull requests.
  • Reuse it as often as you like: fill in the blanks (refactor goal, e.g. move from rest to trpc) with new details and copy again.
  • With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.

How to use it

  1. Open Cursor or Claude Code in your terminal (or another AI listed here).
  2. Fill in the highlighted blank ([REFACTOR GOAL, E.G. MOVE FROM REST TO TRPC]) below, or edit them after pasting.
  3. Copy the prompt, paste it into the chat and send.

Fill in the blanks (optional)

Prompt

Remix
I want to [REFACTOR GOAL, E.G. MOVE FROM REST TO TRPC] in this codebase.

Read the relevant code and propose a migration plan as a sequence of small pull requests. Each PR: goal, files touched, how to test it, and how to roll it back. Keep the app working after every PR. Call out the riskiest step and how to de-risk it.
One email a week

The best new prompts and personas, nothing else.

The Weekly is presented byyour brandSponsored · open

More Coding prompts

Footer partner · openThis strip runs at the foot of every page. One partner at a time.Ask about it →