Slop Patterns

com.sloppatterns由 sloppatterns.com 發布官方發布者v1.2.1更新於 Nov 2, 2026

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

已驗證Streamable HTTP可網頁執行知識與記憶開發者工具

概覽

AI 產生的概覽

對照公開的 AI 設計反模式庫檢查 UI 程式碼,回傳每處命中項目及對應修正方式。

可以做什麼
  • 檢查 CSS、HTML 或 JSX 片段,列出所有命中的反模式與修正建議
  • 以自然語言搜尋並瀏覽分類體系,查看編號、名稱與一句話說明
  • 依 id 或編號讀取完整條目:外觀、成因、受影響對象、修正方式與來源
  • 單獨取得某個模式的成因說明,或查詢函式庫版本與更新紀錄以便引用
  • 提交尚未收錄的反模式報告,交由人工審核
適用情境
適合在編碼助理產生或審查前端 UI 程式碼時,先找出並修正 AI 預設風格的設計問題。也適合查詢特定模式或引用函式庫版本。
執行需求
遠端 HTTP 端點 sloppatterns.com/mcp,不需帳號或 API 金鑰。需要支援 HTTP 伺服器的 MCP 用戶端。
安裝前請注意
檢查工具僅涵蓋 101 個可機械辨識的模式,未回報問題不代表設計合格。回報工具會把提交內容送給維護者人工審核並署名,請勿包含機密程式碼。網站上的 Slop Score 掃描器是另一個未開源的獨立專案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Slop Patterns,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.sloppatterns%2Fslop-patterns/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "slop-patterns": {
      "type": "http",
      "url": "https://sloppatterns.com/mcp"
    }
  }
}

README

Slop Patterns

A public library of AI design anti-patterns: what they look like, why the tools produce them, and what to do instead. Live at sloppatterns.com.

  • License: MIT (LICENSE). Only the pattern library is here and MIT: patterns.json, the pattern text and sources, the site, and the MCP server in api/.
  • Scanner code is not open. The Slop Score scanner at sloppatterns.com/score (browser capture, live checks and grading) is a separate project and is not included in this repo.
  • The MCP server runs at https://sloppatterns.com/mcp. No account or key. See the "For agents" page on the site.
  • The research note, The Same Page, is in research/.

Maintained by Pavithra Lamahewa at Precious Studio. Suggest a pattern from the site, or open an issue.

Use it in your AI tools

Your coding agent calls check_design on the UI it writes and fixes what it finds before you see it.

  • Claude Code (plugin, MCP plus a skill):
    /plugin marketplace add pavithralamahewa/slop-patterns/plugin install slop-patterns@slop-patterns
  • Any MCP client: npx add-mcp https://sloppatterns.com/mcp, or add an HTTP server with that URL. It is in the official MCP Registry as com.sloppatterns/slop-patterns.
  • Cursor: add the server in Settings → MCP (type HTTP, URL above), then copy cursor/slop-patterns.mdc into .cursor/rules/.

Use the taxonomy

Every pattern has a stable code (for example A10) and a stable URL (https://sloppatterns.com/#gradient-text-headline). Codes never change meaning; when an entry is revised, its version and updated fields change.

  • All 534 patterns as data: taxonomy.json. Each entry says whether it is checked automatically (101 are; the scanner, the MCP server and the command line share 104 code rules, and 57 of them have passed a hand audit on whole pages) or needs a person.
  • Command line: npx slop-patterns check ./dist or npx slop-patterns scan example.com. See cli/.
  • One rule set: the scanner, the MCP server and the command line run the same rules.js, so they never disagree.
  • Cite it: see CITATION.cff. GitHub shows a "Cite this repository" button from it.

來源:README.md,提交 a3e704f

工具

7

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.

輸入參數code必填shareStats

list_patterns

List all patterns

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

輸入參數track

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.

輸入參數id必填

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.

輸入參數query必填

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.

輸入參數name必填creditexamplewhereSeendescription必填

why

Why a pattern happens

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

輸入參數id必填

版本歷史

1
  1. v1.2.1最新Oct 12, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分