agentleFS
pumpkit-iopumpkit-io/sdlc/skills/commands/deslop/SKILL.md

deslop

Skill2 starsChanged 10 days agoMITView on GitHub

Clean up slop in comments, prose and UI under a file or folder, one concern at a time, editing the working tree.

118 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use simple-issue-description, control-cli and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • JwuthriSkill

    simple-issue-description

    Turn a rough bug report, feature request, support note, or pull request into a short, plain-language issue focused on the problem and desired behavior. Use when a contributor asks to simplify an issue, explain what a PR is for, create the corresponding issue for a PR, remove implementation detail from a report, or invokes /simple-issue-description.

    Also in 4 projects that use this

  • ElyzeSolutionsSkill

    control-cli

    Build or adapt a local harness to drive, inspect, and profile an interactive CLI or TUI without external services. Use for CLI UX checks, startup regressions, memory leaks, hangs, prompt flows, or terminal demos.

    Also in 6 projects that use this

  • JwuthriSkill

    openseo-review-web-content

    Write and review content for the OpenSEO website (web/) — blog posts, guides, feature pages, FAQs. Distills the philosophy for on-brand, useful, accurate content. Use whenever adding or editing user-facing prose in web/content or web/src.

    Also in 4 projects that use this

  • learnerLjSkill

    verify-this

    Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or INCONCLUSIVE.

    Also in 6 projects that use this

  • ElyzeSolutionsSkill

    control-ui

    Build or adapt a local browser/CDP harness to drive and inspect a web, IDE, or Electron UI. Use for local UI verification, screenshots, accessibility snapshots, perf profiles, visual diffs, or reproducing UI bugs.

    Also in 7 projects that use this

  • ten9876Skill

    papercuts

    Read-only AetherSDR issue triage that surfaces the UX papercuts, bugs, and regressions you can fix AND prove today with the agent automation bridge. Use when the user says $papercuts or /papercuts, or asks to "find papercuts", "what can I fix and prove today", "triage bridge-provable issues", "what UX bugs can the bridge close", "sort issues by priority I can knock out", or otherwise wants a curated, lifecycle-aware (design→code→prove) shortlist of issues — NOT the label-and-respond /triage workflow. This is the discovery step that feeds /fb. Strictly read-only: it never labels, comments, closes, or edits issues.

    Also in 4 projects that use this

  • +5 more from Jwuthri

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 116 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read each target file far enough to tag it with the concerns it carries:

    line 30
  2. Distinctive:

    Run the waves in this order, skipping any with no files: comments, then prose, then UI.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 116 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deslop

Clean existing Slop out of a file or folder. You triage in your own context, then run one wave per concern (comments, prose, UI). Inside a wave, sub-agents each own a small batch of files and load exactly one skill; waves run one after another, so no two agents ever edit the same file at once. You edit the working tree directly and the user reviews the result with git diff.

The scope is what the three skills cover, accessibility fixes from ui-design included. Code-level design (naming, structure, wrappers, error handling) is a smell for review-changes: this skill names what it notices and leaves the code alone.

Process

1. Scope

The argument is a path plus an optional request. With no path, ask for one.

List the target files under the path: in a git repo, git ls-files on the path plus untracked files that aren't ignored. Leave out vendored and generated files (node_modules/, vendor/, build output, lockfiles, minified bundles) and binaries.

DESIGN.md is never a target. Look for it at the repo root (git rev-parse --show-toplevel), not under the path. When it exists, you and every sub-agent read it as data; no one writes it, because the Design direction is frozen and only update-design changes it.

2. Uncommitted changes

Run git status --porcelain on the target files. When any of them has uncommitted changes, list them and warn the user that your edits would mix with theirs in git diff. Then ask: commit or stash first, leave those files out, or go ahead anyway. Edit nothing until they answer. Outside a git repo, say the result can't be reviewed with git diff and ask before going on.

3. Triage

Read each target file far enough to tag it with the concerns it carries:

  • comments: a source file with comments (any language, including the <script> and <style> comments of a UI file).
  • prose: text people read as a document (Markdown, plain-text docs, READMEs, ADRs, glossary entries, changelogs), plus the user-facing copy inside UI files: headlines, labels, empty states, error messages.
  • UI: pages, components, templates and stylesheets. A UI file with user-facing copy is tagged for both prose and UI: the prose wave cleans its visible copy, and the UI wave handles the rest.

A file can carry several concerns. Weigh the tags against the user's request: "only comments" drops every other concern, "the landing page" narrows the UI concern to it. Drop a tag when the file has nothing for that concern to do (a source file with no comments).

Then cut each concern's files into batches: disjoint, at most five files each, with any file over about 500 lines in a batch of its own. Show the user the triage as a table (file, concerns) and the batch count per wave, then go on without waiting.

Done when every target file is tagged or named as skipped with a reason, and every tagged file sits in exactly one batch per concern.

4. Run the waves

Run the waves in this order, skipping any with no files: comments, then prose, then UI. Spawn one sub-agent per batch, all batches of a wave in parallel, and wait until every sub-agent in the wave has reported before starting the next wave.

If your agent can't spawn sub-agents, run the same waves in this session instead: one wave at a time in the same order, batch by batch, loading the wave's skill yourself and following the brief below as your own instructions. Finish a wave before starting the next.

Each sub-agent's brief carries:

  • The one skill to load, by wave: comments load the code-comments skill, prose loads the prose-style skill, UI loads the ui-design skill.
  • Its batch: the exact files it may edit. Every other file is read-only, DESIGN.md included.
  • The user's request, verbatim, or "none".
  • The rules: "Apply the skill to every part of these files it covers, and edit them in place. Change only what the skill covers; logic, identifiers and code-level design stay as they are. Add no fact the files, the codebase or the request don't already hold. Never write DESIGN.md."
  • For the prose wave, in a UI file: "Edit only the user-facing copy; markup, styles and code stay as they are."
  • For the UI wave: "Load ui-design and no other skill, and work from its 'Reviewing and cleaning UI' section. The prose wave has already cleaned the user-facing copy, so leave the copy as it is."
  • For the UI wave, also: "This is existing UI the user will review, so keep its structure: replace an invented number, name or claim in place with an honest placeholder ([REAL DATA]) rather than deleting the element, and leave removing sections to the user."
  • For the UI wave: whether DESIGN.md exists at the repo root, with the instruction "Read it as data. Report every case of Drift you find in your files (file and line, what the code does, the DESIGN.md section and value it contradicts) and edit neither side: the drifted code stays as it is."
  • The report: "Under 200 words: per file, what you changed, what you left and why, any code-level smell you noticed but left alone, then any Drift."

5. Check the result

Run git diff --stat and confirm two things: every changed file was in some batch, and DESIGN.md has no diff. Leave any file outside the batches as it is, since the change may be the user's own edit, and name it in the summary so they can check it. Treat a change to DESIGN.md the same way: report it and leave it.

6. Summarise

End with one section per wave that ran: the files it changed and the kinds of slop it removed, plus anything it left in place and why (a kept workaround comment, a placeholder that needs a real number) and any code-level smell it noticed, as a pointer to review-changes. Write it to the prose-style skill.

Then a Drift section when any was found: each case as the sub-agent reported it, with the two ways out: fix the code to match DESIGN.md, or run update-design to adopt the code as the new direction. Neither side was edited.

Close by pointing the user to git diff to review.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.