effect-encore

Define typed actors and durable workflows with Effect's cluster API in TypeScript projects using Effect v4.

18|1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/cevr/effect-encore --skill effect-encore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-encore
Source: https://github.com/cevr/effect-encore/tree/main/skills/effect-encore
Command: npx skills add https://github.com/cevr/effect-encore --skill effect-encore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the tedious manual boilerplate required to implement reactive actors and durable workflows with Effect's cluster API, which normally requires custom Schema.Class definitions, Rpc/RpcGroup/Entity wiring, hand-rolled client services, and manual imports of Activity, DurableDeferred, and DurableClock for workflow orchestration.

Core Features & Use Cases

  • Declarative actor definition: Define entities and workflows as plain objects with typed operation constructors, no manual schema or RPC wiring needed.
  • Unified client interface: Use the same execute/send/peek/watch pattern for both entities and workflows, simplifying client code.
  • Built-in step DSL: Orchestrate durable workflow steps with retries, compensation, and signals without importing low-level workflow primitives.
  • Use case example: Use this Skill to quickly build a persisted Order entity with Place and Cancel operations, plus a ProcessOrder workflow with approval signals and payment processing steps, reducing implementation time from hours to minutes.

Quick Start

Use the effect-encore skill to define a typed Order entity with Place and Cancel operations, wire its handlers, and implement a ProcessOrder workflow with approval signals and durable step orchestration for order fulfillment.

Frequently Asked Questions about effect-encore

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce boilerplate when defining Effect cluster actors and workflows in TypeScript?

To define Effect cluster actors declaratively, specify entities as plain objects with typed operation constructors, bypassing manual Schema.Class and RpcGroup wiring. This generates unified execute, send, and peek interfaces for cluster communication without hand-rolled client services.

What is the best way to orchestrate durable workflow steps with retries and compensation in Effect?

The best way to orchestrate durable workflow steps in Effect is using a built-in step DSL that handles retries, compensation, and signals natively. This removes the need to manually import low-level primitives like Activity, DurableDeferred, and DurableClock for workflow orchestration.

Do I need Effect v4 to use declarative cluster actors and durable workflows?

Yes, Effect v4 is required for TypeScript projects utilizing declarative cluster actors and durable workflows. The system applies Effect's cluster API to provide type-safe operation dispatch, durable step execution, and built-in execution tracking via peek, watch, and waitFor APIs.

How do I track execution state for Effect cluster workflows and entities?

You track execution state for Effect cluster workflows using built-in peek, watch, and waitFor APIs. These provide a unified client interface for monitoring both reactive actors and durable workflows, simplifying client code by applying the same pattern across both entity types.

Does this declarative workflow approach support approval signals for order fulfillment processing?

Yes, declarative workflow orchestration supports approval signals for order fulfillment processing. You can define a ProcessOrder workflow with approval signals and durable step orchestration, reducing implementation time from hours to minutes by handling retries and compensation automatically.