anti-slop-code
Anti-slop code
The cost of writing code collapsed; the cost of reading it didn't. Code that's slow to understand is slop even when it works. Load anti-slop for the shared rules (do what was asked, verify before claiming). The rule catalogue with examples is RULES.md.
Rules tagged in RULES.md come from: Anthropic's code-simplifier agent (Apache-2.0), tagged [Anthropic, code-simplifier]; React Doctor's deslop skill, which is that agent's text with additions (indirection, inlining single-use functions, leftover scaffolding, consolidating duplicates with truffler), tagged [React Doctor, deslop] for the additions only; and React Doctor's find-similar-functions, which comes from the truffler repo (MIT), tagged [React Doctor, find-similar-functions]. React Doctor's deslop is not Nimblesite's Deslop duplicate finder; the duplication reference tells the two apart.
Apply only the routes and checks for the selected job. Read a linked skill's named file from its installed folder when available, or from the linked source. Report an unavailable required reference instead of inventing it. [skill-authoring, DISTRIBUTION.md#composing-skills]
| The job | Read |
|---|---|
| Review or remove code slop without changing behavior | RULES.md |
| Use FixMySlop when selected, with its rule controls, baseline and source-version limits | FIXMYSLOP.md |
| Select Deslop, truffler or jscpd for duplication and reuse evidence | Duplication tools |