deslop
1
总安装量
1
周安装量
#41572
全站排名
安装命令
npx skills add https://github.com/ilamanov/skills --skill deslop
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
claude-code
1
Skill 文档
Deslop
Remove AI-generated code patterns from all changes in the current branch.
Process
- Run
git diff mainto get all changes - For each changed file, read the full file to understand existing style
- Identify and remove slop patterns (see below), matching the file’s existing style
- Report a 1-3 sentence summary of changes
Slop Patterns
Remove these when inconsistent with the surrounding code:
- Unnecessary comments – Comments a human wouldn’t add or that don’t match the file’s commenting style
- Defensive overkill – Extra try/catch blocks, null checks, or validation that’s abnormal for that area (especially on trusted/validated codepaths)
- Type escape hatches – Casts to
anyto bypass type issues - Single-use variables – Variables used once immediately after declaration; inline the RHS instead
- React prop interfaces – Separate
interface Propsdefinitions; inline the props type directly - Style drift – Any formatting, naming, or patterns inconsistent with the file
Style Matching
Before editing, study the unchanged code in each file:
- Comment density and style
- Error handling patterns
- Variable naming conventions
- Type annotation style
- Component patterns (for React)
Only flag something as slop if it deviates from the file’s established patterns.
Output
End with only a 1-3 sentence summary of what was changed. No detailed lists.