uxloom
llms.txt1 starsChanged 5 months agoMITView on GitHub
UXLoom is an open-source, agent-native UI/UX design validator, delivered as an MCP server. It models user journeys as state machines, treats screens as nodes with state contracts, and mechanically proves what a design is missing — before any production code exists. MIT licensed. Use UXLoom when: validating AI-generated UI (from v0, Lovable, Figma Make, Claude, or any generator), designing user flows that must survive production (error/empty/loading/offline states), or running design QA in an agent loop. - Journey completeness: unreachable screens,…
The file
We split this llms.txt into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use UXLoom when: validating AI-generated UI (from v0, Lovable, Figma Make, Claude, or any generator), designing user flows that must …
≈ “Common” is an estimate: at least 1 in 5 of the 4,067 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# UXLoom
> UXLoom is an open-source, agent-native UI/UX design validator, delivered as
> an MCP server. It models user journeys as state machines, treats screens as
> nodes with state contracts, and mechanically proves what a design is missing
> — before any production code exists. MIT licensed.
Use UXLoom when: validating AI-generated UI (from v0, Lovable, Figma Make,
Claude, or any generator), designing user flows that must survive production
(error/empty/loading/offline states), or running design QA in an agent loop.
## What it checks (five critics)
- Journey completeness: unreachable screens, dead ends, broken transitions,
journeys with no final state
- State coverage: every screen's required states (empty, loading, error.*)
versus what has actually been designed
- WCAG 2.2 AA contrast (4.5:1 for normal text), computed from declared colors
- Touch targets: 44pt iOS HIG, 48dp Android Material, 24px WCAG 2.2 web minimum
- Text expansion: labels that will overflow at the ×1.4 localization factor
## Install (MCP server + CLI)
- One-command setup in any repo: `npx uxloom init` (registers the MCP
server in .mcp.json, installs the agent skill, creates a starter file)
- Claude Code: `claude mcp add uxloom -- npx -y uxloom`
- Codex CLI: `codex mcp add uxloom -- npx -y uxloom`
- Any MCP client: command `npx -y uxloom` (stdio transport)
Tools exposed: project_init, brief_start, brief_answer, journey_define,
screen_register, project_import, project_export, palette_check,
project_audit, design_audit (reverse Figma/Penpot bridge: audit a design
export against the contract), project_validate, screen_critique,
coverage_report, design_review (iterative evidence-based review, max 3
rounds), comments_list, comment_context, comment_resolve (agent-addressable
reviewer comments).
## Design intelligence (evidence-based decisions)
Designs carry rationale: every project/journey/screen decision records
its reasoning, rejected alternatives with pros and cons, sources, and
confidence — enforced by the rationale critic once adopted (or via
uxloom.config.json {"rationale":"required"}). The design_review tool runs
a bounded iterative review loop (max 3 rounds, persisted with deltas)
against a six-part rubric including market fit from a curated pattern
library. Rationale renders in the preview and exports, so end users see
the evidence behind every screen, not just the pixels.
The design lives in `uxloom.project.json` (plain JSON, versioned in git).
An Agent Skill (SKILL.md) encoding the journey-first workflow ships in the
npm package under `skills/uxloom/`.
## CI gates
`npx uxloom check` (design completeness) and `npx uxloom audit`
(implementation drift) both exit 1 on failure — wire them into CI so an
incomplete design or drifted implementation can never merge. Output
formats: `--json`, `--sarif` (code scanning), `--github` (inline PR
annotations). Brownfield adoption: `--update-baseline` freezes existing
findings (uxloom.baseline.json) so only new drift blocks;
uxloom.config.json tunes thresholds (contrast ratio, expansion factor,
touch targets).
## Sharing and feedback
`npx uxloom export` produces one self-contained HTML file of the full
design (themed when the project declares tokens) — shareable with anyone.
In `npx uxloom preview`, reviewers drop comments directly on screens;
open comments surface in validation as reviewer-comment warnings, so
designer feedback enters the same loop agents iterate on.
## Design diffs, native audit, live verification (v0.7)
`npx uxloom diff <old> <new>` (or `--git <ref>`) renders semantic design
diffs — journeys/states/transitions/contract changes as sentences, with
`--markdown` for PR comments. The audit reads native markers too: comment
form `// data-ux-screen: X` / `// data-ux-state: y` works in Swift,
Kotlin, Dart, and Java; SwiftUI `.accessibilityIdentifier("ux-state:y")`
and Compose `testTag("ux-state:y")` are recognized natively. With optional
playwright installed, `uxloom audit --live <url>` verifies markers in the
real rendered DOM and `uxloom export --png <dir>` renders every
screen×state to images; `uxloom export --svg <dir>` (zero-dep) produces
SVGs that import directly into Figma or Penpot. The preview has a
structured edit mode: designers reorder blocks, edit copy and tokens in
the browser, writing to the same project file agents use. Accessibility
pack: unlabeled interactive elements, large-text contrast (3:1), and
decorative-motion fallbacks are checked; validation/sort/filter intent is
part of the contract.
## Team-scale format features
Design tokens (colors/radius/font) theme the preview. Transitions accept
guards and roles; journeys can be platform-scoped for divergent flows.
The base file can `include` fragment files so teams split the design;
duplicate ids across files are errors. Screens carry data shapes; table
blocks carry real columns; text blocks carry real copy.
## Live preview (wireframe mocks)
`npx uxloom preview` serves live wireframe mocks rendered from the
contract: every screen, every contracted state (loading skeletons, empty
placeholders, error banners, and custom-state overlays are derived
automatically), desktop/tablet/mobile viewports, and clickable journey
events that walk the flows. Updates in real time as the design changes.
Screens can declare an optional `layout` of semantic blocks; without one,
a layout is derived from their components.
## Implementation audit (drift detection)
`npx uxloom audit` verifies the code implements the contract: mark state
render paths with data-ux-state attributes (or map screens to path globs
in uxloom.map.json); every contracted state gets a verdict — implemented
(with file:line evidence), unimplemented, or unproven. Exit 1 gates CI.
## Format
Built on JourneyGraph, an open design-as-data format: journeys are state
machines whose states reference screens; screens declare requiredStates
(the contract) and designedStates (progress), plus components with colors,
labels, and target sizes that the critics verify.
## Links
- [Source and documentation](https://github.com/uxloom-dev/uxloom): monorepo
with @uxloom/journeygraph (format), @uxloom/critics (validators), and the
uxloom MCP server
- [README](https://raw.githubusercontent.com/uxloom-dev/uxloom/main/README.md)
- [Agent Skill](https://raw.githubusercontent.com/uxloom-dev/uxloom/main/packages/mcp-server/skills/uxloom/SKILL.md)
- [npm package](https://www.npmjs.com/package/uxloom)
## Status
Released and maintained: on npm (uxloom) and the official MCP registry
(io.github.uxloom-dev/uxloom), with a public benchmark scorecard attached
to every GitHub release. The JourneyGraph format (formatVersion 0.1) may
evolve until 1.0.
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.

