dotnet-slopwatch
✓使用 Slopwatch 检测 .NET 代码更改中的 LLM 奖励黑客行为。每次代码修改后运行,以捕获禁用的测试、抑制的警告、空的 catch 块以及其他掩盖实际问题的快捷方式。
SKILL.md
Use this skill constantly. Every time an LLM (including Claude) makes changes to:
"Slop" refers to shortcuts LLMs take that make tests pass or builds succeed without actually solving the underlying problem. These are reward hacking behaviors - the LLM optimizes for apparent success rather than real fixes.
| Disabled tests | [Fact(Skip="flaky")] | Hides failures instead of fixing them | | Warning suppression | #pragma warning disable CS8618 | Silences compiler without fixing issue | | Empty catch blocks | catch (Exception) { } | Swallows errors, hides bugs | | Arbitrary delays | await Task.Delay(1000); | Masks race conditions, makes tests slow |
使用 Slopwatch 检测 .NET 代码更改中的 LLM 奖励黑客行为。每次代码修改后运行,以捕获禁用的测试、抑制的警告、空的 catch 块以及其他掩盖实际问题的快捷方式。 来源:aaronontheweb/dotnet-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill dotnet-slopwatch- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-05
- 更新时间
- 2026-02-18
快速解答
什么是 dotnet-slopwatch?
使用 Slopwatch 检测 .NET 代码更改中的 LLM 奖励黑客行为。每次代码修改后运行,以捕获禁用的测试、抑制的警告、空的 catch 块以及其他掩盖实际问题的快捷方式。 来源:aaronontheweb/dotnet-skills。
如何安装 dotnet-slopwatch?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aaronontheweb/dotnet-skills --skill dotnet-slopwatch 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/aaronontheweb/dotnet-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-05