重构 refactor
io.github.code-yeongyu/lazycodex/refactor
智能重构指令。触发词:refactor、refactoring、cleanup、restructure、extract、simplify、modernize。
共 5,808 个资源
io.github.code-yeongyu/oh-my-openagent/remove-ai-slops
移除分支改动或明确文件列表中的 AI 生成代码异味(slop)。先用回归测试锁定行为,再通过批次为 5 的并行 deep agent 执行分类清理,最后用质量门禁验证。覆盖 10 类 slop,包括性能等价性、过度复杂(对象标注、if/elif 分支链)与超大模块(250+ 有效 LOC,并强制做模块化重构)。当用户要求 “remove slop”“clean AI code”“deslop”“clean up AI-generated code”“remove AI slop” 或清理近期改动中 AI 生成模式时务必使用。触发词:remove ai slops、clean ai code、deslop、cleanup AI generated、remove AI slop、clean up AI-generated code、strip slop、ai-slop cleanup。