← Catalog

@blackbelt-technology/anti-slop-frontend

Pi skills — a mechanical, countable anti-slop suite for AI-generated frontend: AI-tell checklist with surface profiles and theme parity, a redesign protocol, and opt-in image direction and brand-kit skills. Advisory; pairs with frontend-mo…

Skill

Install

Install with PiG

pig install npm:@blackbelt-technology/anti-slop-frontend

Install with Pi

pi install npm:@blackbelt-technology/anti-slop-frontend
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    ".pi/skills/anti-slop-frontend",
    ".pi/skills/anti-slop-redesign",
    ".pi/skills/anti-slop-image-direction",
    ".pi/skills/anti-slop-brandkit"
  ]
}

README

Written by the package's publisher, shown as published in version 0.11.0 (README.md). PiG does not review it.

@blackbelt-technology/anti-slop-frontend

A pi package — skills only, no tools — that catches the concrete signatures an undirected model emits when it tries to "look designed", and keeps redesigns and generated references from reintroducing them.

Every review rule is countable or binary, so you verify pass/fail instead of arguing taste. "It looks better" is not a check; eyebrow count > ceil(sections/3) is.

Generic: works in any React/Tailwind/shadcn (or plain HTML) project.

Install

pi install npm:@blackbelt-technology/anti-slop-frontend
# or try without installing:
pi -e npm:@blackbelt-technology/anti-slop-frontend

This registers four skills. No tools, no commands.

SkillUse for
anti-slop-frontendthe AI-tell catalog: Design Read, surface profiles, theme parity, grep-able pre-flight
anti-slop-redesignchange an existing surface: mode (greenfield / preserve / overhaul), audit first, levers in order, never-change-silently list
anti-slop-image-directionopt-in, paid reference images for marketing / new-site, distilled into a written direction brief
anti-slop-brandkitopt-in, paid brand board for a new-site with no brand; a proposal, never auto-applied

Surface profiles

Before any review or generation the agent declares a one-line Design Read: profile · audience · mood · VARIANCE/MOTION/DENSITY. The profile decides which rules fire.

ProfileUniversal tells (A)Marketing tells (B)Layout disciplineRedesign defaultImage direction
product-ui✓✗✗preserveforbidden
marketing✓✓✓preserveopt-in
new-site✓✓✓greenfieldopt-in

Theme parity (T1-T3) applies to every profile: zero added raw colour literals in the diff, the project's token guard clean, and a screenshot set per profile (default theme dark + light + one non-default palette for product-ui).

What it catches

PartScopeExamples
A — Universalevery surface, dashboards includedAI-purple glow, Inter-as-default, the em-dash ban, "Jane Doe / Acme / 99.99%" fake data, div-based fake screenshots, hand-rolled SVG icons, happy-path-only states, unmotivated motion, arbitrary z-index
B — Marketing onlylanding / portfolio / abouthero discipline, eyebrow-per-section, equal-3-card rows, zigzag cap, bento rhythm, decoration/locale/scroll-cue strips, duplicate CTA intent, nav on one line ≤ 80px
T — Theme parityevery profileadded colour literals, token guard, per-theme screenshots

Every rule has an override path: when the brief explicitly asks for the "banned" thing, it is allowed — done with intent, not by default-reaching.

Image prerequisite (opt-in, paid)

anti-slop-image-direction and anti-slop-brandkit only generate images on an explicit request, after the user confirms the image count, the backend and that generation is paid. Headless runs never generate. Without a backend both skills fall back to a text-only brief, so the prerequisite is optional.

pi install npm:@blackbelt-technology/pi-dashboard-nano-banana   # provides pi-nano-banana
export GEMINI_API_KEY=...                                       # or use the pi/OpenRouter backend (--backend pi)

Images are experimental; the text brief is the primary path. The pi-nano-banana bin is a TypeScript entry and does not run as a plain command from an npm / pi install copy (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING). Run it through a pinned tsx (never an unpinned npx tsx, which executes whatever version the registry serves):

npx --yes tsx@4.23.12 ~/.pi/agent/npm/node_modules/@blackbelt-technology/pi-dashboard-nano-banana/src/bin/nano-banana.ts "<prompt>" --output out.png
# inside the pi-agent-dashboard monorepo (uses the repo's locked tsx):
npx --no-install tsx packages/nano-banana/src/bin/nano-banana.ts "<prompt>" --output out.png

Relationship to frontend-mockup-loop

Separate, complementary skills:

(blank)frontend-mockup-loopanti-slop suite
Shapeground→contract→mockup→test→fix→learn loopchecklist + redesign protocol + opt-in references
Basiscite an external public rule (Nielsen, WCAG, Laws of UX)codified AI-tell catalog
Authorityowns the hard gates (WCAG-AA, severity-4)advisory only

When both run: the loop's a11y floor and cite-a-source rule win; the suite feeds concrete failing items into the loop's FIX step and never overrides a gate. A direction brief from generated images is one GROUND input, never the source.

Attribution

Adapted from Leonxlnx/taste-skill (MIT) at commit 18dfc92 (2026-10-08): taste-skill, redesign-skill, image-to-code-skill, imagegen-frontend-web and brandkit. Only countable rules are kept; stack coupling (Next RSC / Motion / GSAP / next/font) is removed; generated images are direction, not source. The per-section map and refresh procedure are in UPSTREAM.md.

License

MIT