Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

cs-chatbot-designCS 聊天机器人设计

Agent Skill

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

总安装

376

周安装

16

GitHub Stars

125

下载量

132
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:cs-chatbot-design(CS 聊天机器人设计)
来源仓库:https://github.com/asgard-ai-platform/skills
仓库路径:skills/cs-chatbot-design
安装命令:
npx skills add https://github.com/asgard-ai-platform/skills --skill cs-chatbot-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/asgard-ai-platform/skills --skill cs-chatbot-design

简介

遵循意图优先原则,构建包含 NLU 管道与槽位提取的聊天机器人框架。

  • 提供意图分类、实体抽取与响应模板设计的完整流程指导。
  • 适用于 FAQ 问答、预订系统与智能客服等对话型应用开发。
  • 安装需通过 npx 添加指定仓库,建议先完成意图模型训练再设计回复逻辑。
  • cs-chatbot-design 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Chatbot Design

Framework

IRON LAW: Intent First, Response Second

A chatbot must UNDERSTAND what the user wants (intent) before crafting
a response. Building response templates without intent classification
produces a keyword-matching FAQ, not a chatbot.

Flow: User message → Intent classification → Slot extraction → Response

Core NLU Pipeline

StageWhat It DoesExample
Intent ClassificationIdentify what the user wants to do"What time do you close?" → intent: check_hours
Entity/Slot ExtractionExtract key information from the message"Book a table for 4 on Friday" → slots: {party_size: 4, date: Friday}
Dialogue ManagementDecide the next action (ask for missing info, confirm, execute)Missing slot time → ask "What time would you like?"
Response GenerationProduce the reply"I've booked a table for 4 on Friday at 7pm. See you then!"

Intent Design

  • Start with 10-15 core intents covering 80% of user queries
  • Each intent needs 10-20 training examples (varied phrasings)
  • Include a fallback intent for unrecognized inputs
  • Group related intents: order_status, order_cancel, order_modify under "Order Management"

Dialogue Flow Patterns

PatternWhen to UseExample
Single-turnSimple Q&A, no context needed"What are your hours?" → respond immediately
Multi-turn (slot filling)Need multiple pieces of info"Book a table" → ask party size → ask date → ask time → confirm
BranchingDifferent paths based on user's answer"Do you have an account?" → Yes: login flow / No: registration flow
ConfirmationBefore executing actions"I'll cancel order #12345. Is that correct?"
HandoffBot can't handle the request"Let me connect you with a human agent"

Response Design Principles

  1. Acknowledge first: "Got it, you want to check your order status."
  2. Be concise: Answer the question, then stop. Don't add unnecessary information.
  3. Offer next steps: "Is there anything else I can help with?" or suggest related actions.
  4. Use quick replies/buttons: Reduce typing, guide the conversation.
  5. Personality: Define a consistent tone (friendly, professional, casual) and stick to it.

Metrics

MetricDefinitionTarget
Intent accuracy% correctly classified intents> 85%
Containment rate% resolved without human handoff> 60-70%
CSATCustomer satisfaction score> 4.0/5
Fallback rate% triggering fallback/unknown intent< 15%
Resolution timeAverage time to resolve< 2 minutes

Output Format

# Chatbot Design: {Use Case}

## Intent Catalog
| Intent | Description | Example Utterances | Priority |
|--------|-----------|-------------------|---------|
| {intent} | {what it means} | "{example 1}", "{example 2}" | H/M/L |

## Dialogue Flows
### {Flow Name}
1. User: {trigger utterance}
2. Bot: {response + slot question if needed}
3. User: {provides info}
4. Bot: {confirmation or action}

## Fallback Strategy
- After 1 miss: rephrase + suggest options
- After 2 misses: offer human handoff

## Metrics Targets
| Metric | Target |
|--------|--------|
| Intent accuracy | > {X%} |
| Containment | > {X%} |

Gotchas

  • Users don't follow your flow: People type in unexpected ways, change topics mid-conversation, and give incomplete information. Design for messiness, not just the happy path.
  • Fallback is your most important intent: A good fallback ("I'm not sure I understood. Did you mean X, Y, or Z?") is better than a bad guess.
  • LLM-powered bots still need guardrails: Using GPT/Claude for response generation? Add intent classification as a first layer to route and constrain, preventing hallucination and off-topic responses.
  • Test with real users, not team members: Your team knows how the bot works and phrases things "correctly." Real users don't. Test with 10+ real users before launch.
  • Conversation logs are gold: Review conversation logs weekly. Failed conversations reveal missing intents, confusing flows, and training data gaps.

References

  • For NLU training data best practices, see references/nlu-training.md
  • For LINE/Messenger platform integration, see the ecom-conversational skill

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.72%
按下载量换算50

Claude

27.38%
按下载量换算36

Cursor

17.85%
按下载量换算24

Gemini CLI

8.57%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills