Skip to content
Back to skills

Deslop

ASecurity

Remove AI-generated code slop from the current branch and clean up code style. Use for /deslop, "deslop this", or as the cleanup step before a review panel.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 4, 2026
content-marketingrustrailsgit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add niltsiar/dirigible --skill deslop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deslop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deslop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/niltsiar-deslop/badge)](https://www.skillsdirectory.com/skills/niltsiar-deslop)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deslop
description: Remove AI-generated code slop from the current branch and clean up code style. Use for /deslop, "deslop this", or as the cleanup step before a review panel.
---

# Remove AI code slop

Check the diff of the current branch against `main` (`git diff main...HEAD` plus the working tree) and remove AI-generated slop that the branch introduced.

## Focus areas

- Extra comments that are unnecessary or inconsistent with local style. Keep comments that explain why, not what.
- Defensive checks, `do`/`catch` blocks, or `guard` statements that are abnormal for trusted code paths. Validation belongs at boundaries (file IO, device IO, user input).
- Force operations used only to silence the compiler: `!`, `as!`, `try!`, `@unchecked Sendable`, `nonisolated(unsafe)`, `Any` or `AnyObject` where a real type exists.
- Deeply nested code that early returns or `guard` make flat.
- Protocols with one conformer, wrappers that only forward calls, and configuration for values that never change.
- Dead code, unused parameters, and `TODO` notes without a ledger entry in `.scratchpads/`. For each new public function, find a caller outside `Tests/`. A function that only tests call proves nothing about the app. Also look for a second copy of its logic in the app target.
- 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.
- Run no test: the push check runs them.
- Commit the result as its own `refactor:` or `style:` commit.
- Keep the final summary to 1-3 sentences.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in content-marketing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.