跳到正文
cccskills
免费在 GitHub 公开

ui-audit-lens

Use when: UI standards discovery, UI pattern research, UI audit, pre-handoff UI state coverage review, or when a business-specific child skill needs a stack-agnostic UI methodology to load first.

中文简介正在准备中。当前显示原文说明。

集成工具Supabase
查看安装方法

包含的文件(1)

  • SKILL.md7.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

UI Audit Lens

Use this skill as a stack-agnostic UI methodology. It does not define a business's visual standards for them. It provides the repeatable method a child skill can reuse before layering organisation-specific rules, component libraries, accessibility bars, content rules, or approval steps.

This skill covers three phases in one place:

  1. research the target product or organisation's existing UI conventions before proposing change
  2. audit a named UI surface against a stated standard
  3. run a pre-handoff UI state coverage gate so handoff does not omit key observable states

Framework specifics belong in the child skill, not here. Nothing in this method assumes React, Angular, Syncfusion, Supabase, server-rendering, or any particular design system.

When to Load

Load this skill when the work involves any of the following:

  • defining UI standards for an organisation, product line, or programme
  • researching an existing application's interaction patterns before proposing new UI work
  • auditing a screen, workflow, component family, or design system against explicit standards
  • performing a pre-handoff UI coverage check before design review, implementation handoff, or acceptance review
  • creating a business-specific child skill that should inherit a generic UI methodology first

Do not load this skill for purely aesthetic direction alone when the work is just moodboarding or visual exploration. Use a design-oriented skill for that. Do not load it for automated visual regression tooling; that is a different capability.

Phase 1 - Research

Start with evidence, not taste. Before recommending a standard or flagging a defect, identify what the target app or organisation already does.

Collect the smallest evidence set that answers these questions:

  • Which UI surfaces matter for this task: pages, workflows, forms, dashboards, admin screens, public marketing views, or all of the above?
  • Which standards already exist: design system docs, accessibility rules, brand constraints, regulatory requirements, screenshot libraries, or prior shipped screens?
  • Which interaction patterns repeat already: navigation, tables, empty states, validation handling, destructive actions, permissions, mobile breakpoints?
  • Which constraints are real: legacy framework limits, third-party component library limits, content governance, localisation, device targets, browser support?

Output the research phase as a compact inventory:

## UI Research Snapshot

- Target surface: [what is being studied]
- Existing conventions: [patterns already in use]
- Explicit standards: [docs, references, or rules already defined]
- Constraints: [technical, regulatory, or product limits]
- Unknowns: [gaps that block a strong recommendation]

If the evidence is thin, say so explicitly. Do not invent a house style from memory or generic frontend norms.

Phase 2 - Audit

Audit against a named standard, never against vague preference. The standard may come from an existing design system, a business-specific child skill, accessibility guidance, or an explicit review brief.

For each audited surface, inspect at least these dimensions:

  • Consistency — labels, spacing logic, control choice, navigation patterns, and interaction rules match the stated standard
  • Clarity — users can identify the next action, current state, and outcome without hidden assumptions
  • Accessibility — the chosen standard names the applicable bar; audit against that bar rather than treating accessibility as a hand-wavy suggestion
  • State handling — the surface defines what happens when data is absent, in flight, valid, invalid, or failed
  • Boundary behavior — role gates, destructive actions, long-running operations, and degraded environments fail clearly rather than silently

Return audit findings as a structured record:

## UI Audit

| Area | Standard / expectation | Observed evidence | Gap | Severity | Recommended action |
| --- | --- | --- | --- | --- | --- |
| [surface or pattern] | [named rule] | [what exists now] | [what is missing or inconsistent] | [required/recommended/fyi] | [specific next action] |

Keep findings tied to observable evidence. If the standard is missing, the finding is not "the UI is wrong"; the finding is "the standard is undefined, so evaluation cannot be completed cleanly."

Phase 3 - Pre-Handoff UI State Coverage Gate

Before handing the work to implementation, review, or acceptance, verify the UI surface has explicit coverage for five observable states. These states are stack-agnostic and concern what the user can see, not how the framework implements them.

