跳到主要内容

Legacy Refactor Risk Planner Premium

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

提示词模板· 6个参数,复制时填写

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)

使用方法

  1. 复制提示词模板。
  2. 把方括号里的占位符换成你的信息。
  3. 在ChatGPT、Claude或其他AI工具中运行。

常见问题

这个提示词能帮你做什么?

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

可以修改吗?

可以。复制后按你的工作流调整即可。

每周获取新的编程提示词

每周一封邮件,包含精选的新提示词和使用示例。免费,无垃圾邮件。

可随时退订。我们绝不分享你的邮箱。

适合这个提示词的工具

如果你经常用这个提示词,下面这些工具能帮你加快工作流,提升最终效果。

下面部分链接是联盟推广链接。如果你通过这些链接购买,GudangPrompt 可能获得佣金,你不需要额外付费。

相关提示词