Agent skill

Anti-Slop Skill: 73 Deterministic Guards for HTML and CSS

The anti-slop skill gives an AI coding agent a deterministic check of HTML and CSS against 73 slop guards, applies safe auto-fixes and reports the rest with concrete edits.

Install
npx -y @gessobuild/anti-slop install
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the anti-slop skill?

The anti-slop skill is a SKILL.md in Gesso-Build/skills. Your AI coding agent runs a detector with 73 slop guards on HTML and CSS, applies deterministic auto-fixes with the fix command, and reports the guards that need a human decision, with a verdict and a table of rule ids and hit counts.

The anti-slop skill is a deterministic design critique for HTML and CSS, extracted from the rules professional designers use in production-grade designs. It holds 73 slop guards, each a documented detector with an exact threshold.

Slop means the visual tells that make a screen read as generated rather than designed, such as the gradient-clipped headline, the indigo accent nobody chose and the emoji standing in for an icon system.

The workflow

  1. Run the detector with check. It exits 0 when clean, 1 when slop is found and 2 on usage errors, such as no .html files under the target.
  2. Read the JSON, which holds a pass flag, the issues, a severity score and counts of gating and advisory hits.
  3. Apply the deterministic fixes with fix and the write flag, then re-run the check.
  4. Resolve the detect-only guards by hand, quoting the exact occurrence from the JSON.
  5. Report a verdict and a table with one row per guard that fired. If you asked for a critique, a separate Beyond the ruleset section adds judgment.

Guard tiers

  • FIX: auto-fixable, deterministic, idempotent and design-preserving, and hits count toward the verdict.
  • GATE: detect-only because the right fix needs a decision, such as which properties to animate, what the copy should say or which real image to use.
  • FLAG: advisory, not counted toward pass or severity, used for genre-dependent tells.
  • BASE: additive polish whose absence is not a defect, which fix injects once.

Reading severity

Severity is a weighted sum capped at 4 per rule. A score of 1 to 2 is an isolated tell, 3 to 6 is a pattern with a shared cause and 7 or more is template-grade slop. A pass means zero FIX or GATE hits.

Who the anti-slop skill is for

Best for

  • Generated or hand-written HTML and CSS that is about to be shown, exported, shipped or committed.
  • Exports, prototypes, static builds and generated screens saved as .html files.
  • CI steps that gate on the exit code of the check command.

Not for

  • JSX or TSX source files, which the detector does not parse until they are rendered or exported to HTML.
  • Scoring a screen across six weighted dimensions and Nielsen's ten heuristics with a prioritized findings table, which the design-review skill covers.
  • Laying out toolbars, forms and dashboards with six Gestalt principles so related controls visibly belong together, which the gestalt-ui-organisation skill covers.
  • Measuring contrast and checking WCAG 2.2 criteria in a findings table with severity and fixes, which the plugin87-a11y-audit skill covers.
  • Auditing HTML for missing names, broken keyboard access, bad focus handling and unlinked form errors, which the fixing-accessibility skill covers.