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/opencode/repos/github.com/Effect-TS/effect@main/. Baseline: effect@4.1.0 stable. Read git show effect@4.1.0:<path>; the release tag takes precedence over newer main.

Reference this for:

  • packages/effect/src/ManagedRuntime.ts — full API surface
  • ai-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:

Installs
3
GitHub Stars
11
First Seen
Aug 27, 2026