# Unslop Code

> Remove unnecessary AI-style code from the current branch while preserving behavior and local conventions. Use explicitly when the user asks to clean up AI-generated code, reduce boilerplate, remove overengineering, or invokes $unslop-code.

- Skill: `handsomefox/unslop-code` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add handsomefox/unslop-code`
- Raw SKILL.md: https://api.skillmd.com/api/skills/handsomefox/unslop-code/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: handsomefox (https://skillmd.com/u/handsomefox)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/handsomefox/unslop-code

---


# Unslop code

Compare the current branch with its default branch. Remove only branch-introduced excess that conflicts with surrounding code:

- Comments that restate code or do not match local comment style.
- Defensive checks, assertions, or error wrapping unsupported by the surrounding trusted/internal code path.
- Helpers, interfaces, wrappers, or configuration created for one call site.
- Verbose names that break local naming conventions.
- Unnecessary imports, initialization, or dead scaffolding.

Do not change behavior, remove intentional validation, rename public API symbols, or perform unrelated refactors. When intent is unclear, leave it intact.

Run the relevant focused verification after edits. Finish with a 1–3 sentence summary of what was removed and the verification run.

