Langsung ke konten

Legacy Refactor Risk Planner Premium

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

Template prompt· 6 parameter, isi pas 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)

Cara pakai

  1. Copy template prompt-nya.
  2. Ganti placeholder dalam kurung siku pakai detail kamu.
  3. Jalankan di ChatGPT, Claude, atau tools AI lainnya.

FAQ

Prompt ini buat bantu apa?

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

Boleh aku edit?

Boleh banget. Copy aja, terus sesuaikan sama workflow kamu.

Dapat prompt Coding baru tiap minggu

Satu email per minggu isinya prompt pilihan yang baru kami kurasi, plus contoh cara pakainya. Gratis, no spam.

Bisa unsubscribe kapan aja. Email kamu nggak bakal kami share.

Tools yang relevan buat prompt ini

Kalau kamu sering pakai prompt ini, tools berikut bisa bantu ngebut workflow dan hasil akhir kamu.

Beberapa link di bawah adalah link afiliasi. Kalau kamu beli lewat link itu, GudangPrompt bisa dapat komisi tanpa biaya tambahan buat kamu.

Prompt terkait

Pack yang relevan

Kumpulan prompt siap pakai buat kebutuhan yang mirip.