Agent Skills
› jaredpalmer/kev
› deslop
deslop
GitHub识别并移除代码分支中引入的AI生成代码垃圾,包括多余注释、防御性检查、any类型转换及深层嵌套,通过简化重构提升代码风格一致性。
Trigger Scenarios
需要清理AI生成的代码冗余时
审查代码风格与本地规范不一致时
Install
npx skills add jaredpalmer/kev --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
- 5920c5f Current 2026-09-27 10:31


