uxui-principles

v1.3.0
io.github.joselhurtado/uxui-principles Checked 16 hours ago Published 22 days ago

195 UX/UI principles with citations, 12 UX smells, 12 flow checklists, 8 required rules, EN/ES.

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

get_principle Get a principle

Get one UX/UI principle by slug: title, code, part, difficulty, summary, the bibliographic citations behind it (author, title, year, url) and the link to the full guide on uxuiprinciples.com. With UXUI_API_KEY set (pro mode) the full guide body comes back in `content`. Use it to identify, summarize or cite a specific principle; use search_principles first when you only have a topic.

ParameterTypeDescription
slug *stringThe principle slug as returned by search_principles or list_principles (e.g., "cognitive-load", "hicks-law", "fitts-law").
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

search_principles Search principles

Search the 195 UX/UI principles by free text, part, difficulty or tags. Returns the matching principles with slug, title, code, part name and summary, plus the total count. Use it to find which principles apply to a design question before calling get_principle.

ParameterTypeDescription
difficultystringRestrict to one difficulty level.
limitnumberMaximum number of principles to return. Defaults to 10.
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".
partstringRestrict to one part of the catalogue, by id or name (e.g., "part-1", "Foundations"). Call list_principles to see the parts.
querystringFree-text query matched against title, slug, summary and tags (e.g., "form validation", "loading states", "choice overload").
tagsarrayRestrict to principles carrying every listed tag (e.g., ["forms", "errors"]).

list_principles List principles

List the 195 UX/UI principles, optionally one part at a time. Returns principle summaries (slug, title, code, part name, summary), the total count and the list of part ids. Use it to browse the catalogue or to learn the part ids for search_principles.

ParameterTypeDescription
limitnumberMaximum number of principles to return. Defaults to 20.
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".
partstringRestrict to one part, by id or name (e.g., "part-1", "part-2"). Omit for every part.

get_principle_prompts Get the AI prompts of a principle

Get the ready-to-use AI prompts attached to one principle (prompts to apply, audit or refactor an interface against it). With UXUI_API_KEY set (pro mode) the prompt texts come back in `prompts`; without it the prompts belong to the paid Principles Library and the tool returns the count and the URL of the guide. Call get_principle first if you only need the summary.

ParameterTypeDescription
slug *stringThe principle slug (e.g., "cognitive-load").
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

get_smell Get a UX smell

Get one UX smell (interface anti-pattern) by id: name, tagline, symptoms, the Nielsen heuristic it breaks, a step-by-step fix recipe with a time estimate, the related principles and an audit prompt plus a refactoring prompt. Use it once you know the smell id, from list_smells or detect_smell.

ParameterTypeDescription
id *stringThe smell id (e.g., "overloaded-screen", "form-graveyard", "silent-errors", "ai-gradient-cliche"). Call list_smells for the full set.
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

list_smells List UX smells

List the 12 UX smells (interface anti-patterns such as overloaded screens, form graveyards, silent errors or the AI-aesthetic cliches), optionally filtered by category. Returns id, name, short name, tagline, category and Nielsen heuristic for each. Use it to browse the catalogue before get_smell.

ParameterTypeDescription
categorystringRestrict to one category (e.g., "efficiency", "feedback", "error-prevention", "accessibility", "ai-aesthetic"). Omit for every smell.
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

detect_smell Detect UX smells from a description

Detect which UX smells match a plain-language description of an interface problem or a user complaint, in English or Spanish. Returns the matched smells with a confidence level and the suggested fix for each. Use it as the first step when a UI "feels off" and the cause is not named yet; runs offline.

ParameterTypeDescription
description *stringWhat is wrong, in the user's or the team's words (e.g., "users say the dashboard is too cluttered and they don't know where to start", "el formulario es demasiado largo").
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

suggest_fix Suggest a fix for a UX issue

Get a fix for a described UX issue: detects the most likely smell (or uses the one you pass), then returns its step-by-step fix recipe, the principles to apply and a refactoring prompt you can hand to a coding agent. Use it when you want an actionable remedy rather than a diagnosis; runs offline.

