一键导入
focused-sabotage-testing
Use after adding or changing clnkr tests to prove the tests fail when the intended behavior is deliberately broken.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use after adding or changing clnkr tests to prove the tests fail when the intended behavior is deliberately broken.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use before implementing a structural change in clnkr to prevent file-splitting without real ownership or cohesion.
Use before adding or reviewing clnkr tests to keep generated tests integration-oriented, behavior-focused, and low-slop.
| name | focused-sabotage-testing |
| description | Use after adding or changing clnkr tests to prove the tests fail when the intended behavior is deliberately broken. |
Use this for behavior changes where a new test could pass trivially or mirror the current implementation.
Identify the smallest deliberate code break for the behavior under test.
Save it as a patch outside the repo, usually under /tmp.
Run:
scripts/sabotage-check.sh --patch /tmp/clnkr-sabotage.patch --test-cmd 'make test'
If the sabotage patch does not make the test fail, improve the test before accepting it.
Keep the sabotage patch out of git.
In review notes, record: