Install
Install with PiG
pig install npm:fkslopInstall with Pi
pi install npm:fkslopPackages 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": [
"./skills"
]
}README
Written by the package's publisher, shown as published in version 1.0.0 (README.md). PiG does not review it.
fkslop
Design and critique UI that does not read as AI-made.
A fkslop skill for coding agents: a 79-entry dictionary of UI technique, applied psychology and intent framing. The agent asks a few questions, maps the answers to entry IDs, and loads only the 5–9 entries that change a decision — instead of loading a whole design book and shipping the average of everything it read.
Why this exists
Ask three different models for a SaaS landing page and, in most builds, you get the same page back: purple-to-blue gradient hero, Inter everywhere, a pill badge above a centred headline, three identical rounded cards with icon-heading-two-lines, shadow-lg, rounded-2xl, a stat strip with numbers nobody can source, and a dark mode nobody asked for.
The usual explanation is "the model has no taste". The more useful explanation is that the model is doing exactly what it was told. Hand it a design book — 200 rules, all presented as good — and the safest completion is the intersection of every rule: a page that violates nothing and chooses nothing. Averages of the allowed set are what slop is.
Two consequences follow, and this repo is built around both:
- More guidance makes it worse, not better. Loading the whole library applies every constraint at once. That is the failure mode, not the fix.
- Escaping the obvious defaults is not enough. There is a second order of slop — the "tasteful escape" that also converged: the same editorial serif, the same off-black on off-white, the same oversized ultralight headline, the same single accent. Telling a model to avoid gradients just moves the average somewhere else. It has to be given a subject to design from, not a look to copy.
The approach
Dictionary, not book
Every entry is one technique, one psychology principle, or one intent frame, with a stable ID:
| Prefix | Count | What it is |
|---|---|---|
T- | 44 | Technique — type, colour, layout, components, motion, critique |
P- | 31 | Psychology — perception, memory, motivation, dark-pattern warnings |
I- | 3 | Intent — how to state a job before drawing anything |
M- | 1 file | Method toolkit — 18 research methods for high-unknown briefs |
Each entry carries a "when to use", a "when NOT to use", page-type scope, exact values (only numbers the research actually gives), related IDs, and sources. Cross-references are by ID only. index.json is the machine-readable index; entries.mjs resolves IDs to absolute paths so the agent can read exactly the files it selected.
Route by question, then spend a small budget
The agent answers three things before designing — what page is this, what job is the user hiring it for, what is this product's own world — then asks at most a couple more questions, and only where the answer changes the work. questions/question-flow.md holds the 15-question menu, the wording, and the answer→entry mappings.
Answers are candidates, not checklists. The target is 2–3 psychology + 3–5 technique entries, and nothing else gets loaded. If more than 9 survive, drop Tier 2 first, then the lowest-priority Tier 1 entry for that page type.
Layered, so conflicts resolve instead of averaging
intent > subject > tokens > layout > components > polish
When two loaded entries disagree, the higher layer wins. That single rule is why a small loaded set can produce a committed design instead of a compromise.
- Tier 0 — non-negotiable. Name the job, derive direction from the subject, write the token contract before components, render and critique, never invent proof.
- Tier 1 — the 11 high-signal tells. Violating one alone makes a page read as machine-made.
- Tier 2 — reference. Consulted when a Tier 1 check fails or the user asks. Never blocks a ship.
Critique the render, not the code
Three checks run after a build, and only after it:
- T-39 First-order tells — 20 concrete tells (gradient hero, one font at one weight, three identical cards, uniform radius plus soft shadow, glassmorphism by reflex, emoji icons, vague aspirational headline, invented logos/testimonials/prices, four-column footer with newsletter box…). 3 or more means it reads machine-made. Scoped by page type, so landing tells are not checked on a dashboard.
- T-40 Second-order slop — the tasteful escape clusters. Judged in combinations, because each element alone is fine and the cluster is the tell.
- T-41 Three tests — similar-prompt, silhouette, and "would a human have done this?".
Fixes are ranked, max 3 per pass, max 3 passes, and the page is re-rendered after each. A clean checklist without a render is not proof.
Guardrails that are unconditional
Never invent proof (numbers, logos, testimonials, awards). No dark patterns — fake urgency, confirmshaming, hidden costs, roach motels. Accessibility defaults are not negotiable: visible focus, AA contrast, labels, reduced motion, adequate target size. Labelled mock data is allowed; mock data presented as real is not.
What is inside
skills/fkslop/
├── SKILL.md entry file: question flow, loading budget, critique loop
├── index.json ID, category, tier, page types, triggers, summary, file
├── entries.mjs resolve IDs to absolute paths
├── questions/question-flow.md the 15-question menu, mappings, worked example
├── techniques/ 44 entries, T-01…T-44
├── psychology/ 31 entries, P-01…P-31
├── intent/ 3 entries, I-01…I-03
├── methods/ research methods for high-unknown briefs
├── INDEX.md the master table
├── README.md the library's own docs
└── PROJECT_STRUCTURE.md layout rules and how to add an entry
A typical load looks like this:
node skills/fkslop/entries.mjs T-42 T-06 P-08 T-34 P-02
# T-42 Token Contract tier 0 … techniques/token-contract.md
# T-06 Palette from the Subject tier 2 … techniques/palette-from-subject.md
# …
Install
Pi
pi install npm:fkslop
Claude Code
/plugin marketplace add <your-github-user>/fkslop
/plugin install fkslop@fkslop
OpenCode
node install.mjs --opencode
Any host / all at once
npx fkslop # or: node install.mjs
node install.mjs --dry-run # show targets first
Targets: ~/.claude/skills/fkslop, ~/.config/opencode/skills/fkslop, ~/.agents/skills/fkslop. Add --project for repo-local installs. Pi and OpenCode both read .agents/skills.
Use
Let the description route to it, or invoke it directly:
/skill:fkslop landing page for a soil-testing lab. feel is instrumentation, not marketing
this dashboard looks like every AI dashboard. de-slop it.
Build requests run the full loop: read the brief → ask only the questions that change the work → load 5–9 entries → write DESIGN.md (tokens) → build the states, not just the happy path → render desktop and mobile → run T-39/T-40/T-41 → return ranked fixes.
Review-only requests skip the build: inspect the existing code, render it, return at most 3 ranked fixes, each with its entry ID and one line of why. A page that passes T-39 and T-41 is not redesigned.
If the host has no structured question tool (ask_user_question on Pi, AskUserQuestion on Claude Code, question on OpenCode), the skill numbers 2–3 options in plain chat and waits. It does not proceed on an assumed answer.
Honest limits
- The numbers are only as good as their sources. All 20 DOIs cited in
psychology/were checked against the publisher record (Crossref, or doi.org for the two legacy journals); one was wrong and was fixed (social-proof pointed at an unrelated article). Every entry keeps its own## Sources, so a reader can re-check the specific claim rather than trusting the page. - What is not DOI-verifiable. Most psychology entries rest on a book or a practitioner article (Loewy 1951, Norman 1988, Cialdini 1984, Eyal 2014, Baymard, NN/g). Where no peer-reviewed paper exists, the entry says so and its limit is stated — a book is a source, not a measurement.
- The tiering was a desk test. The 5-brief exercise behind Tier 0/1 was sketched directions reviewed at a desk, not live builds or measured user data.
- Detectors are diagnostics. T-39 counts tells; a low count is not proof of good design, and one tell is not proof a model made the page. Krebs scored 1,590 Show HN submissions with deterministic DOM/CSS checks against 16 patterns: 22% hit 4+ (heavy), 32% hit 2–3, 46% hit 0–1, with a self-estimated 5–10% false-positive rate after manual QA. The post publishes only those tier rates, not per-pattern rates — nothing here claims a model produces a given tell at a given frequency.
- This is not a substitute for research. It is a way to stop an agent from defaulting, and to make its defaults explicit and arguable.
References & shoutouts
Nothing here was invented from nothing. The tells come from catalogues that were already good, and the psychology cards restate published research — every entry carries its own ## Sources, and skills/fkslop/REFERENCES.md is the short list. The load-bearing ones:
- Impeccable (Paul Bakaus) — https://github.com/pbakaus/impeccable
- avoid-ai-design 67-tell catalog — https://github.com/funboy322/avoid-ai-design/blob/HEAD/references/ai-tells-catalog.md
- Anthropic's frontend-design skill — https://github.com/anthropics/skills/tree/main/skills/frontend-design
- Hallmark (Hassan El Mghari) — https://github.com/Nutlope/hallmark · taste-skill — https://github.com/Leonxlnx/taste-skill · unslop — https://github.com/heydamir/unslop · frontend-design-pro — https://github.com/Krishna-Modi12/frontend-design-pro
- Spot the Slop (Kosta C.) — https://world.hey.com/kostac/spot-the-slop-a-ui-designer-s-guide-to-fixing-ai-defaults-4c448c9c
- Adrian Krebs, "Scoring Show HN submissions for AI design patterns" — https://adriankrebs.ch/blog/design-slop/ (the only frequency data in this repo)
- Refactoring UI — https://refactoringui.com · Laws of UX — https://lawsofux.com · NN/g — https://www.nngroup.com/articles/
The tiering, the 3-tell rule, the fix budget and the routing questions are this repo's own heuristics — not findings, and not borrowed authority.
Contributing an entry
One file in the right folder, one row in INDEX.md, one object in index.json, one trigger in questions/question-flow.md. Nothing else changes. Layout rules are in skills/fkslop/PROJECT_STRUCTURE.md.
License
MIT