ParameterTypeDescription
issue *stringThe UX issue to fix, in plain language (e.g., "the checkout asks for account creation before showing the price").
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".
smell_idstringOptional smell id to skip detection when the smell is already known (e.g., "dead-end-states").

get_flow Get a user flow

Get one user flow (onboarding, forms, pricing, dashboard, checkout, search, authentication and more) with its target metrics, the pre-flight checklist to run before designing it and the post-flight checklist to run before shipping it. Use it before designing or shipping a known flow.

ParameterTypeDescription
id *stringThe flow id. One of: "onboarding", "forms", "pricing", "dashboard", "empty-states", "checkout", "settings", "navigation", "search", "authentication", "notifications", "data-tables". Call list_flows fo…
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

list_flows List user flows

List the 12 user flows covered by the checklists (onboarding, forms, pricing, dashboard, empty states, checkout, settings, navigation, search, authentication, notifications, data tables) with the target metric of each. Returns id, name, description, metric target and the number of checklist items per phase. Use it to pick the id for get_flow, generate_checklist or get_flow_principles.

ParameterTypeDescription
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

generate_checklist Generate a flow checklist

Generate the pre-flight (before design) or post-flight (before ship) checklist for one user flow. Returns the checklist as structured items (each tied to a principle) and as ready-to-paste markdown. Use it to review a design or a pull request against the flow it implements.

ParameterTypeDescription
flow_id *stringThe flow id. One of: "onboarding", "forms", "pricing", "dashboard", "empty-states", "checkout", "settings", "navigation", "search", "authentication", "notifications", "data-tables". Call list_flows fo…
phase *stringWhich checklist to generate: "preflight" (before design) or "postflight" (before ship).
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

get_flow_principles Get the principles behind a flow

Get the key principles that govern one user flow and the UX smells that most often break it. Returns the principle slugs and the smell ids so you can read them with get_principle and get_smell. Use it to ground a flow review in evidence.

ParameterTypeDescription
flow_id *stringThe flow id. One of: "onboarding", "forms", "pricing", "dashboard", "empty-states", "checkout", "settings", "navigation", "search", "authentication", "notifications", "data-tables".
localestringLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".

audit_interface Audit an interface

Audit a described screen or flow: returns findings mapped to principles and UX smells, each with severity, remediation and business impact, plus a score, the detected interface type, strengths and the three priority fixes. Pro mode only (UXUI_API_KEY set): the audit runs on the uxuiprinciples.com API. Without a key use detect_smell then suggest_fix, which run offline.

ParameterTypeDescription
description *stringWhat the screen shows and what users do or complain about, 20 to 5000 characters. Name the components, the actions and the states you implemented (loading, empty, error, confirmation).
contextstringWhere the interface lives. Echoed in the result; does not change the rules.
depthstring"quick": the top 5 findings. "full": every finding. Defaults to "full".
localestringLanguage of the findings: "en" or "es". Defaults to "en".

check_requirements Check a screen against the required-state rules

Check a screen you built or designed against eight experience requirements: confirmation before consequential actions, error state, empty state, loading state, undo or edit, sources on AI output, recovery after an AI error, consent before automation. Describe the screen as data (flow, components, actions with flags, states implemented) and get pass, fail or not_applicable per rule, each with the principle it comes from and its citations, plus a markdown summary. Call it after generating or changing a screen and fix every fail. Pro mode only (UXUI_API_KEY set); without a key use generate_checkl…

ParameterTypeDescription
actionsarrayThe actions the screen offers, with their flags.
componentsarrayWhat is on the screen, one item per component, in plain words (e.g., "search input", "results table", "AI summary panel"). Words such as form, table, list, search, chart, AI, chat or summary decide wh…
flowstringThe flow the screen belongs to. One of: "onboarding", "forms", "pricing", "dashboard", "empty-states", "checkout", "settings", "navigation", "search", "authentication", "notifications", "data-tables".…
localestringLanguage of the verdicts and the summary: "en" or "es". Defaults to "en".
states_implementedarrayThe states the implementation has: loading, empty, error, success, confirmation, undo, edit, sources, recovery, consent. Only list what is built.