devexpress-winforms-ai-chat
Installation
SKILL.md
DevExpress WinForms AI Chat Control
AIChatControl (namespace DevExpress.AIIntegration.WinForms.Chat) embeds a ready-made chat UI in a WinForms app. It is a Blazor/WebView2-hosted control: you register an IChatClient (OpenAI, Azure OpenAI, Ollama) once at startup, add the control to a form, and it handles the message list, streaming, Markdown rendering, and history. It is .NET 8+ only (the project must use the Microsoft.NET.Sdk.Razor SDK).
When to Use This Skill
- Add a conversational AI chat panel to a WinForms app (assistant, copilot, support bot).
- Register an AI provider client (OpenAI / Azure OpenAI / Ollama) for the chat control.
- Stream responses, render Markdown safely, show a header, or add prompt suggestions.
- Intercept user messages before they are sent (
MessageSending) to inject instructions or answer yourself. - Save and restore chat history (
SaveMessages/LoadMessages).
Before You Start — Ask the Developer
If the host agent has a structured question-asking tool available, use it to ask these questions one at a time with clear options — for example, Claude Code's AskUserQuestion tool or GitHub Copilot's askQuestions tool. If no such tool is available, ask the questions directly in the chat response before generating code.