deslop
Installation
SKILL.md
Deslop
Two domains, one skill. Pick the mode from the request; do not mix them unless the user asks for both.
| Mode | When | Output |
|---|---|---|
| Code (default for branches/diffs) | Branch cleanup, file path, "deslop this PR" | Minimal code edits + 1–3 sentence summary |
| Write | Pasted draft, "edit this", "humanize", "less AI" | Full edited draft + short What changed |
| Detect | "Is this AI?", audit/scan/flag without rewrite | Pattern list with quoted lines; no rewrite |
If the request is ambiguous and no draft or path is present, ask once whether they mean code on the branch or a prose draft.
Mode: Code
Check the requested change scope and remove code slop introduced there. Discover the repository's default branch instead of assuming main. Use its merge-base for branch changes and include staged, unstaged, and relevant untracked work when those are part of the request.