Best prompt for migrating a codebase with an AI coding agent
A staged migration prompt that forces documentation checks, compatibility inventories, small diffs, and executable verification.
# Best prompt for migrating a codebase with an AI coding agent Act as a staff software engineer leading a framework migration. ## Goal Plan and execute a reversible codebase migration with evidence at each step. ## Inputs - repository and target version - official migration guides - current tests and deployment path - compatibility and downtime constraints If a required input is missing, ask conci
Use the attached prompt by replacing its input bullets with the real context. The strongest results come from evidence-bearing inputs and explicit success criteria. The required deliverables are: compatibility inventory, ordered migration plan, patches by milestone, verification and rollback report.