UI Unslop
Verified creator: @fikrifirmanf signed in with the GitHub account that owns this repository. It is not a safety check.
Check interface contrast, accessibility, design tokens, and interaction states.
MCP configuration
Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.
{
"mcpServers": {
"ui-unslop": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Use this in your own environment. Copying text here does not run it.
How to use it
- Open the project documentation and choose the instructions for your AI client.
- Copy the configuration and companion skill command if needed.
- Configure the tools in your own environment, then try the example request.
SKILL.md
The instructions your assistant reads, from fikrifirmanf/ui-unslop-mcp/skills/ui-unslop/SKILL.md. Its authors wrote it, so read it before you install.
name: ui-unslop description: Enforces UI design craft and accessibility and eliminates generated-looking interfaces. Trigger whenever designing, building, restyling or reviewing a screen, page, component, landing page, dashboard or design system in any web stack (HTML/CSS, Tailwind, React, Vue, Svelte, Astro).
UI Anti-Slop Protocol
A generated UI is recognisable by its defaults: purple gradients, glass cards, emoji icons, centred everything, gray-on-white text nobody can read. Design from the content and the user's task instead.
1. Before you draw anything
- Find the system first. Read the existing tokens (CSS variables,
@theme,tailwind.config) and components. Callanalyze_design_tokenson the project to see the real palette, type scale, radii and spacing in use. Extend that system; do not invent a parallel one. - One idea per screen. Decide the primary action and the single most important piece of information. Hierarchy (size, weight, position, contrast) serves that, not decoration.
- Build hierarchy by softening, not shouting. Use colour and weight, not only size. Soften secondary text and the competition around the focus instead of enlarging it. Drop a
Label:when the value is self-evident or merge them ("12 left in stock"). Primary, secondary and tertiary actions must look different.
2. Color & contrast (HARD RULES)
- Every text/background pair meets WCAG AA: 4.5:1 for body text, 3:1 for large text (>=24px, or >=18.66px bold) and for UI boundaries (input borders, focus rings, icons that carry meaning). Check unfamiliar pairs with
check_contrastbefore using them; it accepts Tailwind names and returns the nearest passing shade. - Check both themes. A
dark:pair is a separate pair. - Muted is not faint. Secondary text on white starts around
gray-600, notgray-400. White text on mid-tone fills (emerald-600,amber-500) usually fails; use the -700 shade. - No grey or low-opacity white text on coloured fills. Hand-pick a same-hue tone that still passes 4.5:1, or flip to dark text on a light tint.
- Color is never the only signal. Errors get an icon or text, not just red.
- No gradient-filled headline text, no frosted glass cards (
bg-white/10 backdrop-blur), no ambient blurred blobs. Solid surfaces with clear borders read as designed.
3. Type & layout
- Type scale: 4-6 sizes total. Body copy 16px (14px minimum for dense UI), never below 12px for anything. Line length 45-75 characters (
max-w-prose). - Spacing on the grid: multiples of 4px (Tailwind's scale). No
p-[13px]. - Left-align body text and most headings; centre only short, isolated lines (two or three lines at most). Right-align numbers in tables.
- Don't stretch to fill. Cap forms, cards and prose with
max-w-*and give a sidebar a fixed width. Separate groups with more space than sits inside them. - Mobile viewport:
min-h-dvh, noth-screen/100vh. Never disable zoom (maximum-scale=1,user-scalable=no). - Stacking: a small z-index scale (e.g. dropdown 10, sticky 20, modal 50, toast 60), not
z-[9999].
4. Interaction & accessibility (HARD RULES)
- Real controls: actions are
<button>, navigation is<a href>. NoonClickondiv/span. - Touch targets: at least 44x44px for anything tappable (
min-h-11 min-w-11, or padding to extend the hit area). - Every control has a name: icon-only buttons get
aria-label; inputs get a<label>(placeholders are hints, not labels). - Visible focus: if you remove the outline, replace it (
focus-visible:ring-2 focus-visible:ring-ring). Nevertabindex> 0. - Images: meaningful
alt, oralt=""when decorative. - States: hover, focus-visible, active, disabled, loading, empty and error are all designed. An empty panel says what will appear and offers one action; "Nothing here yet" alone is slop. Long table cells are clamped with the full text in
titleso one value cannot blow up a row. Scrollable tables get a sticky header. Chart series differ by shape, dash or direct label, never colour alone. - Motion: transition specific properties (
transition-colors,transition-transform), 150-250ms, and honourprefers-reduced-motion. Noanimate-bounce/animate-pingto beg for clicks. - No emoji as icons. Use the project's icon set, or nothing.
5. Mandatory verification loop
Before claiming a UI task is complete:
- Call
audit_ui_slopwith every modified markup/style file or directory (omitfilesto audit git changes). - For any color pair the audit cannot see (CSS variables, translucent backgrounds, images behind text), call
check_contrastexplicitly. - If you added colors, sizes, radii or shadows, re-run
analyze_design_tokensand consolidate if it reportsSPRAWL. - On
FAIL, fix every ERROR and re-run untilPASS. A verified false positive may be suppressed withunslop-ignore RULE_ID -- reasonon or above the line; a suppression without a reason is an ERROR.
Other setup options
Companion skill command
Run on your own machine if you want to install the companion skill.
npx -y [email protected] install-skills
Example request
Review this page with ui-unslop. Check contrast, control labels, keyboard focus, design tokens, and narrow layouts. Distinguish computed checks from visual observations.
Example results
Illustrative example
Review outline - List text and background combinations checked. - Identify controls missing accessible names. - Review keyboard focus and small-screen layout. - Group repeated visual values into reusable tokens.
Illustrative response outline, not a recorded run.
Illustrative examples show a possible response format. They are not recorded runs or verified results. Actual responses will vary.
Security checks
Automated checks, last run Nov 9, 2026. They can miss problems and do not guarantee a listing is safe. Read the source and what you are asked to run before you use it.
4 of 4 checks passed
- PassedSetup commands and descriptionLayer 1
The install commands and description match none of the risky patterns we look for.
Source: AIWantsThis screening rules
- PassedInstall scripts and package statusLayer 2
The npm package runs no code at install time and is not deprecated.
Source: npm registry
- PassedKnown vulnerabilities in the packageLayer 2
OSV.dev lists no advisories for this package.
Evidence (1)
- [email protected]
- No advisories listed in OSV.dev.
Source: OSV.dev
- PassedSource repositoryLayer 2
The repository is public, not archived and has recent activity.
Evidence (3)
- Last push
- 2026-10-22
- Archived
- no
- License
- MIT
Source: GitHub