跳到正文
cccskills
免费在 GitHub 公开中文介绍

ux

用交互原则和检查清单设计或审查面向用户的操作流程,检查空白、加载和错误状态、草稿保护、操作引导及高级选项的呈现。

原文查看原文说明

Use for product design principles and UX checks when designing or implementing user-facing flows.

lobehub/lobehub星标 83,502(GitHub 83,502 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 设计面向用户的页面
  • 检查输入内容和草稿保护
  • 审查错误后的恢复方式
  • 检查操作流程是否清楚

中文介绍

功能

ux 用于设计和检查界面随操作推进时的行为,而不是静态外观或文案。检查清单涵盖空白、加载和错误状态,列表搜索与选择,输入过程中草稿的保护,操作后的流程,按钮优先级,以及撤销和重试。技能还提供设计原则,并按阅读、编辑、操作、接收反馈和发现功能等场景列出检查项,帮助保持整个界面体验的一致性。

静态设计系统和文案指引请查阅 DESIGN.md。选择组件时可参考 react,控制模态框状态时可参考 modal。

适用场景

创建面向用户的新页面或重新检查现有操作流程时可以使用。它有助于确认输入是否会丢失、发生错误后能否恢复,以及用户是否知道下一步该做什么。

使用示例

  • “请检查这个输入页面是否能保留未完成的草稿。”
  • “请检查这个列表在空白、加载和错误时的表现。”
  • “请检查此操作流程中的按钮和后续步骤是否清楚。”

注意事项

静态外观和文案的指引请参阅 DESIGN.md。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好资料描述设计检查,没有要求外发或删除操作。
安装难易度所需工具和 API 密钥是否少且有说明
A良好资料指向检查清单和相关指引,未列出额外环境要求。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

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

包含的文件(7)

  • SKILL.md10.7 KB
  • references/act.md32.6 KB
  • references/design-values.md2.3 KB
  • references/edit.md4.5 KB
  • references/feedback.md42.5 KB
  • references/grow.md6.7 KB
  • references/read.md47.8 KB

SKILL.md(原文)

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

UX — Design Values & Execution Checklists

How LobeHub products should feel, and concrete rules to get there. Use this when building or reviewing any user-facing flow.

This file is the index: the design values and interaction principles below are the conceptual layer; the execution checklists live in per-module reference files (see Checklist modules). Each checklist item is tagged with the design value(s) it serves.

What lives where: DESIGN.md vs this skill

Two documents, two jobs — don't duplicate; cross-reference.

  • DESIGN.md — the design system: what the product looks and sounds like. Themeable tokens (color, typography, elevation, radius), the component inventory, and Voice & Content (wording, tone). Reach for it when you need a token value, a component, or copy tone.
  • this ux skill — interaction behavior: how a flow should behave over time. Empty / loading / error states, lists at scale, selection visibility, pickers, number formatting, draft safety, action flow & momentum, button hierarchy, entity lifecycle, capability guardrails, progressive disclosure.

Rule of thumb: static look & wording → DESIGN.md; dynamic behavior → this skill. For component/styling choices see react; for imperative modal wiring see modal.

Design values

LobeHub follows four product design values — Natural・Meaningful・Certainty・Growth. Read them before designing: references/design-values.md (definitions + conflict priority).

Interaction principles

Use these before the execution checklists when a flow has multiple plausible interaction patterns.

Preserve the surface contract・Meaningful・Natural

Every surface carries a task promise: chat keeps the user in a working conversation, a document page supports focused reading / editing, a settings page supports configuration, and so on. Default interactions should continue that promise instead of unexpectedly moving the user into another mode. Prefer in-context surfaces (portal / panel / drawer) for reference and auxiliary work; reserve full-page navigation for committed focus or explicit mode switches.

Consistency is semantic, not mechanical・Certainty・Meaningful

Consistency means the same user intent behaves the same way in the same surface. It does not mean the same component must do the same thing everywhere. When a component is reused across surfaces, let the parent surface provide the interaction strategy so behavior follows intent rather than implementation convenience.

Layout communicates role・Natural・Certainty

Element placement is part of the interface language. Identity and location (breadcrumbs, titles, object labels) should read separately from state and actions (save status, sharing, panel toggles, overflow menus). When these roles are mixed, users have to infer whether an element describes the current object or acts on it.

Compose the canonical surface component, don't re-derive it・Certainty・Natural

When a surface class already has a canonical component in this codebase — a sidebar row → NavItem, a collapsible group → Accordion / GroupedAccordion, an active surface → Block variant='filled' — compose it, don't rebuild the chrome from raw <div>/<button>/<input> + a bespoke createStaticStyles block. A hand-rolled parallel re-derives padding, hover/active states, alignment, and reveal-on-hover by hand, and drifts from its siblings on each one — the aggregate reads as "unpolished" even when every single gap is tiny. Before building a list / nav / master-detail panel, find the primitive the sibling surface uses (grep NavItem, Accordion) and compose it; fall to raw elements only for a genuinely novel row. See Read §1.10 for the full pattern; the react component-priority rule covers the mechanics.

Review messages in page context・Certainty

Distinguish routine explanations from action-blocking states; do not stack equally prominent warning banners for different roles. Restriction copy must name the current condition and the next action, using precise product entities (for example, distinguish a model from its provider). Verify the whole page, not just the changed component.

Checklist modules

Grouped by interaction type — the kind of thing the user is doing. Jump to the module matching the surface you're building; a surface often spans several (an editable list is Read + Edit + Act) — walk each that applies.

  • Read — viewing data & lists: empty / loading / error states, lists at scale, selection visibility, picker completeness, number formatting, default view.
  • Edit — entering & changing content: protect in-progress drafts, never lose input.
  • Act — operations, flows & buttons: forward momentum, one primary button, entity lifecycle completeness.
  • Feedback — loading visuals & capability guardrails.
  • Grow — discoverability & progressive disclosure.

Quick review checklist

Use this scan to identify applicable checks, then read the linked module for its full requirements and examples. Keep implementation details and case histories in those modules, not duplicated here.

Read — viewing data & lists (read.md)

  • Distinguish first-use empty, no search matches, loading, and failure; include a useful body state beneath persistent chrome.
  • Handle fetch errors before empty, not-found, zero-valued aggregates, or static fallback entries can mask them.
  • Support lists from 1 to 10k rows with pagination, virtualization, and batch operations as needed.
  • Search, filters, sort, counts, and bulk scope cover the full dataset, not only loaded pages.
  • Scroll restored selections into view after their rows exist, without moving already-visible selections.
  • Pickers include every valid target, including default/inbox options.
  • Use shared number formatters with K/M/B/T rollover; never display a coefficient ≥ 1000.
  • Choose the initial view from entry intent and resolved data; preserve manual choices and access to collection-level actions.
  • Live feeds signal updates, allow manual refresh, preserve reading position, and distinguish refresh failure.
  • Conditional polling starts reliably; unknown or failed live status never qualifies an item for destructive bulk actions.
  • Large navigation surfaces offer search, filter, or jump.
  • Registry cards consistently show owned/installed and trust states; contribution leads to in-app submission.
  • Reuse canonical list rows and grouping components; see Read §1.10 and the react skill.
  • Keep populated lists visible beneath persistent composers; cap or collapse growing editors.
  • Status labels describe every member accurately.
  • Embedded documents collapse to titled rows and expand to full text with subordinate typography.
  • Entities without an image fall back to a shared type glyph, never a letter avatar of the name or a UI label.

Edit — entering & changing content (edit.md)

  • Persist and recover drafts through reloads, failed saves, and item switches; warn or save before destructive exits.
  • Keep placeholders stable and meaningful content retrievable outside them.

Act — operations, flows & buttons (act.md)

  • Success leads to the result; terminal screens provide a working next action or escape.
  • Persist results that change the next step; keep transient acknowledgements in toasts.
  • Provide both bulk and single-item action entry points.
  • Show confirmation, locked progress, and outcome where required. Slow atomic operations close the confirmation and show progress on the originating surface.
  • Long-running or costly operations support cancellation while running and retry after failure.
  • Surface optimistic mutation and job-control failures; never silently roll back.
  • Keep list and detail views synchronized after edits.
  • Pin actions and status outside scrollable content; verify the overflowing state.
  • Give each surface one visually dominant primary action.
  • Provide the lifecycle operations appropriate to each entity's source; honor pin/keep/lock on every removal path.
  • Show the acting identity and an account-switch or re-authentication path.
  • Require a deliberate gesture for unrecoverable or broad destructive actions and report partial failure.
  • Reveal newly minted secrets once with Copy, then mask them; hash verify-only secrets and encrypt protocol credentials the server needs in plaintext; generate an entity's credential on demand in its own row, not at creation.
  • User-memory/profile stores support correction, retaining without use, export, and undo or soft-delete.

Feedback — loading & system response (feedback.md)

  • Loading form matches the scenario table in feedback §4.1.
  • Match skeleton structure to measured rendered layouts, including platform and route variants.
  • Loading and load-more failures have visible recovery paths; failed items persist rather than auto-dismiss.
  • Dependent-fetch gates release on settled data, absence, or error; error/not-found branches remain reachable.
  • Failed awaited writes release busy controls; autosave exposes saving, saved, and failed states with retry.
  • Write localized, human-readable errors; keep internal IDs in structured inspection fields and lead with the remedy for deterministic failures.
  • Capability warnings are reactive and wait for resolved configuration; distinguish model choices from platform limitations.

Grow — discoverability & progressive disclosure (grow.md)

  • Reveal advanced capabilities when useful without cluttering the novice path.
  • Keyboard hints correspond to working shortcuts, verified in the running UI.
  • Configuration surfaces link to the feature's data or management area.
  • Flows with more than two steps show progress and keep non-essential steps skippable with an escape.

Related skills

  • ux-audit — a repeatable, Designing Interfaces-benchmarked audit of one surface; run it to find gaps and land them back into these checklists.
  • modal — imperative createModal state-machine wiring for confirm/progress/done.
  • DESIGN.md (Voice & Content) — wording for confirm / done / empty / error states.
  • react — component priority, Button usage, styling.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

acceptance

免费有简介

通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。

  • 实际检查更改后的产品行为
  • 收集截图或其他验证证据
  • 编写验证计划和报告
lobehub/lobehub8.4万2026年10月26日 更新

add-model-provider

免费有简介

本技能指导在 LobeHub 中接入 AI 模型提供商,涵盖运行时、模型信息、设置、品牌展示、文档和验收,并帮助判断新增模型是否需要新的提供商集成。

  • 为 LobeHub 接入新的 AI 模型提供商
  • 更新提供商设置说明或介绍
  • 判断添加模型是否需要新的提供商集成
lobehub/lobehub8.4万2026年10月26日 更新

add-setting-env

免费有简介

本技能指导如何用服务器端环境变量设置用户偏好默认值,涵盖变量校验、服务器配置、写入用户状态,以及更新 `.env.example` 和自托管文档。

  • 通过环境变量设置用户偏好默认值
  • 将设置接入服务器配置和用户状态
  • 更新环境变量示例及文档
lobehub/lobehub8.4万2026年10月26日 更新

agent-runtime-hooks

免费有简介

说明如何在智能体执行步骤、工具调用、人工审批、上下文压缩和子智能体调用时注册钩子。钩子可观察事件、模拟本地工具结果,也可通过 Webhook 按配置策略允许或拒绝工具调用。

  • 记录智能体步骤和错误
  • 测试时模拟工具结果
  • 通过 Webhook 允许或拒绝工具调用
lobehub/lobehub8.4万2026年10月26日 更新

agent-signal

免费有简介

此技能用于为智能体设计事件驱动的后台工作流,划分来源、信号、动作和策略的职责,并处理异步交接、去重、执行范围、完成记录与运行观测。

  • 添加事件触发的后台任务
  • 将工作移出对话请求
  • 防止动作重复执行
lobehub/lobehub8.4万2026年10月26日 更新

agent-testing-bot

免费有简介

本技能在 macOS 桌面聊天应用中测试机器人频道:打开应用、进入频道或联系人、发送消息、等待回复并截图。支持 Discord、Slack、Telegram、微信、飞书和 QQ;iMessage 使用 BlueBubbles 桥接。

  • 检查真实 Discord 频道中的机器人回复
  • 测试 Slack 或 Telegram 的对话流程
  • 记录 macOS 应用中的操作结果
lobehub/lobehub8.4万2026年10月26日 更新

查看 lobehub 的全部技能

报告此技能的问题