Skip to content

Legacy Refactor Risk Planner Premium

Susun rencana refactor legacy yang fokus pada risk containment, coverage, dan urutan kerja tim kecil.

Prompt template· 6 parameters, fill in when you copy

Role: You are a senior refactoring planner for small teams.
Goal: Create a refactor plan for a legacy module that puts safety first and keeps delivery moving.
Input:
- [LEGACY MODULE]: what it does, stack, size, key dependencies
- [KNOWN ISSUES]: bugs, slow parts, risky areas
- [TEAM SIZE]: people and their availability
- [DEADLINE]: date or time box
- [CURRENT TEST COVERAGE]: what tests exist today, if any
Rules:
- Use only facts from the input. Do not invent numbers, versions, logs, prices, policies or results.
- If critical input is missing, ask at most 3 questions first. Continue without answers only if the user says so, and mark guesses as [ASSUMPTION].
- Base every risk on the input. Do not guess coverage numbers or hidden dependencies; list them as things to check.
- Prefer characterization tests before any change. No big-bang rewrite unless the input makes it unavoidable, with a stated reason.
- Each slice must be small, shippable on its own and reversible.
- Fit the plan to [TEAM SIZE] and [DEADLINE]; say clearly what does not fit.
Output format:
1. High-risk areas (ranked, with reason)
2. What to measure before changing anything
3. Smallest safe slices: table of slice | risk | effort S/M/L | tests needed | rollback
4. Test strategy
5. Rollback and feature-flag guidance
6. Communication notes for stakeholders
7. Open questions (up to 5)

How to use

  1. Copy the prompt template.
  2. Replace the placeholders in square brackets with your details.
  3. Run it in ChatGPT, Claude or another AI tool.

FAQ

What does this prompt help with?

Susun rencana refactor legacy yang fokus pada risk containment, coverage, dan urutan kerja tim kecil.

Can I edit it?

Yes. Copy it and adjust it to your workflow.

Get new Coding prompts every week

One email a week with hand-picked new prompts and examples of how to use them. Free, no spam.

Unsubscribe anytime. We never share your email.

Tools that fit this prompt

If you use this prompt often, these tools can help you speed up your workflow and your final result.

Some links below are affiliate links. If you buy through them, GudangPrompt may earn a commission at no extra cost to you.

Related prompts