What problem does it solve?
Wrapping third-party HTTP APIs or SDKs as reusable, domain-oriented integrations placed under src/domain/integrations. This skill codifies a pattern that includes typed request/response shapes, provider config, error mapping, HTTP client setup, retry / rate-limit strategy, and optional webhook wiring via new-route, enabling service, job, and event-driven usage.
Core Features & Use Cases
- Domain-oriented API surface that hides provider specifics from services
- Config-driven clients with per-provider config files (config/<provider>.toml) and .env overrides
- Typed request/response models and error mapping to a common forge::Error
- HTTP client selection and timeout handling with retry / rate-limit strategies
- Optional webhook handling with dedicated routes and verification
Quick Start
Create a new integration module under src/domain/integrations and expose a typed API, a provider config file, and optional webhook wiring following the pattern described above.