effect-client-wrapper
Installation
SKILL.md
Effect Client Wrapper Pattern
Wrap third-party SDK clients with Effect v4 using the callback use pattern. This skill is for SDK clients with their own client objects, not raw HTTP client wrappers.
When To Use
Use this pattern for libraries that expose Promise-based APIs with many methods, need construction-time config or credentials, and do not already have a native Effect wrapper.
Examples: Stripe, Resend, AWS SDK, Google Cloud APIs, Supabase, Prisma, Drizzle, vendor exchange clients, generated SDK packages.
For one or two calls, an explicit service method may be enough. For broad SDKs, expose use plus a small set of convenience methods.