Saas ux review

From Basinfy/Basinfy-SaaS-Studio · View interactive version

Saas ux review is an AI agent skill from the GitHub repository Basinfy/Basinfy-SaaS-Studio. Review UX specs and App Shell designs for usability, token fidelity, and accessibility.

How to use this skill

Skill file

<!-- Generated from .claude/skills by scripts/sync-agent-skills.py. -->

Running this workflow on this client

Run commands from the project root (use Git Bash on Windows if bash points to an unavailable WSL distro). Shared studio files live in .claude/; follow .agents/PORTABLE-RUNTIME.md and .claude/docs/config-resolution.md for client tools, delegation, and approval rules.

Run bash .claude/hooks/yaml-helper.sh resolve_config --keys locale,workflow and use its output below.

Resolved above — use as-is. No block → defaults in

.claude/docs/config-resolution.md.

UX Review

Locale & User Profile: Match locale (pt-BR → natural Brazilian Portuguese questions/options, overriding English examples; en → English) and user_profile (founder → plain business language with (Recomendado) first, zero tech jargon; developer → technical). Keep code/tests in English.

Overview

Validates UX design documents before they enter the implementation pipeline.

Acts as the quality gate between UX Design and Visual Design/Implementation in

the /saas-team-ui pipeline.

Run this skill:

to have reviewed UX specs)

Verdict levels:

against, or the spec could not be read; name which

completeness; needs significant rework

NOT ASSESSED ranks above APPROVED and below the two revision verdicts. A

review that could not evaluate a dimension has not shown the spec is

implementation-ready; but a gap somebody found is more actionable than one nobody

could look for, so it must not displace them. Emit it when the spec file cannot

be read, when a checklist dimension has no source of truth to compare against, or

when the accessibility tier is uncommitted (below).


Phase 1: Parse Arguments

that one document

For all, output a summary table first (file | verdict | primary issue) then

full detail for each.

Which checklist a file gets (a file path, or each file under all): its

> **Template**: header line, which /saas-ux-design writes — UX Spec → Phase 3A,

App Shell & Global Navigation Spec → 3B, Interaction Pattern Library → 3C. A file without that line

is classified by name — app-shell.md → 3B, interaction-patterns.md → 3C, anything

else → 3A — and the report says which checklist it assumed, and why.


Phase 2: Load Cross-Reference Context

Before validating any spec, load:

  1. Input & Platform config: Read the platform block from project.yaml

(platform.targets, platform.primary_input, platform.touch/mobile_support,

platform.touch_support); if project.yaml has no platform block, fall

back to the ## Input & Platform section of

.claude/docs/technical-preferences.md. For the set of supported input

methods: when reading from project.yaml, derive it — keyboard/mouse if

PC or Web is in targets; touch/mobile if touch/mobile_support is Full or

Partial; touch if touch_support is Full or Partial; plus primary_input.

When falling back to technical-preferences.md, use its explicit Input

Methods field instead. This is the authoritative source for the Input Method

Coverage checks in Phase 3A — not the spec's own header. If neither source is

configured, fall back to the spec header.

  1. The accessibility tier committed to in design/accessibility-requirements.md

(if it exists)

  1. The interaction pattern library at design/ux/interaction-patterns.md (if

it exists)

  1. The PRDs referenced in the spec's header (read their UI Requirements sections:

Use the project discovery protocol to find the relevant headings and read those sections. When the index cannot provide them, find the headings with a local text search and read the matching ranges)

  1. The customer journey map at design/customer-journey-map.md (if it exists) for

context-arrival validation


Phase 3A: UX Spec Validation Checklist

Run all checks against a ux-spec.md-based document.

Completeness (required sections)

developer-perspective)

documented

in header)

explanation

the Platform Target line; any unticked item is listed under Open Questions

Quality Checks

User Need Clarity

settings modal")

Completeness of States

Input Method Coverage

mapping documented

Data Architecture

what triggers update?)

unavailable?)

Accessibility

PRD Alignment

requirement

PRD sections)

Pattern Library Consistency

new patterns)

the pattern library

pattern library

Localization

Acceptance Criteria Quality


Phase 3B: App Shell & Global Navigation Validation Checklist

Run all checks against a app-shell-navigation-spec.md-based document.

Completeness

source, priority)

modal dialog / drawer, offline / reconnecting state

SHOULD KEEP / CAN HIDE / ALWAYS HIDE)

Quality Checks

hide it

