AI-Slop plugin
Audits a codebase's user-facing copy, layouts and metadata for AI-written tells and factual errors, reviews a web, iOS or Android screen for AI-generated design, rewrites text to remove AI writing patterns, prunes code comments that narrate the code or excuse a workaround and tests that can't catch a bug, and rebuilds a feature an agent just wrote as a simpler second version. It runs in Claude Code, Codex and Cursor.
Available skills
/slop-audit
Reads the surfaces a user sees: pages and shared layout, components and data files that carry copy, forms, emails, visible error text, legal pages, metadata, app strings and store listings, READMEs and --help output. It reports four kinds of problem:
- Copy that reads as AI-written: em dashes, "X, not Y" slogans, triplets, filler, inflated vocabulary, résumé voice
- Layouts that read as templates: the centered hero, icon grid and logo marquee stack, decorative badges, stock icon tiles, default AI palettes
- Metadata built from boilerplate: one tagline repeated across meta tags, JSON-LD,
llms.txtand the manifest, or descriptions that promise content the site doesn't have - Errors: a privacy policy that misses the fonts, analytics or pixels the code loads; prices, reply times or product lists that differ between pages; claims another page contradicts; links and components that lead nowhere
The audit changes nothing until you answer its questions.
How it works
- Reads the project's own rules first (
CLAUDE.md,AGENTS.md, an ai-knowledge knowledge base, voice or style docs,DESIGN.md), so it doesn't flag documented house style or re-ask questions an earlier audit settled - Lists every user-facing surface before reading, and splits large repos across parallel read-only subagents
- Counts habits that repeat across the site, and how many files each appears in
- Checks legal pages against the code and, given a live URL, against the scripts the live page loads
- Scores each area from 0 to 100, quotes each finding with
file:line, and gives a concrete fix for every one - Ends with a fix plan, the defaults it will use, and numbered questions you can answer in one reply
After you answer, it applies the fixes, removes the old wording from every metadata surface, regenerates OG images and updates legal effective dates where needed, runs the project's checks, and records your answers as project rules so later sessions don't bring the old copy back.
The signal checklist is signals.md, shared with /slop-rewrite. Rules in the project override it.
The agent also runs the skill when you ask whether a site, app or README reads as AI-written.
Usage
/slop-audit
/slop-audit skip the blog
/slop-audit only /about https://example.com
/slop-rewrite
Rewrites one piece of text so it reads as a person wrote it. Point it at a file or glob, or paste the text right after the command. It works from the same signals.md as the audit, and reads the project's own writing rules first.
- Content type sets how much personality the rewrite allows: none for technical docs and PR or changelog text, a little for a README, and full voice for a blog post.
- Level sets how far it goes:
lightfixes clear tells only,standardfixes every signal and keeps the structure, andheavyrewrites freely. - It asks for whatever the arguments leave out. Pasted text comes back as one block to copy. Files change only after you approve the edits.
- It never adds facts. A line that needs one, such as an unmeasured figure, comes back as a question.
It runs only when you call it.
Usage
/slop-rewrite
/slop-rewrite README.md
/slop-rewrite type=blog level=standard docs/posts/launch.md
/slop-rewrite type=pr level=light
<paste the text on the lines after the command>
/slop-comments
Reviews code comments and the workarounds they explain. With no arguments it reviews the comments your branch adds or changes, compared with the default branch. Pass a path or glob, or all for the whole repo. It skips vendored and generated code, migrations, config files and prose.
Agents copy what's already in a codebase, so a comment that narrates the code or excuses a workaround spreads.
How it works
- Reads the project's rules and lint config first, so it keeps the doc comments a lint rule or doc generator needs and follows any documented comment convention
- Sorts every comment into delete, rewrite, encode, workaround or keep. Deletion is the default. Narration, history, commented-out code, stale notes, signature restatements, banners, agent leftovers and vague TODOs go
- Keeps only tooling directives, legal headers, public API contracts, reasons a reader can't see in the code (a spec, a vendor bug, a measured trade-off), surprises, dense notation and TODOs that link an issue
- Turns rules written as comments ("must be called after init", "keep in sync with X") into a type, assertion, test, lint rule or CODEOWNERS entry, then deletes the comment
- Investigates each workaround, including lint and type suppressions: reads its git history, names the cause, and checks whether the cause still exists. Each one is planned as a fix at the cause (sized, with the tests that cover it), a deletion because the cause is gone, or a keep with a comment that names the cause and when it can go. It never deletes a workaround's comment and leaves the workaround
- Ends with a batched plan and numbered questions, and changes nothing until you answer
After you answer, it applies the batches in order and runs the typecheck, lint and tests between them. A cause fix that breaks tests is reverted and reported. It then offers a short comment rule for AGENTS.md, CLAUDE.md or a Cursor rule, so agents stop writing new ones.
--fix applies the plan without asking, for unattended runs. It leaves medium and large refactors, code changes no test covers, and anything that waits on a question in the report. The keep and delete rules are in comment-rules.md.
The agent also runs the skill when you ask it to prune or clean up code comments.
Usage
/slop-comments
/slop-comments src/billing/
/slop-comments all
/slop-comments "src/**/*.ts" --fix
/slop-tests
Reviews tests that can't catch a bug. With no arguments it reviews the tests your branch adds or changes, compared with the default branch. Pass a path or glob, or all for the whole suite. Its checklist covers Vitest, Jest, Playwright, pytest, XCTest, Swift Testing and Go, and it finds the test command for other runners in the project's scripts and CI.
Agents add tests to look thorough. An agent asked to remove a feature often adds tests that check the feature is gone. These tests slow every run and every refactor, and the next agent copies them.
How it works
- Reads the project's rules and finds each test stack, its command and any coverage or mutation tool already set up
- Runs the suite once before it changes anything, and leaves tests that already fail or flake alone
- Sorts every test into three kinds, with a confidence for each finding:
- Change detectors: large structural snapshots, assertions only on mock calls, private internals, brittle selectors, tests that mock every collaborator or copy the implementation. Git history counts how often the test changed with its source
- Tests that check a removed feature is gone: absence checks with no cause, and tests that scan source files for a missing string.
git log -Sshows whether the same commit removed the feature and added the test - Tests that can never fail: no assertion, tautologies, mocks that echo their stub, swallowed errors, unawaited or unreached assertions, empty tables, skips and stray
.only
- Checks that another test still covers the behavior before it plans a delete. A broken test that guards real behavior is planned as a fix, and a change detector over untested behavior as a rewrite
- Ends with a batched plan and numbered questions, and changes nothing until you answer
--verify confirms each uncertain finding in a scratch git worktree: it breaks the code under test to see whether the test fails, or refactors it without changing behavior to see whether a change detector breaks. Your checkout isn't touched.
After you answer, it applies the batches in order and runs the suite after each one. If a change turns a passing test red, or drops coverage of a line no other test reaches, it undoes that change and reports it. It then offers a short testing rule for AGENTS.md, CLAUDE.md or a Cursor rule, and the forbidOnly or allowOnly setting where the stack has one.
--fix applies the high-confidence findings without asking, for unattended runs, and only when the baseline ran. It leaves rewrites and anything that waits on a question in the report. The detection rules are in test-rules.md.
The agent also runs the skill when you ask it to prune or clean up low-value tests.
Usage
/slop-tests
/slop-tests src/billing/
/slop-tests all --verify
/slop-tests "tests/**/*.py" --fix
/slop-rebuild
Rebuilds a feature an agent just implemented, the way the prompt "Knowing everything you know now, scrap this and implement the elegant solution" asks for, but without losing the first version. By default it covers every file the current branch changed since the default branch, plus uncommitted changes. Pass a path or glob to narrow it, or --base <ref> to set where the feature started. --base HEAD covers only the uncommitted changes. The first working version often keeps abstractions, helpers and layers the agent added while it was still learning the problem.
How it works
- Saves the original to a
slop-rebuild/<slug>-originalbranch. Uncommitted and untracked changes go in through a temporary index, so your working tree, index and branch stay as they are - Creates a worktree on a
slop-rebuild/<slug>-rebuildbranch and runs the project's typecheck, lint and tests there as the baseline. It writes tests for any behavior of the feature that no test covers, checks that they pass on the original, and commits them first - Lists what the first pass learned: the real constraints, existing helpers to reuse, abstractions and layers that weren't needed, debugging scaffolding, duplicated logic, what the original got right, and dead ends
- Removes the feature's code in the worktree but keeps its tests, watches the tests fail, then writes the feature again from that list until every check that passed on the original passes
- Compares the two versions: code and test lines, new files, exported names, types and dependencies, the call path from the entry point, a complexity score when the project has a tool for one, and the check results. It recommends the rebuild, the original, or a few named parts of the rebuild. When the two are close, it recommends the original
- Changes your checkout only after you choose. A committed original is fast-forwarded to the rebuild. An uncommitted one gets the rebuild as uncommitted changes. It keeps both branches and tells you how to delete them
It keeps the feature's behavior and public API unless you ask for a change, touches only the files the feature changed, and never pushes. It runs no destructive git command in your checkout unless you ask for that command. It stops on small or mechanical changes, a feature that doesn't work yet, behavior no test can check, and code that's already merged. Claude Code's built-in /simplify cleans up a change in place. /slop-rebuild writes the feature again from scratch and compares both versions before you pick one.
The agent also runs the skill when you ask it to scrap an implementation and redo it the simple or elegant way. Run it in the conversation where the agent built the feature, so it can use what it learned.
Usage
/slop-rebuild
/slop-rebuild src/export/
/slop-rebuild --base HEAD
/slop-rebuild --base 4f2a91c
/slop-design
Reviews one screen for the signs of AI-generated design and fixes it the way a designer works through a redline: purple-to-blue gradients, glows, emoji used as icons, shouty copy, uneven spacing, generic cards, and template themes nobody changed. It works on web apps and sites (Nuxt, Vue, Tailwind, TypeScript, React, plain HTML and CSS), iOS apps (SwiftUI and UIKit) and Android apps (Jetpack Compose and XML views).
How it works
- Reads the project's rules, brand and design tokens, and notes which other screens a shared token reaches
- Detects the platform and loads only that platform's notes, plus a shared checklist of signs and a token guide
- Looks at the screen through the code and any screenshots you attach. A screenshot step is optional: Playwright or a browser tool for the web, and a simulator or emulator that is already running for native apps. It installs nothing and starts no simulator or emulator without asking
- Lists every sign with its
file:lineor screenshot region, grouped by the pass that fixes it, and runs a name-swap test: put a competitor's name on the screen and see whether anything looks wrong - Rates the screen heavy, light or clean. A clean screen gets at most three small refinements with exact values, and nothing else changes
- Proposes a direction taken from the product: its character, the one or two spots on the screen where color and detail belong, and one signature detail. Then it waits for you to steer
- Fixes the screen in nine passes: spacing, color, icons, copy, type, layout, details, visuals and motion
- Runs the project's checks, compares before and after screenshots when it has them, and reports each change with its old and new values
On iOS it follows Apple's Human Interface Guidelines: semantic colors with light and dark appearances, Dynamic Type text styles, SF Symbols, safe areas, 44 pt touch targets, system materials instead of fake glows, native navigation and sheets, and Reduce Motion. On Android it follows Material 3: color scheme roles and dynamic color, the type scale, the 8 dp grid, 48 dp touch targets, shape tokens, window size classes for phones, foldables and tablets, edge-to-edge insets, and "Remove animations". Each platform has its own signs, such as the template purple theme left in an Android project or a hamburger menu forced into an iOS app.
It keeps the product's features, content, navigation and accessibility identifiers, and never makes accessibility worse. It generates no images: a hero that needs one gets a sized slot and a one-line description. --fix applies the direction without stopping for approval, for unattended runs. /slop-audit covers copy and layout across a whole site. /slop-design goes deep on one screen. The checklist and guides are in references/.
The agent also runs the skill when you ask it to unslop, polish or redesign a screen that looks AI-generated.
Usage
/slop-design
/slop-design the dashboard page
/slop-design platform=ios Sources/Features/Home/HomeView.swift
/slop-design app/src/main/java/com/example/feature/settings/SettingsScreen.kt --fix
Related plugins
/improve-audit(ai-improve) reports test coverage gaps and plans the tests that are missing./slop-testsremoves and repairs the tests that are there./modernize-audit(ai-modernize) covers the rest of the code: anti-patterns and technical debt left by older AI-generated code./accessibility-audit(ai-accessibility) runs a full WCAG audit./slop-designchecks only the contrast, labels, touch targets and text scaling of the screen it changes.
Installation
Claude Code:
/plugin marketplace add charlesjones-dev/ai-agent-plugins
/plugin install ai-slop@ai-agent-plugins
Codex:
codex plugin marketplace add charlesjones-dev/ai-agent-plugins
codex plugin add ai-slop@ai-agent-plugins
Cursor: add this repository as a team marketplace, or copy this folder to ~/.cursor/plugins/local/ai-slop. See the Cursor install steps.
Plugin details
- Name: AI-Slop Plugin
- Skills:
/slop-audit,/slop-rewrite,/slop-comments,/slop-tests,/slop-rebuild,/slop-design - Version: 1.4.0
- License: MIT
- Author: Charles Jones
Credits
/slop-design is inspired by unslop by Damir Sokolovsky (@heydamir), a CC BY 4.0 skill that redesigns AI-looking web UI. /slop-design follows its approach (an audit, then a direction, then ordered passes) and adds iOS and Android guidance. Its text, checklists and token guides are written from scratch and copy no files from unslop.
Contributing
Bug reports and fixes are welcome. See CONTRIBUTING.md.
License
MIT License. See LICENSE.