Skip to content
Back to skills

Effect Lifecycle

ASecurity

Use when designing or reviewing Effect-owned async resources, fibers, typed errors, and disposal.

  • 19 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agents

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add wsauret/flywheel --skill effect-lifecycle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Effect Lifecycle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Effect Lifecycle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wsauret-effect-lifecycle/badge)](https://www.skillsdirectory.com/skills/wsauret-effect-lifecycle)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Use when designing or reviewing Effect-owned async resources, fibers, typed errors, and disposal.
---

# Effect Lifecycle

Input: the Effect-owned resource, acquisition point, consumers, cancellation sources, typed errors, and shutdown boundary.

Assign one lifecycle owner and separate resource lifetime from UI-readable state. Acquire with a scoped Effect primitive and pair release in the same owner. Keep child work in structured concurrency. Map external failures once into exhaustive domain errors. Define Promise and callback bridges with cancellation in both directions. Order shutdown as: stop admission; interrupt and await children; flush required durable work; dispose projections and roots; close logging. Test normal completion, interruption, acquisition failure, and repeated disposal.

Stop when every resource has one owner and every exit path reaches an awaited release. Return ownership map, acquisition and release path, error model, shutdown order, and verification evidence or review findings. On failure, report the unowned resource, uninterruptible bridge, or unverifiable shutdown edge. Never add parallel state ownership or fire-and-forget disposal.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.