ai-building-chatbots
Installation
SKILL.md
Build a Conversational AI Chatbot
Guide the user through building a multi-turn chatbot that remembers context, follows conversation flows, and produces high-quality responses. Uses DSPy for optimizable response generation and LangGraph for conversation state, memory, and flow control.
When not to build a chatbot
Skip multi-turn chatbot architecture when a single-turn LM call is sufficient. A user who submits a support ticket and gets a one-shot email reply does not need conversation state — use /ai-writing-content. A search box that returns a direct answer does not need LangGraph — use /ai-searching-docs. Chatbot infrastructure adds complexity that only pays off when the task genuinely requires multiple back-and-forth exchanges.
| Signal | Better approach |
|---|---|
| User submits once, expects one response | /ai-writing-content or single dspy.Module |
| User searches a knowledge base | /ai-searching-docs (RAG without state) |
| Bot takes actions autonomously | /ai-taking-actions (tool use, not chat) |
| Multiple AI agents coordinating | /ai-coordinating-agents |
| Conversation is always 1-2 turns | Plain dspy.ChainOfThought, no LangGraph |