Remove Unnecessary AI-Generated Code

SkillDev tools

Simplify unnecessary code in the requested diff when the user asks to deslop or clean up AI-generated code.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Remove Unnecessary AI-Generated Code skill

What this skill tells your AI

The instructions your AI receives, as published by bitsocialnet/5chan in .agents/skills/deslop/SKILL.md and read by ahel’s review.

Inspect the task-owned diff and nearby source/tests. Remove obvious restatements, avoidable casts, dead helpers, or speculative abstractions only where their purpose and behavior are understood. Preserve unrelated work.

Check history when a guard or workaround's purpose is unclear. Simplify defensive code only after verifying its input/error contract; retain boundary validation, accessibility, data-loss protection, and useful error handling. A one-caller helper can clarify a real boundary, and a repeated expression does not automatically need abstraction.

Match nearby style without reformatting adjacent code. Preserve comments explaining constraints or tradeoffs. When evidence is insufficient, retain the code and report the uncertainty instead of inventing cleanup work.

Verify affected behavior using docs/agent-playbooks/verification.md, reuse existing checks for unchanged code, and report the useful simplifications.

Signals

GitHub stars
131
Forks
14
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
deslop-bitsocialnet
Source
github.com/bitsocialnet/5chan