@gessobuild/anti-slop

A deterministic design critique for HTML/CSS, extracted from the set of
rules professional designers use in production-grade designs.
"Slop" is the set of visual tells that make generated UI read as generated:
the gradient-clipped headline, the indigo accent nobody chose, the puffy
stacked drop-shadow, the emoji standing in for an icon system, the row of
equal dots faking a chart, the badge card floated over the hero, the em
dash mid-sentence, the $1,842,000 figure no designer would typeset raw.
This package holds 73 of those tells as executable rules: each one a
documented detector with an exact threshold, most with a deterministic,
idempotent, design-preserving auto-fix. Simple tells are regex-level;
structural tells are found by parsing the markup (never executing it).
The detector reads .html files (inline styles and <style> blocks):
exports, prototypes, static builds, generated screens. It does not parse
JSX/TSX source; render or export to HTML first, then check the output.
Install
npx -y @gessobuild/anti-slop install
Use
/gesso-critique page.html
That one command is the whole loop: the deterministic verdict with
evidence, the auto-fixes on request, then a clearly-labeled second
opinion. You can also just ask ("check this for slop", "second opinion
on this screen"), and the installed skill runs the check on its own
before the agent shows, ships, or commits HTML/CSS.
The install copies the skill and the command into the current project's
.claude/, git-reviewable (--global targets ~/.claude/ instead).
Everything you install is committed here word for word:
SKILL.md,
rules.md,
critique.md.
Other ways to install
On another agent (Codex, Cursor, Amp, and friends), install through the
skills CLI; there
is no slash command there, so trigger it by asking for a slop check or
critique:
npx skills add Gesso-Build/skills
Claude Code users can install the plugin instead. Note the plugin spells
the command /gesso:critique (colon, not hyphen):
/plugin marketplace add Gesso-Build/skills
/plugin install gesso@gesso
CLI
Nothing to install for one-off checks and CI:
npx -y @gessobuild/anti-slop check page.html # verdict + tells; exit 1 on slop
npx -y @gessobuild/anti-slop check dist/ --json # machine-readable, whole tree
npx -y @gessobuild/anti-slop fix page.html --write # apply the deterministic fixes
On editorial/marketing pages, add --marketing to check or fix:
em-dash-copy then reports as advisory instead of gating, and the fixer
leaves authored em dashes alone. In interface chrome the tell stays
gating.
check exits 0 on clean, 1 on slop, 2 on usage errors, so a CI step is one
line (see Wiring it into CI).
Advisory (FLAG-tier) hits are reported for context but never affect the
verdict or the exit code. fix is idempotent: running it twice is a no-op.
A failing check prints SLOP (severity N, M advisory): severity is a
weighted sum of distinct gating tells, capped at 4 per rule so one runaway
pattern cannot drown the rest, and the advisory count is the genre-dependent
context that never gates. Read severity 1-2 as an isolated tell, 3-6 as a
pattern with a shared cause, and 7+ as template-grade slop that needs design
attention beyond the fixes; those bands are calibrated for a single screen,
so compare longer documents on severity plus the advisory count together,
never severity alone. A pass is stricter than a low score: it means zero
FIX/GATE hits. When a document links external stylesheets it does not
inline, the check says so and every style-dependent result is a lower
bound.
The 73 guards
FIX rules are auto-fixable; GATE rules are detect-only because the right
fix needs a decision the tool refuses to fake (which properties to animate,
what the copy should say, which real image to use); FLAG rules are advisory
and never affect the verdict, because their tell is genre-dependent (an
over-designed list row is a defect on an app feed but the genre on a
marketing page); BASE rules are additive polish whose absence is not a
defect (they never affect the verdict; fix injects the default once,
idempotently). Every guard's exact detection condition, rationale, and
before/after pair is documented in
skills/anti-slop/references/rules.md.