Skip to content
Agentmart
Submit a tool

deslop

Remove AI-generated code slop and clean up code style on the current branch's diff.

Skill by gh0stwin

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/gh0stwin-deslop

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Remove AI-generated code slop and clean up code style on the current branch's diff. Use before commit or when a diff reads as machine-generated. Skip when the diff is a pure rename or a mechanical format-only change.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/deslop

What's inside

Skill name
deslop
Description
Remove AI-generated code slop and clean up code style on the current branch's diff. Use before commit or when a diff reads as machine-generated. Skip when the diff is a pure rename or a mechanical format-only change.
License
MIT
Instructions
31 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Remove AI code slop

Check the diff against the base branch and remove AI-generated slop introduced on this 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
- Dead compatibility paths, unused parameters, and speculative guards
- Edits unrelated to the change the branch claims to make
- Other patterns inconsistent with the file and surrounding codebase

## Steps

1. Get the diff: `git diff <base>...HEAD` plus `git status --porcelain` for uncommitted work. Name the base explicitly; do not assume `main`.
2. Read each hunk in the context of its file, not in isolation. Slop is a mismatch between the hunk and the surrounding code.
3. Delete or rewrite only what the hunk itself introduced. Leave pre-existing style alone.
4. Re-run the narrowest check that proves behavior is unchanged (the branch's own test, build, or lint command).
5. Report in one to three sentences: what you removed and what you verified.

## Guardrails

- Keep behavior unchanged unless fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Do not restyle untouched code, reorder imports the formatter owns, or rename symbols the diff did not introduce.
- If a removal needs a shape decision, stop and hand off to the **architect** skill rather than guessing.
- Keep the final summary concise.

From gh0stwin/pi-pstack, MIT.

More from gh0stwin/pi-pstack

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 11, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from gh0stwin

Cite this page

deslop skill. Agent Mart. https://agentmart.dev/skills/gh0stwin-deslop (last updated 2026-10-24)