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).
openrouter-sdk-patternsImplement common SDK patterns for OpenRouter integration. Use when building production applications. Trigger with phrases like 'openrouter sdk', 'openrouter client pattern', 'openrouter best practices', 'openrouter code patterns'.
Independent GitHub snapshot · Automated classification · Original documentation governs
This skill covers proven SDK patterns including client initialization, error handling, retry logic, and configuration management for robust OpenRouter integrations.
Follow these steps to implement this skill:
This skill covers proven SDK patterns including client initialization, error handling, retry logic, and configuration management for robust OpenRouter integrations.
from openai import OpenAI
import os
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
## Detailed Reference
See `{baseDir}/references/implementation.md` for complete implementation guide.