‹ 首页

remove-ai-slops

@code-yeongyu · 收录于 1 周前 · 上游提交 今天

Remove AI-generated code smells (slop) from branch changes or an explicit file list. Locks behavior with regression tests FIRST, then runs categorized cleanup via parallel `deep` agents in batches of 5, then verifies with quality gates. Covers 10 slop categories including performance equivalences, excessive complexity (object annotations, if/elif variant chains), and oversized modules (250+ pure LOC with mandatory modular refactoring). MUST USE when the user asks to "remove slop", "clean AI code", "deslop", "clean up AI-generated code", "remove AI slop", or wants to clean up AI-generated patterns from recent changes. Triggers - "remove ai slops", "clean ai code", "deslop", "cleanup AI generated", "remove AI slop", "clean up AI-generated code", "strip slop", "ai-slop cleanup".

适合你,如果经常需要清理AI助手生成的冗余或低效代码

/ 通过 npx 安装 校验哈希
npx oh-my-skill add code-yeongyu/oh-my-openagent/remove-ai-slops
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- code-yeongyu/oh-my-openagent/remove-ai-slops
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify code-yeongyu/oh-my-openagent/remove-ai-slops
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
65921GitHub stars
~4.8K上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 3ec4afb · 表述以原文为准
它做什么

装上后,Claude 会先为改动文件写回归测试锁定行为,然后并行清理 AI 生成的代码坏味(如多余注释、过度防御、死代码等),最后通过质量门验证。

什么时候触发

当你要求“去除 AI 代码坏味”、“清理 AI 代码”、“deslop”等,或想清理最近改动中的 AI 生成模式时触发。

装好后可以这样说
Claude 会分析分支改动并执行清理。
Claude 会锁定行为后清理。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。