llm-integration
Installation
SKILL.md
LLM Integration Skill
Integrate Large Language Models (OpenAI, Anthropic) into applications with proper streaming, structured outputs, tool calling, prompt engineering, token management, and error handling.
API Configuration and Client Setup
BAD: Hardcoded credentials, no validation
const openai = new OpenAI({
apiKey: "sk-proj-abc123" // Hardcoded key
});
const anthropic = new Anthropic({
apiKey: process.env.ANTHROPIC_API_KEY // No validation
});