Skip to content
Back to skills

Deslop

ASecurity

Remove AI-generated code slop from a branch or diff. Use when the user says "deslop", "remove AI slop", "clean up the AI code", or asks to strip over-commenting, unnecessary defensive try/catch, `as any` casts, deep nesting, or styling that doesn't match the surrounding file. Run before opening a PR or committing agent-written code.

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 19, 2026
ai-agentsrustrails

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add irg1008/cstack --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/irg1008-deslop/badge)](https://www.skillsdirectory.com/skills/irg1008-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 a branch or diff. Use when the user says "deslop", "remove AI slop", "clean up the AI code", or asks to strip over-commenting, unnecessary defensive try/catch, `as any` casts, deep nesting, or styling that doesn't match the surrounding file. Run before opening a PR or committing agent-written code.
---

# Remove AI code slop

Check the diff against main, and remove all AI generated slop introduced in this branch.

## Focus areas

- Extra comments that a human wouldn't add, or that are inconsistent with the rest of the file
- Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase, especially on trusted or already-validated codepaths
- Casts to `any` used only to get around type issues
- Deeply nested code that early returns would flatten
- Any other pattern inconsistent with the file and the surrounding codebase

Respect the codebase's own dialect. Match the voice of the surrounding code rather than importing patterns from elsewhere.

## Guardrails

- Keep behavior unchanged unless you are fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Report at the end with only a 1-3 sentence summary of what you changed.

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.

Comments

Loading comments…

Newsletter

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