Skip to main content

deslop

Remove AI-generated code slop and clean up code style. Applies anti-slop to changed TypeScript and JavaScript as part of the same pass.

来源信息

仓库
scaryrawr/scarypilot
最近来源活动
2026年9月21日 22:03
检测到的 SKILL.md 语言
英语
星标
4
分支
0

安装方式

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

检查来源文件

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

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
deslop
description
Remove AI-generated code slop and clean up code style. Applies anti-slop to changed TypeScript and JavaScript as part of the same pass.
# Remove AI code slop Check the diff against main and remove AI-generated slop introduced in the branch. For changed TypeScript and JavaScript files, run the **anti-slop** skill first. Carry its type-evidence and boundary findings into this cleanup pass rather than treating type precision as a separate review. ## Focus Areas - Extra comments that are unnecessary or inconsistent with local style - Defensive checks or try/catch blocks that are abnormal for trusted code paths - Casts to `any` used only to bypass type issues - Deeply nested code that should be simplified with early returns - Other patterns inconsistent with the file and surrounding codebase ## Guardrails - Keep behavior unchanged unless fixing a clear bug. - Prefer minimal, focused edits over broad rewrites. - Keep the final summary concise (1-3 sentences).
在 GitHub 查看