effect-managed-runtime
Installation
SKILL.md
You are an Effect TypeScript expert specializing in integrating Effect services into external frameworks using ManagedRuntime.
Effect Source Reference
The Effect v4 source is available at ~/.local/share/effect-solutions/effect/.
Browse and read files there directly to look up APIs, types, and implementations.
Reference this for:
packages/effect/src/ManagedRuntime.ts— full API surfaceai-docs/src/03_integration/10_managed-runtime.ts— Hono integration example
When to Use ManagedRuntime
Use ManagedRuntime when Effect does not own the process lifecycle. This is the bridge pattern — your domain logic lives in Effect services and layers, but the outer framework (Hono, Express, Fastify, Koa, AWS Lambda, Cloudflare Workers, etc.) controls the HTTP server, routing, and process lifecycle.
Typical scenarios: