ui-critique
Skill0 starsChanged 24 days agoMITView on GitHub
UX/Layout-Review für HTML/CSS-Komponenten — visuelle Hierarchie, Konsistenz, Spacing, Typografie-Skala, Interaktions-States, Empty/Loading/Error-States. Optimiert für FastAPI-Templates + style.css-Token-Systeme. Nur eigener Code und eigene Templates; eine fremde öffentliche Website per URL analysieren → site-anatomy.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Markssuave/Markssuave-Agent-skillstheir own version, first seen Nov 8, 2026
- ayushg8/ui-intelligencetheir own version, first seen Oct 13, 2026
- manastalukdar/ai-devstudiotheir own version, first seen Oct 13, 2026
- Jinbae10/skillstheir own version, first seen Jul 7, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- manastalukdar/ai-devstudio★ 1same name
- Markssuave/Markssuave-Agent-skills★ 1same name
- ayushg8/ui-intelligence★ 0same name
- Jinbae10/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- a11y-checkSkill
- agent-createSkill
- branch-finishSkill
- changelog-updaterSkill
- code-doc-syncSkill
- codex-msgSkill
- codex-reviewSkill
- csoSkill
- db-exploreSkill
- deploy-preflightSkill
- deps-checkSkill
- design-htmlSkill
- design-shotgunSkill
- design-taste-frontendSkill
- finanzberaterSkill
- footstep-eq-tunerSkill
- full-auditSkill
- gateSkill
- gemini-digestSkill
- graphifySkill
- handygame-botSkill
- hook-createSkill
- instructions-drift-checkSkill
- investigateSkill
- leanreaSkill
- legal-deSkill
- loopmodeSkill
- loopstopSkill
- lyraSkill
- office-hoursSkill
- plan-ceo-reviewSkill
- profileSkill
- python-env-auditSkill
- quick-reviewSkill
- reviewSkill
- security-auditSkill
- seoSkill
- site-anatomySkill
- skill-createSkill
- spatial-pipeline-helperSkill
- state-json-validatorSkill
- test-runSkill
- tool-scoutSkill
- transient-profile-validatorSkill
- wakeup-setupSkill
- websucheSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 179
Default-Creme/Serif ohne Domänen-Begründung → LOW „AI-Slop-Verdacht: Stil passt nicht zur Domäne (Bot-Dashboard ≠ Editorial)"
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ui-critique — UX/Layout-Review
Zweck: HTML/CSS auf strukturelle UX-Probleme prüfen. Komplementär zu /a11y-check (WCAG) — hier geht's um Layout-Logik, visuelle Hierarchie, Konsistenz, Interaktions-Klarheit.
Vor dem Start
- Scope: Argument oder Default
web/templates/**/*.html+web/static/style.css - Design-Token-Inventar aus
style.css: Farb-Variables, Spacing-Skala (--s-*), Font-Skala, Border-Radius, Shadows - Komponenten-Mapping: Buttons, Cards, Tables, Forms, Modals, Navigation, Status-Indicators
Phase 1 — Visuelle Hierarchie
Heading-Hierarchie
grep -nE '<h[1-6]' web/templates/**/*.htmlPro Template prüfen:
- 1×
<h1>pro Page (Page-Title) - Logische Folge:
h1 → h2 → h3, kein Skip <h4>und tiefer nur bei wirklich tiefer Struktur — sonst Indikator für überkomplexe Layout-Struktur
Findings:
- Mehrere
<h1>→ MEDIUM (verwirrt Reading-Order) - Heading-Skip (
h1 → h3) → MEDIUM <h6>ohneh4/h5davor → MEDIUM (vermutlich Stil-Hack für „kleiner Text")- Bold-Text als visuelle Heading statt
<h*>→ LOW
Typografie-Skala
Aus style.css Font-Sizes extrahieren:
grep -E "font-size:" web/static/style.css | sort -uPrüfen:
- Anzahl Font-Sizes < 6 (mehr = inkonsistente Skala)
- Skala-Logik: 12/14/16/18/24/32 (typisch) oder Major-Third-Scale
- Body-Text mind. 16px für Desktop, 14px für Dense-Tables OK
Findings:
8 verschiedene Font-Sizes → MEDIUM (Skala uneinheitlich)
- Body-Text < 14px → MEDIUM (Lesbarkeit)
- Mehrere Font-Familien für Body-Text → LOW
Spacing-System
Aus style.css Spacing-Tokens:
grep -E "^\s*--s-[0-9]" web/static/style.cssder Nutzer's Dashboard sollte 8px-Skala haben (--s-1 = 4px, --s-2 = 8px, --s-3 = 12px, ...).
Findings:
- Hardcoded
margin:/padding:mit Werten außerhalb der Skala (z.B.padding: 13px) → MEDIUM - Inkonsistente Spacing zwischen ähnlichen Komponenten → MEDIUM (z.B. Card-Padding mal
--s-3, mal--s-4) - Negative-Margin-Hacks ohne Begründung → LOW
Phase 2 — Interaktions-Klarheit
Button/Link-Differenzierung
grep -nE '<button|<a ' web/templates/**/*.htmlRegel: Buttons = Aktionen die State ändern; Links = Navigation zu URLs.
Findings:
<a>mitonclickohne Navigation → HIGH (sollte<button>sein)<button>ohnetype="button"in<form>→ MEDIUM (löst unbeabsichtigt Submit aus)- Link-Styling auf Buttons (oder umgekehrt) → MEDIUM (User unklare Erwartung)
Interaktions-States (Hover/Focus/Active/Disabled/Loading)
Pro Interaktives Element prüfen ob alle States definiert:
grep -E ":(hover|focus|active|disabled)" web/static/style.cssPflicht-States:
:hoverfür Buttons + Links (Visual-Affordance):focus-visiblefür Keyboard-Navigation (siehe/a11y-checkfür Detail):active(Click-Feedback) — optional aber empfohlen[disabled]oder.disabledStyling — Pflicht falls Buttons disable-bar.loading/.spinnerState für HTMX-Requests
Findings:
- Fehlender
:hoverauf interaktiven Elementen → MEDIUM - Identisches
:hover+:focus→ LOW (Keyboard-User kann nicht unterscheiden) - Disabled-State sieht aus wie Active → MEDIUM (User klickt erfolglos)
Empty/Loading/Error-States
Für jede dynamische Komponente (HTMX-Targets, Charts, Tables):
grep -nE 'hx-(get|post|swap)|chart\.js' web/templates/**/*.htmlPflicht-Frage pro Komponente:
- Was sieht User wenn keine Daten? (Empty-State mit erklärendem Text + nächstem Schritt)
- Was sieht User während Laden? (Skeleton-Screen oder Spinner)
- Was sieht User bei Fehler? (Error-Message mit Retry-Option)
Findings:
- Empty-State nur „Keine Daten" ohne nächsten Schritt → MEDIUM (UX-Sackgasse)
- Kein Loading-Indicator bei HTMX-Request > 200ms → MEDIUM (User klickt mehrfach)
- Error-State zeigt rohen 500-Stack-Trace → HIGH (Security + UX)
Phase 3 — Konsistenz-Audit
Token-Verwendung
# Findet hardcoded Werte die eigentlich Tokens sein sollten
grep -rE "#[0-9a-fA-F]{3,6}|rgb\(|rgba\(" web/static/style.css | grep -v ":root"Findings:
- Hardcoded Farbwerte außerhalb von
:root→ MEDIUM (umgeht Theme-System) - Magic-Spacing-Werte (
margin: 27px) → LOW - Inline-Styles in HTML (
style="...") → MEDIUM
Komponenten-Variants
Pro Komponente (z.B. Button) prüfen ob Variants konsistent sind:
.btn-primary,.btn-secondary,.btn-danger,.btn-ghost— alle definiert?- Größen-Variants (
.btn-sm,.btn-lg) — konsistent über alle Komponenten? - Naming-Convention BEM oder Tailwind-like — gemischt?
Findings:
- Component-Variant inkonsistent benannt (
.btn-largevs.card-lg) → LOW - Variants fehlen (z.B. Buttons haben Primary/Secondary, Cards aber nicht) → INFO
Responsive-Verhalten
grep -nE "@media" web/static/style.cssPflicht-Breakpoints:
- Mobile: < 768px
- Tablet: 768–1024px
- Desktop: > 1024px
Findings:
- Keine Media-Queries → MEDIUM (Mobile-Bricht)
- Fixed-Width-Container ohne Max-Width-Cap → LOW
- Tabellen ohne
overflow-x: autoauf mobilem → MEDIUM
Phase 4 — HTMX-spezifische UX
der Nutzer's Dashboard nutzt HTMX. Spezifische Checks:
| Pattern | UX-Risiko | Fix |
hx-trigger="every Xs" ohne sichtbares Polling-Indicator | User weiß nicht ob Live oder Stale | Subtiler „Updated 3s ago" Indicator |
hx-swap="innerHTML" ohne Transition | Visueller Sprung beim Update | hx-swap="innerHTML transition:true" + CSS-Transition |
Multiple hx-target auf gleicher Page | Komplexer Mental-Model für User | Sicherstellen dass Targets visuell unterschieden sind |
| HTMX-Form ohne Optimistic-Update | Verzögerung wirkt wie „kaputt" | Lokales disabled + Spinner auf Submit-Button |
Phase 4.5 — AI-Slop-Risk + Unresolved Decisions (adopt gstack plan-design-review, 2026-05-29)
AI-Slop-Risk
Erkenne generisches „AI-Default-Design". Opus-4.7-Hausstil-Default: warmes Creme #F4F1EA, Serif-Display (Georgia/Fraunces/Playfair), Terracotta/Amber-Akzent — passt für Editorial/Hospitality, FALSCH für Dashboards/Dev-Tools/Fintech/Healthcare. Prüfe:
- Default-Creme/Serif ohne Domänen-Begründung → LOW „AI-Slop-Verdacht: Stil passt nicht zur Domäne (Bot-Dashboard ≠ Editorial)"
- Generische Hero/Card/Gradient-Muster ohne eigene Design-Sprache → INFO
- Fix-Richtung: konkrete Alternativ-Spec (Hex/Typo/Radius) ODER „N Optionen vorschlagen" (Lyra Frontend-Variety-Steering)
AI-Slop-Tells-Checkliste (adopt impeccable v3.5, Apache-2.0 / pbakaus — Wissen, nicht der Skill)
Konkrete, deterministisch prüfbare 2026-Tells. Pro Treffer LOW/INFO + benannte Stelle + Fix. ≥3 Tells = MEDIUM „generisches AI-Default-Design, keine eigene Sprache":
- Cream/Sand-Body-BG (OKLCH L 0.84–0.97, C<0.06, hue 40–100; Token-Namen
--paper/--cream/--sand/--linen/--parchment= Tell an sich) → echtes Off-White bei chroma 0 ODER saturierte Brand-Farbe; „Wärme" über Akzent+Typo, nicht Body-BG. - Gradient-Text (
background-clip:text+ Gradient) → eine Solid-Farbe, Emphasis via Weight/Size. - Glassmorphism als Default (deko-Blur/Glas-Cards) → selten + gezielt, oder weg.
- Hero-Metric-Template (Big-Number + kleines Label + Gradient-Akzent) → SaaS-Klischee.
- Identische Card-Grids (gleich große Icon+Heading+Text-Cards endlos) → Hierarchie/Variation rein.
- Uppercase-tracked Eyebrow über jeder Section (ABOUT/PROCESS-Kicker, 55–95% aller Generations) → andere Kadenz.
- Side-Stripe-Border (
border-left>1px farbig auf Cards/Alerts) → volle Border/BG-Tint/Leading-Icon. - Aphoristische Copy-Kadenz (3+ Blöcke „ernster Satz, dann kurze Negation") → spezifisch statt aphoristisch umschreiben.
- Ähnliche-aber-nicht-identische Font-Paarung (2× Geometric-Sans) → Kontrast-Achse (Serif+Sans) oder 1 Familie/mehrere Weights.
- Arbiträre z-index (999/9999) → semantische Scale (dropdown→sticky→modal→toast→tooltip).
- Uniformer Entrance-Reflex (1 identische Einblend-Animation auf JEDER Section) → pro Reveal passend, nie content hinter class-gated transition versteckt (rendert sonst blank).
- Emoji als Content/Icon-Platzhalter (adopt huashu-design, 2026-06-04) (📊🚀✨ als Feature-Card-Icons/Heading-Deko statt echtem Icon-Set) → echtes Icon-Set (Lucide/Heroicons/Phosphor) ODER weglassen; Emoji nie als Deko-Füller.
- Generic-Illustration/SVG-Silhouette statt echtem Asset (adopt huashu, 2026-06-04) (undraw-artige Figuren/Platzhalter-Blobs wo echter Screenshot/Foto hingehört) → echtes Produkt-Bild; Illustration nur wenn bewusst Brand-Teil.
- Default-UI-Sans als Display-Face (adopt huashu, 2026-06-04) (Inter/Geist/Roboto für große Headlines = AI-Default) → Display-Schrift mit Charakter (Serif/Grotesk/Display-Cut) für Headlines; UI-Sans nur Body/UI.
- Fehlende Positiv-Defaults (schwacher Tell, adopt huashu, 2026-06-04): kein
text-wrap: balance/prettyauf Headlines+Absätzen · Flex-Margin-Hacks statt CSS-Grid für präzises Layout ·oklch()statt Default-Hex für Farb-Kohärenz. Vorhandensein = Politur-Signal, Fehlen bei sonst-AI-Stil verstärkt den Slop-Verdacht. - Second-Order-Tell: wenn die Ästhetik aus „Kategorie minus Anti-Referenz" erratbar ist (z.B. „AI-Tool das nicht SaaS-cream → editorial-typografisch") → erste Reflex vermieden, zweite getroffen. Solange überarbeiten bis beide nicht offensichtlich.
Unresolved Decisions
Explizit alle Design-Entscheidungen auflisten die das Template offenlässt (z.B. „Mobile-Nav-Pattern undefiniert", „Loading-State für Chart konzeptionell fehlt"). Macht Lücken targetable statt sie zu überdecken.
Ideal-Zustand statt Score
Pro Finding NICHT 0-10 bewerten (Score = Whitewashing-Anti-Pattern, siehe Constraints), sondern beschreiben wie der Ideal-Zustand für DIESE Komponente aussähe — targetable Spec die der Implementierer anbauen kann (gstack-Idee „was 10/10 wäre", ohne die Zahl).
Phase 5 — Findings-Report
Output: ~/.claude/reports/ui-critique/<datum>_<HHMM>/REPORT.md
Format:
| ID | Severity | File:Line | Kategorie | Komponente | Problem | Fix | Aufwand |Kategorien: Hierarchie / Konsistenz / Interaktion / States / Responsive / HTMX
Master-Sektionen:
- Executive Summary (max 150 Worte)
- Design-Token-Status (vollständig / Lücken / Inkonsistenzen)
- Komponenten-Matrix: pro Komponente Status (Hover ✓, Focus ✓, Loading ✗, etc.)
- Findings nach Severity
- Quick-Wins (Aufwand < 30 min, Severity ≥ MEDIUM)
- Mismatch zu
/a11y-checkfalls beide Skills genutzt — Cross-Reference
Constraints
- Read-only. Keine Auto-Fixes
- Komplementär zu
/a11y-check— WCAG-Themen dorthin verschieben, hier nur UX-Logik - Severity-Skala kompatibel mit
/review - Keine subjektiven Geschmacks-Urteile („sieht hässlich aus") — nur konkrete Probleme mit Begründung
- der Nutzer-Convention: Beispiele aus Discord-Bots-Dashboard (style.css v5.0 mit Discord-Blurple Tokens)
Komplementäre Skills (wann anders triggern)
| Use-Case | Skill |
| Neue Komponente bauen statt reviewen | frontend-design (claude-plugins-official) |
| Tieferer Design-Feedback (z.B. visuelle Hierarchie-Reflexion) | design:design-critique |
| UX-Texte nachschärfen (Microcopy, Error-States) | design:ux-copy |
| Design-Token-Drift im ganzen CSS-System | design:design-system |
| WCAG-Audit (Color-Contrast, Keyboard, ARIA) | /a11y-check |
Workflow-Übersicht: ~/.claude/docs/design-workflow.md
Beispiel-Triggers
/ui-critique— gesamtes templates-Verzeichnis/ui-critique web/templates/dashboard.html— einzelnes File/ui-critique navigation— nur Navigation-Komponente (Lyra-Style Component-Match)
Changelog
- v1.3.0 (2026-06-04): +4 Anti-Slop-Tells aus huashu-design (alchaincyf, 16k★ MIT — web+GitHub-API-verifiziert, Wissen adoptiert NICHT Skill: huashu mandatet Playwright/Node-Render-Pipeline): Emoji-als-Content/Icon-Platzhalter, Generic-Illustration/SVG-Silhouette-statt-echtem-Asset, Default-UI-Sans (Inter/Geist) als Display-Face, fehlende Positiv-Defaults (
text-wrap:balance/pretty, CSS-Grid, oklch). Jetzt 16 Tells. Quelle: TikTok-Pipeline claude-code-tips 2026-06-04 → GitHub-API-verifiziert (huashu real, ui-ux-pro-max=404-fake aussortiert) → nur nicht-überlappendes Wissen übernommen. - v1.2.0 (2026-06-03): AI-Slop-Tells-Checkliste in Phase 4.5 (adopt impeccable v3.5 Apache-2.0/pbakaus — nur das Design-Wissen, NICHT der Skill: impeccable mandatet unaudited Node-Scripts + Browser-Automation, daher Pattern-Adoption statt Install). 12 konkrete 2026-Tells (Cream-BG/OKLCH, Gradient-Text, Glassmorphism, Hero-Metric, Card-Grids, Eyebrow, Side-Stripe, aphoristische Copy, Font-Paarung, z-index, Entrance-Reflex, Second-Order). ≥3 Tells = MEDIUM. Quelle: TikTok-Pipeline-Finding (claude-code-tips, 2026-06-03) → web-verifiziert → Wissen adoptiert.
- v1.1.0 (2026-05-29): gstack-plan-design-review-Best-of adoptiert (score-frei) — Phase 4.5: AI-Slop-Risk (Opus-4.7-Default-Stil-Erkennung, Lyra-Frontend-Variety), Unresolved-Decisions-Liste, „Ideal-Zustand statt Score" (targetable Spec ohne 0-10, da Score = Whitewashing-Anti-Pattern). Output-Dir →
~/.claude/reports/ui-critique/. - v1.0.0 (2026-05-17): Erste Version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

