·legacy-code-safety
>_

legacy-code-safety

thebushidocollective/han

在修改、删除或重构缺乏测试覆盖率的代码时使用。强调未经测试的更改的危险以及在修改之前添加特性测试的 RGR 工作流程。

11安装·1热度·@thebushidocollective

安装

$npx skills add https://github.com/thebushidocollective/han --skill legacy-code-safety

SKILL.md

Modifying code without tests is one of the HIGHEST-RISK activities in software development.

In dynamically-typed languages (Python, JavaScript, Ruby, PHP), this risk is EXPONENTIALLY higher:

This is NOT standard TDD. This is characterization testing - capturing current behavior before changing it.

在修改、删除或重构缺乏测试覆盖率的代码时使用。强调未经测试的更改的危险以及在修改之前添加特性测试的 RGR 工作流程。 来源:thebushidocollective/han。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/thebushidocollective/han --skill legacy-code-safety
分类
>_效率工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 legacy-code-safety?

在修改、删除或重构缺乏测试覆盖率的代码时使用。强调未经测试的更改的危险以及在修改之前添加特性测试的 RGR 工作流程。 来源:thebushidocollective/han。

如何安装 legacy-code-safety?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/thebushidocollective/han --skill legacy-code-safety 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/thebushidocollective/han