Slop Patterns

v1.2.1
com.sloppatterns/slop-patterns Checked 3 days ago Published 1 month ago

Checks UI code for AI-default design patterns and gives the fix.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_design Check UI code for AI design patterns

Check a snippet of CSS, HTML or JSX against the Slop Patterns library and return every AI design anti-pattern it matches, with the fix for each. Covers the 101 documented patterns that have a mechanical tell. Useful for reviewing generated UI code.

ParameterTypeDescription
code *stringThe CSS, HTML or JSX to check. Paste it whole; partial snippets work but full files are more accurate.
shareStatsbooleanOptional, defaults to false. If true, contribute an anonymous count of WHICH rule codes fired to the public monthly figures at https://sloppatterns.com/#stats. Never sends your code, your URL, or any…

list_patterns List all patterns

List the whole Slop Patterns taxonomy: code, id, name and one-liner for every documented AI design anti-pattern.

ParameterTypeDescription
trackstringOptional filter.

get_pattern Get one pattern

Get one full pattern entry by id or code (e.g. "a1" or "the-unchosen-gradient"): what it looks like, why the tools produce it, who it hurts, the fix, sources.

ParameterTypeDescription
id *string

changelog Library changelog

The library version, what each release added or changed, and how patterns are versioned. Use it to cite a specific version of Slop Patterns.

search_patterns Search patterns

Plain-language search across the library. "gradient headline" returns A10 Gradient Text Headline.

ParameterTypeDescription
query *string

report_pattern Report a new pattern

Report an AI design anti-pattern that is NOT yet in the library, for a design failure seen repeatedly that a search of the library does not find. Reports are reviewed by a human before anything is published, and published entries credit the reporter.

ParameterTypeDescription
description *stringWhat it looks like and why it is a failure. Two or three sentences.
name *stringA short memorable name for the pattern, e.g. "Skeleton That Never Resolves".
creditstringName or handle to credit if this is published. Optional.
examplestringA short code or copy snippet showing it. Optional. Do not include anything proprietary.
whereSeenstringProduct name or URL where you saw it. Optional but makes the report far more useful.

why Why a pattern happens

Return only the causal explanation for one pattern — which model, tool or template default produces it.

ParameterTypeDescription
id *string