brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
docsbot-response-quality-admin-mcpUse when analyzing DocsBot conversation or question logs to explain why the bot answered the way it did, diagnose retrieval or prompt failures, find knowledge gaps, and recommend concrete source, Q&A, prompt, model, or context fixes through the DocsBot Admin MCP.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill to diagnose why a DocsBot bot answered a question the way it did by inspecting conversation and question logs, the sources retrieved as context, current bot settings, and live semantic search against the training data.
Admin MCP exposes fixed named action tools plus optional metadata tools:
search_tools and get_tool_schema for optional metadata inspection.pathParams, query, and/or body.Call the named tool directly when known. Use search_tools or get_tool_schema only for unfamiliar advertised names or inputs.
This skill is the log-analysis and response-quality surface. It complements Bot Builder: use Bot Builder when creating or broadly reconfiguring a bot, and use this skill when the user wants a causal explanation of a specific answer, a cluster of bad answers, unanswered questions, escalations, or low ratings.
Canonical product guidance for improvement levers: Improving Chatbot Response Quality.
Start with the user's evidence and live Admin MCP data, not reference files. The instructions in this SKILL.md are sufficient for the common single-answer review.
sources before deciding what else is needed.operations.md is a fallback guide, not a prerequisite.Use this routing table selectively:
| Reference | Load only when |
|---|---|
| workflow.md | Scoping a cluster, ambiguous time window, or multi-incident analysis; skip for a single supplied ID. |
| operations.md | The advertised tool schema did not make the required read/write operation or field contract clear. |
| semantic-search.md | You are about to run or interpret a retrieval-ranking matrix beyond one targeted semantic search. |
| glossary.md | A brand, product, acronym, industry term, or non-standard translation may be causing a query-to-document vocabulary mismatch. |
| diagnosis.md | Evidence supports multiple plausible causes or the user needs a formal root-cause classification. |
| remediation.md | A root cause is established and you need detailed remediation or mutation guardrails. |
| handoff.md | A complex or clustered analysis needs the full formal handoff shape; skip for a concise single-incident answer. |
search_bot_knowledge over guesses about what the model "must have seen."sources (retrieved chunks) for the question under review. Those chunks are the context the model actually received.search_bot_knowledge): start with the standalone or raw question and compare live hits to the logged context. Expand to paraphrases, higher top_k, or tagged-vs-untagged searches only when the first result leaves the cause unclear. Source status alone is not proof of retrievability.type: "qa" source with the corrected FAQ (create_source), then mark the question log with mark_question_revised { "revised": true }. The Q&A source improves future responses after ingest; the revised flag marks the log as corrected. Do not mark revised without creating the Q&A item when the goal is better future answers.Every single-answer diagnosis must explicitly check the answer for hallucinations, unsupported claims, invented policies or contact details, fabricated tool/action results, incorrect citations or procedural steps, and contradictions with the logged sources or conversation context.
Classify whether prompt instructions can reasonably improve the observed behavior before recommending a prompt edit:
helpscoutPrompt; agent-mode text answers use agentPrompt; legacy/non-agent text surfaces use customPrompt; voice and phone answers use voicePrompt. In the current Admin bot object, the editable voice prompt is exposed as voiceAgent.instructions; preserve the rest of the voiceAgent object when updating it. Do not edit a different prompt merely because it is easier to find.conversationId and read the conversation when available. Use only the conversation's top-level channel; do not infer a channel from question or conversation metadata. If the linked conversation or its channel is unavailable, report the channel as unknown rather than guessing the prompt surface. Treat voice and phone as voice-prompt channels. The testing flag describes staff testing and does not by itself select a prompt surface.Use this sequence for a single answer or a small set of related failures:
standaloneQuestion, answer, couldAnswer, rating, escalation, model if present, and the retrieved sources array with chunk content.diagnosis.md only if the evidence leaves multiple plausible classes.search_bot_knowledge call using the standalone or raw question and the default top_k: 6. Expand to a query matrix—and load semantic-search.md—only if the first comparison does not distinguish the cause. When helpful, inspect source status/chunk counts for suspected documents. If the mismatch centers on a proprietary term, acronym, industry phrase, or non-standard translation, load glossary.md and compare the same search with use_glossary: false and true.agentPrompt, model, retriever tags, enabled tools/actions, and deployment surface.remediation.md only when detailed fix or mutation guardrails are needed. Apply only authorized fixes; otherwise hand off dashboard deep links and exact next steps.handoff.md only for a complex or clustered report that needs its formal structure.For cluster analysis (knowledge gaps, recurring escalations, rating dips):
couldAnswer=false, escalated, low rating, topic query, date range).Use current public DocsBot docs and live MCP catalog as source of truth:
https://docsbot.ai/documentation/doc/improving-response-qualityhttps://docsbot.ai/documentation/doc/customize-ai-bot-responseshttps://docsbot.ai/documentation/doc/how-to-use-the-prompt-debugger-to-fix-ai-agent-behaviorhttps://docsbot.ai/documentation/doc/docsbot-ai-reports-and-analyticshttps://docsbot.ai/documentation/developer/embeddable-chat-widget and https://docsbot.ai/documentation/developer/chat-api#parametershttps://docsbot.ai/documentation/developer/mcp-serverIf docs, code, and live MCP behavior disagree, state the conflict and follow live MCP validation for the immediate diagnosis.