dsh-modernize-code
在终端中运行以下命令:
dsh plugin install 988hj7tczd-oss/dsh-modernize-code
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中执行 dsh plugin install 988hj7tczd-oss/dsh-modernize-code 即可安装该插件,源码仓库地址为 https://github.com/988hj7tczd-oss/dsh-modernize-code 。
插件介绍
Modernizing a legacy codebase often feels binary: do nothing, or attempt a big-bang rewrite. What is missing in between is a disciplined process—environment validation, hotspot identification, and a staged roadmap with rollback points. dsh-modernize-code structures that process into four stages: preflight (environment readiness), assess (static legacy-pattern scanning ranked by impact, risk, and cost), map (a phased migration roadmap), and transform (incremental, block-by-block refactoring with per-stage rollback points and user-confirmed edits).
Every stage produces a concrete artifact: PREFLIGHT.md, legacy-hotspots.md, and MIGRATION_ROADMAP.md. Unanswered questions are preserved verbatim as open items—never silently dropped or answered on your behalf. The plugin runs fully offline, touches only the scanned project directory, and requires no network access or credentials.
It is built for engineering teams maintaining large legacy systems, architects who need an auditable roadmap for leadership, and solo developers who want to embed disciplined code-modernization checks into a DeepSeek Harness agent workflow.
使用场景
- 对大型遗留系统进行分阶段现代化改造
- 在技术迁移前评估环境就绪度与代码健康度
- 为技术债务制定可审计的分步迁移路线图
适合人员
- 维护大型遗留系统的工程团队
- 需要向利益相关方展示迁移路线图的架构师
- 希望将代码现代化流程嵌入 DSH 工作流的开发者