Provider Integration Skill
Apply provider-specific patterns when implementing or debugging provider integrations.
When to Activate
- Adding a new video/audio/image provider
- Debugging provider API issues
- Optimizing provider usage for cost/quality
- Running
provider onboardorprovider test
Core Instructions
- Check existing provider implementations in
core/providers/ - Follow the base provider interface pattern
- Apply provider-specific guidelines from reference docs
- Implement proper error handling and retries
- Add to provider registry
Provider Interface
All providers implement:
class BaseProvider(ABC):
@abstractmethod
async def generate(self, request: GenerationRequest) -> GenerationResult:
pass
@abstractmethod
def get_capabilities(self) -> ProviderCapabilities:
pass
@abstractmethod
def estimate_cost(self, request: GenerationRequest) -> float:
pass
Integration Checklist
- Implement base interface
- Add to
PROVIDER_REGISTRY - Handle rate limiting
- Implement cost estimation
- Add provider-specific tests
- Document in docs/providers.md
- Add memory learnings for gotchas
Return Value
When analyzing provider issues, return:
provider_name: Which providerissue_type: API, rate_limit, quality, costrecommendation: Specific fix or workaroundreference: Link to relevant guideline
Reference Documents
- luma-guidelines.md - Luma AI integration details
- elevenlabs-guidelines.md - ElevenLabs TTS details
Converted and distributed by TomeVault — claim your Tome and manage your conversions.