# Deslop

> Deslop is an Agent Skill for testing & quality published in the joe-bell/cva repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Remove AI-generated code slop and clean up code style. Use when asked to "deslop", clean up AI-generated code, or review a branch diff for slop before merging.

- Skill name: `deslop`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/joe-bell/cva/blob/HEAD/.agents/skills/deslop/SKILL.md
- Repository: joe-bell/cva (6,861 GitHub stars when collected)

## SKILL.md

# Remove AI code slop

Check the diff against main and remove AI-generated slop introduced in the branch.

## Focus Areas

- Extra comments that are unnecessary or inconsistent with local style
- Defensive checks or try/catch blocks that are abnormal for trusted code paths
- Casts to `any` used only to bypass type issues
- Deeply nested code that should be simplified with early returns
- Other patterns inconsistent with the file and surrounding codebase

## Guardrails

- Keep behavior unchanged unless fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Keep the final summary concise (1-3 sentences).

---

Source: https://www.openparable.com/skill/testing-quality/deslop (OpenParable). Cite the canonical URL above.
