跳到正文
AGI Hunt· teropa·· 2 小时前AI 评分61

/prune-tests 技巧:用 Claude Code 清理无效测试

/prune-tests 技巧:让 Claude 清理无效测试而非狂加测试

AI 导读

开发者 mazeincoding 发布 Claude Code 自定义命令 /prune-tests,用于找出并删除随代码改动频繁变化、检查已删功能不存在以及永远不会失败的测试。该命令源于 Opus 删除功能后反而增加 4000 行测试断言的场景,宣传视频由 Opus 5.5 生成。

来源:AGI Hunt · agihunt.info