deslop: remove AI-generated code slop from your diffs
Review the branch diff against main and strip AI-generated slop: redundant comments, defensive try/catch, any-casts, deep nesting
- What
- Review the branch diff against main and strip AI-generated slop: redundant comments, defensive try/catch, any-casts, deep nesting
- Cost
- Free
- Needs
- a git repo with a branch to clean; works best when the agent can run git diff against main
- Install
- Copy the installer prompt below into your Muse — your agent does the rest.
Curated by Skill Harbor — @cursor's short skill for cleaning AI-generated "slop" out of a branch: the agent reviews the diff against main and strips redundant comments, out-of-place defensive try/catch blocks, `any` casts that just dodge type errors, and needlessly nested code — with guardrails (behavior unchanged unless fixing a clear bug, minimal focused edits, concise summary). Short listing: the source repo declares no license, so we link rather than describe in detail. Skill Harbor never reviews the code, review it yourself before use. Discovered via skills.sh.
Version:
Install
Prerequisites: a git repo with a branch to clean; works best when the agent can run git diff against main Install "deslop: remove AI-generated code slop from your diffs" for me. It teaches my agent to review a branch diff against main and remove AI-generated slop (redundant comments, out-of-place defensive try/catch, any-casts, needlessly nested code) with minimal, behavior-preserving edits and a concise summary. No license is stated on the source repo — review the source yourself before installing. Repository: https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/deslop/SKILL.md 1. Fetch the SKILL.md file (and any helper files) from the repository path into a temporary folder and summarize what it does in one or two sentences. 2. Safety check: review the SKILL.md and scripts for anything suspicious (unexpected network calls, shell commands, credential harvesting). This repo should contain zero secrets in code, credentials only via the secure vault, allowed hosts declared in the SKILL.md. Verify that holds here; STOP on any red flag and tell me. 3. Install it as a skill: copy SKILL.md and its helper files into the agent's skills directory, in a folder named "deslop". 4. Verify with no network calls: frontmatter valid, files in place. 5. Report what was installed, where, and what I still need to do myself (e.g. point it at the branch to clean). GitHub is optional: if I have a GitHub account or the gh CLI, you may use it; otherwise public access is fine. Never require it unless it's in the prerequisites above. Rules: don't touch anything outside the temp folder and the install target. If anything looks off, stop and ask me.
Questions
How do I install a build?
Every product page includes a copy-paste install prompt. Paste it into your Muse and it sets the build up for you — no manual configuration.
Where does my money go?
Straight to the seller. Skill Harbor never processes payments: checkout happens on the seller’s own page, usually Stripe.
What does the ✓ next to a creator’s name mean?
It means we confirmed the identity of the person behind the listing. It says nothing about the code itself — always check a build before installing it.