What problem does it solve? Agent coding passes leave behind slop: tautological comments, abnormal defensive checks, type escape hatches, debug chatter, and durable identifiers named after delivery stages, plan indices, or governance IDs instead of domain behavior. This Skill cleans that residue from the current branch diff while protecting security guards, fail-closed validation, and git history. ## Core Features & Use Cases - Branch-scoped cleanup: Inspects only changes introduced on the current branch versus its merge base, removing comments, scratchpad leakage, shadow helpers, silent failure fallbacks, and style drift with behavior-preserving minimal diffs. - Mandatory Naming Audit: Flags identifier residue across five pattern families (stage segments, plan/review indices, governance taxonomy as identity, ceremony tokens, synonym cycles) on task runners, artifact paths, CLI, symbols, and tests, then renames to domain-first names with a full cascade checklist. - Hard safety guards: Never invokes git-cg, git commit, amend, rebase, or history mutation; preserves SOP matrices, pin locks, redaction paths, and security-relevant checks. Commit-message draft deslop runs only on explicit user opt-in. - Use Case: After an agent implements a feature touching justfile recipes, Python modules, and tests, run a deslop pass to rename eval-s7-proof to eval-package-coverage, strip <thinking> tags and debug prints, and emit a Naming Audit table before opening the PR. ## Quick Start Ask the agent to run code-deslop on the current branch diff to remove AI code residue and audit identifier names before committing.