AI slop is content produced quickly with an AI tool and shipped without anyone thinking hard about it. In code, it is the pull request that looks confident, compiles and even passes a glance, yet nobody reasoned about whether it should exist.
What 'slop' means
The word started with writing and images: posts that all sound the same, with the same structure, the same tone and the same stock phrases. The giveaway is not that a model was involved. It is that nothing else was. There is no point of view, no specific detail and no sign that someone checked it was true or useful.
That is the useful definition to hold on to. Slop is not 'anything an AI touched'. It is output where the human part of the job, deciding what is worth saying and whether it is right, was skipped. Prompts go in, posts come out, and taste never enters the loop.
Slop in code
Code has the same failure mode, and it costs more because code runs. AI coding slop tends to share a few traits:
- Large diffs with no context. Thousands of lines changed, with a pull request description that restates the diff rather than explaining the problem it solves.
- No tests, or tests that only exercise the happy path the model imagined.
- No design. The change solves the prompt, not the project's actual problem, and ignores the patterns the codebase already uses.
- No trade-offs. Nobody weighed the alternatives, so nobody can say why this approach was chosen.
- No ownership. When a reviewer asks 'why does this line exist?', the author does not know.
Why it looks fine at first glance
Language models are very good at producing code that is plausible: well named, neatly formatted and idiomatic. Plausible is not the same as correct. The surface signals a reviewer normally uses to judge quality (clean style, sensible names, confident comments) are exactly what a model produces for free, so they stop telling you anything. The bugs hide in the parts that need real understanding: error handling, edge cases, concurrency and how the change interacts with code the model never saw.
Wondering how this was made? How we make these