返回 Skills 目錄
cursor/plugins已通過檢查

SKILL DETAIL

deslop

cursor/plugins/deslop

Remove AI-generated code slop and clean up code style

安裝量 · 141查看來源

Installation

npx skills add https://github.com/cursor/plugins --skill deslop

技能檔案

SKILL.md

最近同步 · 2026年9月16日

SKILL.md
---
name: deslop
description: Remove AI-generated code slop and clean up code style
---

# Remove AI code slop

Check the diff against main and remove AI-generated slop introduced in the branch.

## 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).
deslop · 熱門 Agent Skills | Mengbi