StateWhat to verify
Empty / first-runThe surface behaves intentionally when there is no data, no history, or no prior configuration
In progressThe user can tell work is loading, processing, or waiting, and the interface does not become ambiguous while work is underway
Success / steady stateThe intended successful outcome renders clearly and matches the stated standard
User-correctable errorValidation, missing required input, permission guidance, or another recoverable issue is explained clearly enough for the user to act
System failureUnexpected failures, unavailable dependencies, or transport/service faults surface without leaving the user in a blank or misleading state

When a specific surface has no form validation, substitute the most realistic user-correctable state for that flow and name it explicitly. Examples include permission denied with a clear next step, offline/disconnected mode, or a prerequisite step the user must complete first. Do not silently skip the fourth state.

Record the gate in this form:

## UI State Coverage Gate

- Empty / first-run:      [observed, designed, or still missing]
- In progress:            [observed, designed, or still missing]
- Success / steady state: [observed, designed, or still missing]
- User-correctable error: [observed, designed, or still missing]
- System failure:         [observed, designed, or still missing]

Blank entries mean the gate is incomplete.

Child Skill Extension Pattern

Business-specific child skills should load this skill first, then add the answers this generic method intentionally does not contain.

Child skills should provide things like:

  • the organisation's named accessibility bar and compliance obligations
  • design system tokens, component choices, and content rules
  • product-specific state taxonomy or escalation rules
  • approval workflow, stakeholder roles, or documentation templates

Child skills should not duplicate this methodology. Reuse this skill for the process, then layer the business-specific standards on top.

Relationship to Other Skills

  • uix-lens remains the existing product-specific sibling for React/Supabase UI work. This skill does not replace or deprecate it.
  • code-review-and-quality can run alongside this skill when the audit includes a concrete code diff that also needs engineering review.
  • skill-quality-review applies when editing this skill or any child skill built on top of it.

What This Skill Does Not Do

  • It does not prescribe one visual style, component library, or framework.
  • It does not generate automated visual testing or regression tooling.
  • It does not replace product-specific child skills that define a business's actual standards.
  • It does not deprecate or modify uix-lens.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Universal guardrails loaded by every agent. Defines Verify Before Reporting (VBR), Write-Ahead Log (WAL), and the security baseline. Always-on, role-independent.

中文简介正在准备中。当前显示原文说明。

Agistra/agistra.dev52026年10月19日 更新

Use when: architecture mode, architect this, ADR, C4, PlantUML, system boundary, design decision, PRD gap, high ambiguity, multiple technical approaches, security architecture, data architecture, integration risk, implementability gap, story ticket, or epic ticket.

中文简介正在准备中。当前显示原文说明。

Agistra/agistra.dev52026年10月19日 更新

Use when: assumptions audit, audit assumptions, check for hidden assumptions, plan/ticket has ambiguous scope edges, pre-flight before finalizing a ticket, unstated assumptions, or 'what am I assuming'. Surfaces unstated assumptions, ambiguous scope edges, and untested preconditions in a finished plan/ticket/ADR before it is handed to Builder. Optional pass — Architect judges when to apply it; not a mandatory gate on every ticket.

中文简介正在准备中。当前显示原文说明。

Agistra/agistra.dev52026年10月19日 更新

Use when: Tester needs UI state evidence for VBR, or Builder needs to verify an integration wire is observable end-to-end. Powered by agent-browser MCP — token-efficient browser automation (200–400 tokens/page).

中文简介正在准备中。当前显示原文说明。

Agistra/agistra.dev52026年10月19日 更新

Use when drafting a bug or defect ticket, reviewing one someone else wrote, or deciding whether a reported problem is ready to file. Keeps what the reporter actually saw separate from what the agent later found out, so a reader can tell which lines are testimony and which are collected proof. Trigger phrases: 'file a bug', 'write up this defect', 'triage this report', 'is this ticket ready to file', 'what did the reporter actually see'.

中文简介正在准备中。当前显示原文说明。

Agistra/agistra.dev52026年10月19日 更新

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

中文简介正在准备中。当前显示原文说明。

Agistra/agistra.dev52026年10月19日 更新

查看 Agistra 的全部技能

报告此技能的问题