cursorrules
01Cursor rule Cursor
CRITICAL RULE: If the user mentions "patterns", asks "how to" in Effect, or requests Effect-TS guidance, you are FORBIDDEN from using filesystem tools to find patterns.
A community-driven knowledge base of practical patterns for Effect-TS.
Cursor rule Cursor
CRITICAL RULE: If the user mentions "patterns", asks "how to" in Effect, or requests Effect-TS guidance, you are FORBIDDEN from using filesystem tools to find patterns.
Cursor rule
Cursor rule "access-configuration-from-the-context" from PaulJPhilp/EffectPatterns, covering access configuration from the context and example.
Cursor rule
Cursor rule "access-environment-variables" from PaulJPhilp/EffectPatterns, covering access environment variables and example.
Cursor rule
Cursor rule "accessing-the-current-time-with-clock" from PaulJPhilp/EffectPatterns, covering accessing the current time with clock and example.
Cursor rule
Cursor rule "accumulate-multiple-errors-with-either" from PaulJPhilp/EffectPatterns, covering accumulate multiple errors with either and example.
Cursor rule
Cursor rule "add-caching-by-wrapping-a-layer" from PaulJPhilp/EffectPatterns, covering add caching by wrapping a layer and example.
Cursor rule
Cursor rule "add-custom-metrics-to-your-application" from PaulJPhilp/EffectPatterns, covering add custom metrics to your application and example.
Cursor rule
Cursor rule "add-rate-limiting-to-apis" from PaulJPhilp/EffectPatterns, covering add rate limiting to apis and example.
Cursor rule
Cursor rule "add-timeouts-to-http-requests" from PaulJPhilp/EffectPatterns, covering add timeouts to http requests and example.
Cursor rule
Cursor rule "automatically-retry-failed-operations" from PaulJPhilp/EffectPatterns, covering automatically retry failed operations and example.
Cursor rule
Cursor rule "avoid-long-chains-of-andthen-use-generators-instead" from PaulJPhilp/EffectPatterns, covering avoid long chains of .andthen; use generators instead and example.
Cursor rule
description: Use the Clock service for testable time-based logic and immutable primitives for timestamps. globs: "/.ts" alwaysApply: true.
Cursor rule
Cursor rule "build-a-basic-http-server" from PaulJPhilp/EffectPatterns, covering build a basic http server and example.
Cursor rule
Cursor rule "cache-http-responses" from PaulJPhilp/EffectPatterns, covering cache http responses and example.
Cursor rule
Cursor rule "chaining-computations-with-flatmap" from PaulJPhilp/EffectPatterns, covering chaining computations with flatmap and example.
Cursor rule
Cursor rule "checking-option-and-either-cases" from PaulJPhilp/EffectPatterns, covering checking option and either cases and example.
Cursor rule
Cursor rule "collect-all-results-into-a-list" from PaulJPhilp/EffectPatterns, covering collect all results into a list and example.
Cursor rule
Cursor rule "combining-values-with-zip" from PaulJPhilp/EffectPatterns, covering combining values with zip and example.
Cursor rule
Cursor rule "comparing-data-by-value-with-datastruct" from PaulJPhilp/EffectPatterns, covering comparing data by value with data.struct and example.
Cursor rule
Cursor rule "comparing-data-by-value-with-structural-equality" from PaulJPhilp/EffectPatterns, covering comparing data by value with structural equality and example.
Cursor rule
Cursor rule "compose-api-middleware" from PaulJPhilp/EffectPatterns, covering compose api middleware and example.
Cursor rule
Cursor rule "compose-resource-lifecycles-with-layermerge" from PaulJPhilp/EffectPatterns, covering compose resource lifecycles with layer.merge and example.
Cursor rule
description: Use Deferred for one-time async coordination between fibers, enabling multiple consumers to wait for a single producer's result. globs: "/.ts" alwaysApply: true.
Cursor rule
description: Use Semaphore to limit concurrent access to resources, preventing overload and enabling fair resource distribution. globs: "/.ts" alwaysApply: true.