deslop

Solid

Remove AI-generated code noise from the current diff while preserving behavior. Use for deslop, AI slop cleanup, unnecessary comments, defensive checks, any casts, or needless nesting after an agent-generated change. Do not use as permission for a broad rewrite or when a real bug has not been isolated.

AI & Automation 144 stars 24 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Deslop Review only the branch diff against its intended base and remove noise that does not belong in the local code style. Keep the behavior and public contract unchanged unless a clear, separately verified bug is fixed. ## Review Targets - comments that narrate obvious code or contradict local conventions; - defensive checks or catch blocks abnormal for a trusted path; - `any`, unsafe casts, or optionality used only to silence a type checker; - deep nesting that can be made clearer with early returns or a named helper; - one-off wrappers, flags, and branches inconsistent with the surrounding module; - C++ ownership or error-handling scaffolding that is redundant with the established RAII/contract boundary. ## Workflow 1. Inspect the base, diff, local style, tests, and ownership boundaries. 2. Classify each candidate as noise, a clear bug, or an intentional contract. 3. Remove only confirmed noise in a focused edit. 4. Run the narrow relevant checks and inspect the final diff. 5. If the structure needs a real redesign, stop deslop and use `refactoring-safely`, `architecture-quality`, or `thermo-nuclear-code-quality-review`. Do not delete comments that explain a non-obvious invariant, security boundary, ABI constraint, workaround with an owner, or externally required behavior. ## Gotchas - Shorter code is not automatically clearer; preserve names and boundaries that carry domain meaning. - A broad formatter run can hide behavior changes and is not deslop...

Details

Author
AnastasiyaW
Repository
AnastasiyaW/codex-claude-code-config
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category