remove-ai-slops
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 oh-my-skill add code-yeongyu/oh-my-openagent/remove-ai-slopscurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- code-yeongyu/oh-my-openagent/remove-ai-slopsnpx oh-my-skill verify code-yeongyu/oh-my-openagent/remove-ai-slops怎么用
商店整理自技能原文 · 版本 5ef852a · 表述以原文为准装上后,Claude 会先为改动文件写回归测试锁定行为,然后并行清理 AI 生成的代码坏味(如多余注释、过度防御、死代码等),最后通过质量门验证。
当你要求“去除 AI 代码坏味”、“清理 AI 代码”、“deslop”等,或想清理最近改动中的 AI 生成模式时触发。