Token导航 LogoToken导航TokenDH.com
开发规范需要联网clawhub未标认证来源可访问clear审计通过

form-ux-best-practices形成用户体验最佳实践

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

8,914

周安装

379

GitHub Stars

1

下载量

3,123
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:form-ux-best-practices(形成用户体验最佳实践)
来源仓库:https://github.com/nicolas-m-design/form-ux-best-practices
安装命令:
openclaw skills install form-ux-best-practices
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install form-ux-best-practices

简介

用于辅助界面设计、视觉规范和交互体验优化。

  • 适合整理页面结构、生成 UI 方案或检查视觉一致性。
  • 使用时需结合品牌系统和用户任务,避免堆砌装饰元素。
  • 涉及真实页面改动时应通过截图或浏览器预览验证表现。
  • 安装前建议确认权限范围和维护状态。form-ux-best-practices 属于开发规范类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
form-ux-best-practices
description
Opinionated form UX and accessibility workflow for signup, checkout, settings, and lead-gen forms. Use when reviewing a form spec or existing implementation to produce prioritized UX/accessibility/copy fixes, field-by-field rewrites, validation and error messaging specs, and optional ready-to-ship HTML/React pseudo-code. Do not use for purely visual redesigns, non-form screens, or analytics-only audits.

Form UX Best Practices

Operating Mode

  • Run in text-only mode by default.
  • Avoid image-led critiques, dashboards, or visual redesign directions unless explicitly requested.
  • Prioritize decisions that improve completion quality, error recovery, accessibility, and trust.

Inputs Required

Collect these inputs before reviewing:

  • Form context: signup, checkout, settings, lead-gen, or other.
  • Primary business goal and user goal.
  • Current form source: spec, HTML, React, screenshots transcribed to text, or mixed.
  • Field list with required/optional status.
  • Current validation behavior (inline, blur, submit, server-side).
  • Target devices (desktop, mobile, both).

Intake Questions

Ask only if essential inputs are missing. If essentials are present, proceed without questions.

  • What is the exact decision this form should support (create account, complete purchase, update settings, capture lead)?
  • Which fields are mandatory to complete that decision?
  • What happens after submit (success path, retry path, abandonment path)?
  • Are there legal or policy constraints (age checks, billing details, consent, regional rules)?

Deterministic Review Workflow

  1. Define task-critical outcome: state one sentence for user success and one sentence for business success.
  2. Map friction points: identify every extra field, ambiguous label, avoidable decision, and interruption.
  3. Audit field architecture: check sequence, grouping, required/optional clarity, and progressive disclosure.
  4. Audit validation behavior: check timing, specificity, recovery path, and consistency between inline and submit states.
  5. Audit accessibility semantics: labels, instructions, focus order, keyboard use, and error associations.
  6. Audit mobile ergonomics: input type, inputmode, keyboard hints, spacing, touch target comfort, and scroll/focus behavior.
  7. Audit trust signals: explain why sensitive fields are requested and place privacy assurances at decision moments.
  8. Produce outputs using assets/report_template.md exactly.

Reference Loading

  • Load references/canon.md only when you need principle-level rationale or a tie-breaker between competing form patterns.
  • Prefer the deterministic workflow above for execution; use canon references to justify recommendations, not to replace direct analysis.

Accessibility Checks

  • Ensure every control has a programmatic name from a visible label, not placeholder-only text.
  • Ensure label and control association via for/id or explicit wrapper label pattern.
  • Ensure helper text and errors are referenced by aria-describedby where applicable.
  • Ensure invalid fields set aria-invalid="true" after validation fails.
  • Ensure error summary (if used) links to each invalid field and receives focus after failed submit.
  • Ensure tab/focus order matches visual/logical order.
  • Ensure keyboard-only completion is possible without pointer interaction.

Mobile Checks

  • Use the correct keyboard hints (type, inputmode, autocomplete, autocapitalize).
  • Keep label visibility persistent while typing.
  • Avoid multi-column field arrangements that compress touch targets on narrow screens.
  • Keep helper/error text close to field and visible without horizontal scrolling.
  • Avoid forced context-switch loops (field blur -> jump -> keyboard close/open thrash).

Validation Strategy

  • Validate required presence on submit, not on first keystroke.
  • Validate format either on blur or when enough characters exist to infer intent.
  • Reserve real-time validation for high-value, low-noise cases (for example: password strength meter, username availability).
  • Show one clear recovery action per error.
  • Keep inline error copy consistent with submit-time error summary copy.
  • Use error summary for multi-error forms or long forms where first error may be off-screen.

Field Design Rules

  • Prefer explicit labels above fields; do not rely on placeholders as labels.
  • Mark optional fields explicitly; keep required as default unless product policy requires explicit required badges.
  • Request only minimum data needed for the current decision.
  • Group related fields and follow user mental model order (for checkout: contact -> delivery -> payment).
  • State constraints before input when predictable (format, length, character rules).

Microcopy Rules

  • Use direct, specific phrasing that names the issue and next action.
  • Avoid blame language and vague statements like "Invalid input".
  • Mention accepted format when format errors are common.
  • Keep tone neutral and recovery-oriented.
  • Keep labels and error terms consistent (same field name in label, helper, and error).

Privacy and Trust Cues

  • Explain why sensitive information is needed at the moment it is requested.
  • Place trust cues near commitment actions (submit/place order), not buried in footer text.
  • Clarify consent scope and frequency for communications fields.
  • Separate mandatory operational consent from optional marketing consent.

Conversion and Friction Rules

  • Remove non-essential fields from initial flow.
  • Use progressive disclosure for secondary details.
  • Prefer smart defaults when safe and reversible.
  • Preserve entered values after failed submit.
  • Minimize redundant confirmation fields unless risk justifies it.

Prioritization Rubric (P0/P1/P2)

  • P0: Blocks completion, creates legal/compliance risk, or makes the form unusable for assistive tech.
  • P1: Causes significant confusion, avoidable errors, or measurable abandonment risk.
  • P2: Improves clarity, speed, and polish but does not block completion.

Output Format

Always fill assets/report_template.md sections in this exact order:

  1. Top Issues (P0/P1/P2)
  2. Field-by-field rewrite
  3. Validation & error messaging spec
  4. Accessibility checklist
  5. Ship-ready checklist
  6. Optional: Ready-to-ship snippet

Optional Ship Snippet Mode

When asked to produce implementation-ready guidance:

  • Output either semantic HTML or React pseudo-code.
  • Include labels, helper text hooks, error bindings, and autocomplete attributes.
  • Include submit-time summary pattern when there are 2+ possible simultaneous errors.
  • Keep snippet focused on form behavior and semantics, not visual styling.

Optional Static Audit Script

Use scripts/form_audit.py for quick static checks on HTML forms.

python3 scripts/form_audit.py /path/to/form.html

Script checks:

  • Missing label mapping
  • Duplicate IDs
  • Missing name attributes
  • Placeholder used as label
  • Missing autocomplete for common fields
  • Likely input type mismatches

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.58%
按下载量换算2,641

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills