What problem does it solve? Building conversational AI features like chatbots, assistants, and text generation requires managing message history, system prompts, and API calls. This Skill provides ready-to-use patterns for implementing LLM chat completions with the z-ai-web-dev-sdk, including conversation management, error handling, and context control. ## Core Features & Use Cases - Chat Completions: Send single-turn questions or multi-turn conversations with system prompts and optional chain-of-thought reasoning. - Conversation Management: Maintain message history, trim context to avoid token limits, and reset sessions programmatically. - CLI and SDK Modes: Use the z-ai CLI for quick one-off queries or the SDK for production web application integration. - Use Case: Build a customer support chatbot with an Express.js API that remembers each user's conversation history across requests and responds with context-aware answers. ## Quick Start Use the LLM skill to create a chat completion that answers a user question with a custom system prompt via the z-ai-web-dev-sdk.