Agent Skills
› sediman-agent/OpenSkynet
› deslop
deslop
GitHub用于清理代码中的AI生成痕迹,移除多余注释、防御性检查及类型绕过,简化嵌套逻辑,保持风格一致且行为不变。
Trigger Scenarios
需要清理分支中AI生成的代码冗余
统一代码风格并移除不一致的注释或结构
Install
npx skills add sediman-agent/OpenSkynet --skill deslop -g -y
SKILL.md
Frontmatter
{
"name": "deslop",
"description": "Remove AI-generated code slop and clean up code style"
}
Remove AI code slop
Check the diff against main and remove AI-generated slop introduced in the branch.
Focus Areas
- Extra comments that are unnecessary or inconsistent with local style
- Defensive checks or try/catch blocks that are abnormal for trusted code paths
- Casts to
anyused only to bypass type issues - Deeply nested code that should be simplified with early returns
- Other patterns inconsistent with the file and surrounding codebase
Guardrails
- Keep behavior unchanged unless fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Keep the final summary concise (1-3 sentences).
Version History
- c9d8953 Current 2026-07-05 19:51


