Agent Skills › jaredpalmer/kev › deslop

deslop

GitHub

清理分支中与主分支差异中由AI生成的代码冗余,包括移除多余注释、不必要的防御性检查、滥用any类型转换及深层嵌套代码,保持行为不变并遵循本地风格。

.agents/skills/deslop/SKILL.md jaredpalmer/kev

触发场景

需要清理AI生成代码中的冗余样式 审查代码差异以移除不一致的注释或结构

安装

npx skills add jaredpalmer/kev --skill deslop -g -y
更多选项

非标准路径

npx skills add https://github.com/jaredpalmer/kev/tree/main/.agents/skills/deslop -g -y

不安装直接使用

npx skills use jaredpalmer/kev@deslop

指定 Agent (Claude Code)

npx skills add jaredpalmer/kev --skill deslop -a claude-code -g -y

安装 repo 全部 skill

npx skills add jaredpalmer/kev --all -g -y

预览 repo 内 skill

npx skills add jaredpalmer/kev --list

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 any used 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).

版本历史

  • 5920c5f 当前 2026-09-27 10:31

同 Skill 集合

.agents/skills/kev-knowledge/SKILL.md
.agents/skills/kev-modal-study/SKILL.md
.agents/skills/kev-pr-description/SKILL.md
.agents/skills/kev-verify/SKILL.md
.agents/skills/thermonuclear-code-review/SKILL.md
.devin/skills/kev-modal-study/SKILL.md
skills/kev-deploy/SKILL.md
.agents/skills/unslop/SKILL.md
skills/kev-finetune/SKILL.md
.agents/skills/grill-me/SKILL.md

元信息

文件数
0
版本
2074cc4
Hash
2f7b7def
收录时间
2026-09-27 10:31

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-02 18:56
浙ICP备14020137号-1