跳到正文
cccskills
免费在 GitHub 公开

chatbot-ui-patterns

Design chatbot user interfaces — message layouts, suggestion chips, rich cards, feedback controls, and accessibility. Use when designing the visual and interaction layer of conversational UIs.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

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

Chatbot UI Patterns

The interface is the product for most chatbot users. These patterns cover what works: message design, guidance controls, rich content, feedback loops, and the accessibility details that separate professional bots from demos.

Overview

Good chat UI reduces the user's cognitive load: clear message hierarchy, suggested next actions, rich rendering of structured content, and obvious paths when things go wrong. The patterns below are interface conventions proven across consumer and enterprise bots — layout, components, and micro-interactions that make conversations feel effortless.

When to use

  • Designing or redesigning a chatbot interface from scratch.
  • Auditing an existing bot UI for usability issues.
  • Adding rich interactions: cards, carousels, forms inside chat.
  • Making a bot accessible to keyboard and screen-reader users.

Core concepts

  • Message hierarchy: user vs. assistant visually distinct; timestamps subtle; avatars minimal. The conversation should scan like a dialogue, not a wall of bubbles.
  • Suggestion chips: tappable follow-ups and common queries above the input. They teach users what the bot can do — the single best onboarding device.
  • Rich cards: structured content (products, appointments, results) rendered as cards with actions, not as paragraphs. Carousels for multiple options.
  • Progressive disclosure: long answers with expandable sections; tool activity collapsible. Don't overwhelm; let users drill in.
  • Feedback controls: thumbs up/down per message, with optional reason. Feeds evals and model improvement — make it one tap.
  • Empty and error states: first-run suggestions, graceful "I didn't understand" with alternatives, offline/retry states. Designed, not defaulted.

Practical workflow

  1. Define the message anatomy: parts (text, cards, chips, citations) and how each renders on desktop and mobile.
  2. Design the input area: text field, suggestion chips, attachments, voice — only what the bot actually supports.
  3. Build rich components for your top intents: if users book appointments, design the appointment card first.
  4. Add feedback on every assistant message; wire it to your eval pipeline.
  5. Design the failure states: confusion, out-of-scope, errors, escalation — each with a clear next step.
  6. Accessibility pass: keyboard navigation, screen-reader labels, focus management, color contrast, reduced-motion support.
Chat UI checklist:
[ ] User/assistant visually distinct, scannable
[ ] Suggestion chips teach capabilities
[ ] Top intents have rich (non-text) renderings
[ ] Feedback control on every assistant message
[ ] Designed empty, error, and escalation states
[ ] Keyboard + screen-reader navigable
[ ] Works on small screens without horizontal scroll

Common pitfalls

  • Bubbles for everything: long answers as giant bubbles are unreadable. Use structured layouts for structured content.
  • No guidance: an empty input box with no hints. Users don't know what to ask — chips and examples fix this.
  • Feedback nobody reads: collecting ratings into a void. Wire feedback to evals and review it.
  • Desktop-only design: chat is heavily mobile. Design small-screen first.
  • Inaccessible by default: divs instead of buttons, no ARIA, focus lost on updates. Accessibility is a design requirement, not a polish step.
  • Citations as an afterthought: grounded bots need visible sources. Design citation display into the message anatomy.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

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

aicodedecode/awesome-muse-skills242026年10月10日 更新

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

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

aicodedecode/awesome-muse-skills242026年10月10日 更新

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

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

aicodedecode/awesome-muse-skills242026年10月10日 更新

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

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

aicodedecode/awesome-muse-skills242026年10月10日 更新

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

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

aicodedecode/awesome-muse-skills242026年10月10日 更新

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

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

aicodedecode/awesome-muse-skills242026年10月10日 更新

查看 aicodedecode 的全部技能

报告此技能的问题