rmslop

自动识别并清理当前分支中由 AI 生成的冗余代码,包括非人类风格的注释、过度防御性检查、任意类型转换、不一致的编码风格及多余 emoji,确保代码符合项目原有规范和简洁性要求。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add revokslab/ShipFree --skill "rmslop"

Overview

Check the diff against main, and remove all AI generated slop introduced in this branch.

This includes:

  • Extra comments that a human wouldn’t add or is inconsistent with the rest of the file
  • Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted / validated codepaths)
  • Casts to any to get around type issues
  • Any other style that is inconsistent with the file
  • Unnecessary emoji usage

Report at the end with only a 1-3 sentence summary of what you changed