Deslop

From redpanda-data/ui-harness · View interactive version

Deslop is an AI agent skill from the GitHub repository redpanda-data/ui-harness. Question changed code as liability and remove unjustified surface area. Use before commit, push, PR, merge, or when a change feels overbuilt or low-value.

How to use this skill

Skill file

Deslop

Repo/code changes: run /deslop before commit, push, PR, or merge.

Code is liability. Every added line can break, page someone, or need support.

Inputs

Loop: Delete -> Inline -> Justify

  1. Inventory additions -- new files, functions, branches, deps, config, hooks.
  2. Ponytail review -- run /ponytail-review; record delete/stdlib/native/yagni/shrink candidates before judging value.
  3. Ponytail audit/debt -- for repo-wide cleanup or marked shortcuts, run /ponytail-audit and /ponytail-debt. Pair audit/debt with /improve when fixes are not immediate.
  4. Reuse-first ladder -- before owning new code, prefer deletion, standard library, native platform, already-installed dependency, then one-line local code.
  5. Question every addition -- keep code only when you are certain it proves product value, defensive correctness, or test confidence.
  6. Delete first -- remove dead paths, speculative options, unused exports, wrapper layers.
  7. Inline second -- inline one-use helpers/components; prefer direct code until reuse is real.
  8. Tighten last -- flatten branches, improve names, shrink tests without weakening assertions.
  9. Eval evidence -- skill or harness changes need matching evals changed, with RED->GREEN or failing->passing evidence. No eval evidence means block or record why the change is docs-only/non-deterministic.
  10. Verify -- rerun focused tests/type/lint. Green alone is not enough if diff is noisy.

Blocking finding

Return NEEDS_CHANGES when the diff is low-value, sloppy, untested, non-defensive, or larger than the problem needs. Do not commit, push, or merge until the smallest passing diff is clear.

Output

See REFERENCE.md for the surface-area budget checklist.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.