effect-patterns-scheduling

Implement Effect-TS retry and scheduling patterns with Schedule and repeat.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/scotttrinh/nook --skill effect-patterns-scheduling-scotttrinh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-patterns-scheduling
Source: https://github.com/scotttrinh/nook/tree/main/.agents/skills/effect-patterns-scheduling
Command: npx skills add https://github.com/scotttrinh/nook --skill effect-patterns-scheduling-scotttrinh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides ready-to-use scheduling and retry patterns for Effect-TS to simplify building reliable async workflows.

Core Features & Use Cases

  • Pattern library: Includes beginner patterns for retrying failed operations, with deltas for delays and backoffs.
  • Scheduling templates: Patterns for repeating tasks at fixed intervals, exponential backoff, and combined schedules.
  • Use Case: Build health checks, polling loops, and background data synchronization with predictable timing and observability.

Quick Start

Import Effect, Schedule, and Pattern utilities from effect-ts and begin composing a program that retries a failing operation with Schedule.recurs, or schedules a periodic health-check loop.

Frequently Asked Questions about effect-patterns-scheduling

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

FAQPage Schema
How do I implement retry logic with exponential backoff in Effect-TS?

Implement retry logic in Effect-TS by combining Effect.retry with Schedule primitives like recurs and exponential delays. This Skill provides ready-to-use patterns for composing backoff strategies to build reliable async workflows.

What is the best way to schedule periodic background tasks in Effect-TS?

Schedule periodic background tasks in Effect-TS using Schedule templates for fixed intervals and repeated execution. This Skill offers runnable patterns for health checks, polling loops, and data synchronization with predictable timing.

How does polling work with Effect-TS Schedule and repeat functions?

Polling in Effect-TS works by applying Schedule to repeat operations at defined intervals. This Skill demonstrates how to compose schedules for polling loops, combining timing control with retry mechanisms for robust data fetching.

Can I use these Effect-TS scheduling patterns for frontend TypeScript applications?

Yes, these scheduling patterns apply to both frontend and backend TypeScript projects using Effect-TS. You can utilize the provided templates for health checks and data synchronization across your application architecture.

How do I combine multiple schedules for complex retry and polling scenarios in Effect-TS?

Combine schedules in Effect-TS by composing Schedule primitives to create complex retry and polling behaviors. This Skill provides examples of merging fixed intervals with exponential backoff for predictable timing and observability.