The anti-slop AI coding prompt that works: "deepen modules, simplify interfaces"

mattpocockuk · x · 2026-11-07

Developer @khrus shares the anti-AI-slop coding prompt that has worked best for him: "deepen modules and simplify interfaces." It drives strong deduplication and centralization of core functionality, pushing the AI toward better abstraction levels — yielding consistency improvements, bug fixes, and notably reduced lines of code.

His workflow: a deepening pass on every PR, plus a nightly automation targeting overdue maintenance. The idea comes from John Ousterhout's Philosophy of Software Design, which he only fully leveraged after Matt Pocock recommended applying it.

Original post →

More from coding & agent

coding & agent channel →