Skip to main content

deslop

Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing unnecessary comments, defensive checks, or type casts. Checks diff against main and fixes style inconsistencies.

跳到安装

来源信息

仓库
tomevault-io/claude-code-plugins
最近来源活动
2026年4月6日 08:19
检测到的 SKILL.md 语言
英语
星标
3
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
deslop
description
Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing unnecessary comments, defensive checks, or type casts. Checks diff against main and fixes style inconsistencies.
# Remove AI Code Slop Check the diff against main and remove all AI-generated slop introduced in this branch. ## What to Remove - Extra comments that a human wouldn't add or are 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 - Inline imports in Python (move to top of file with other imports) - Any other style that is inconsistent with the file ## Process 1. Get the diff against main: `git diff main...HEAD` 2. Review each changed file for slop patterns 3. Remove identified slop while preserving legitimate changes 4. Report a 1-3 sentence summary of what was changed --- > Converted and distributed by [TomeVault](https://tomevault.io) | [Claim this content](https://tomevault.io/claim/davila7/claude-code-templates) <!-- tomevault:2.0:skill_md:2026-04-05 -->
在 GitHub 查看