explicitly categorized as "hidden/demand"

behavior defined

PRD Alignment

representation in App Shell (or justified absence)


Phase 3C: Pattern Library Validation Checklist

slider, dropdown, list, grid, modal, dialog, toast, tooltip, progress bar,

input field, tab bar, scroll

accessibility spec, implementation notes

across all navigation patterns)


Phase 4: Output the Verdict

## UX Review: [Document Name]
**Date**: [date]
**Reviewer**: ux-review skill
**Document**: [file path]
**Checklist**: [3A / 3B / 3C — from its Template line, or assumed from the file name]
**Platform Target**: [from header]
**Accessibility Tier**: [from header or accessibility-requirements.md]

### Completeness: [X/Y sections present]
- [x] Purpose & User Need
- [ ] States & Variants — MISSING: error state not documented

### Quality Issues: [N found]
1. **[Issue title]** [BLOCKING / ADVISORY]
   - What's wrong: [specific description]
   - Where: [section name]
   - Fix: [specific action to take]

### PRD Alignment: [ALIGNED / GAPS FOUND]
- PRD [name] UI Requirements — [X/Y requirements covered]
- Missing: [list any uncovered PRD requirements]

### Accessibility: [COMPLIANT / GAPS / NON-COMPLIANT / NOT ASSESSED]
- Target tier: [tier]
- [list specific accessibility findings]

> **If `design/accessibility-requirements.md` is absent there is no committed
> tier, so this dimension has no criterion.** Report
> `Accessibility: NOT ASSESSED — no committed tier (design/accessibility-requirements.md absent)`
> and do NOT report it as COMPLIANT — a gate compared against an absent standard
> passes the way an assertion that can never fail passes. The same rule lives in
> `/saas-team-ui` Phase 4 and is mirrored here so the two cannot drift. If the spec's own
> header states a tier, carry it forward as an **assumption** and say plainly that
> it was assumed rather than committed. Recommend `/saas-ux-design accessibility` to
> establish the tier.

### Pattern Library: [CONSISTENT / INCONSISTENCIES FOUND / N/A]
- [findings]

> **For an App Shell design there is no Pattern Library checklist to run it against (Phase 3B has none), so Pattern Library is N/A, excluded from the dimension count.**
> Report `Pattern Library: N/A — no pattern library checklist for this document
> type`.
>
> For a UX spec, this dimension does have a checklist — it is checked against
> `design/ux/interaction-patterns.md`. If that file is absent: N/A only where
> the workflow tier does not require the library (`minimal`) — report
> `Pattern Library: N/A — interaction pattern library not required at this
> tier`. At any tier that requires or recommends it (`standard`, `full`), report
> `Pattern Library: NOT ASSESSED — design/ux/interaction-patterns.md not found`
> instead: the library is missing, not out of scope, and NOT ASSESSED counts it
> against the verdict as the unresolved item it is.

### Verdict: APPROVED / NOT ASSESSED / NEEDS REVISION / MAJOR REVISION NEEDED
**Blocking issues**: [N] — must be resolved before implementation
**Advisory issues**: [N] — recommended but not blocking
**Dimensions not assessed**: [N] — [name each, and what would make it checkable]

[For APPROVED]: This spec is ready for handoff to `/saas-team-ui` Phase 2
(Visual Design).

[For NOT ASSESSED]: [N] of the four review dimensions could not be evaluated:
[name them]. The spec may well be sound — this review cannot say either way for
those dimensions. [For each: the one input that would make it checkable.]
Handoff to `/saas-team-ui` is not recommended on this result.

[For NEEDS REVISION]: Address the [N] blocking issues above, then re-run
`/saas-ux-review`.

[For MAJOR REVISION NEEDED]: The spec has fundamental gaps in [areas].
Recommend returning to `/saas-ux-design` to rework [sections].

Phase 5: Collaborative Protocol

This skill is READ-ONLY — it never edits or writes files. It reports findings only.

After delivering the verdict:

produce it (/saas-ux-design accessibility for an uncommitted tier, the PRD path

for absent UI requirements). Do not re-run the review against the same missing

inputs and report a different verdict — only new inputs change this one

help draft the missing error state?") — but do not auto-fix; wait for user

instruction

specific sections to rework

Never block the user from proceeding — the verdict is advisory. Document risks,

present findings, let the user decide whether to proceed despite concerns. A user

who chooses to proceed with a NEEDS REVISION spec takes on the documented risk.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.