‹ 首页

remove-ai-slops

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

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 缺失或不一致均拒装。
66743GitHub stars
~4.8K上下文体积 · 单文件
索引托管

怎么用

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

自动移除AI生成的代码异味。先写回归测试锁定行为,然后并行分批(每批5个文件)执行10类分类清理(包括性能等价、过度复杂度、超大模块等),最后验证质量门。

什么时候触发

当用户说出“remove slop”、“clean AI code”、“deslop”等关键词,或要求清理AI生成的代码模式时触发。

装好后可以这样说
默认分析分支差异
需提供文件路径
等效触发词

评论

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