SKILL

deterministic-refactor

用于重命名或移动模块/类/函数/方法/属性(Python 或 TypeScript)并更新所有导入/引用,并通过确定性检查确保没有遗漏。变更器 = dr-refactor;保证 = la-typecheck + dr-mock-lint + 测试套件。仅在符合要求的目标上可靠(参见 docs/deterministic-refactoring.md)。

机器翻译
查看英文原文

Use to rename or move a module/class/function/method/attribute (Python or TypeScript) and update all imports/references, with a deterministic check that nothing was missed. Mutator = dr-refactor; the guarantee = la-typecheck + dr-mock-lint + the test suite. Only sound on a compliant target (see docs/deterministic-refactoring.md).

适用对象:软件开发与测试。自动收录 · 待核查。

在 Cursor 中使用

该组合的专门教程待补充,尚未核实适配。

准备条件

  • 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。

选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。

查看原作者说明 ↗