effect-v4

Effect v4 implementation and migration guidance for current Effect APIs. Use when writing or reviewing code that depends on Effect v4, migrating v3-style APIs (Context.Tag, Effect.Service, FiberRef, catchAll/catchSome, fork/forkDaemon), debugging service/layer wiring, or validating compatibility with effect-smol/effect@4.0.0-beta.x.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "effect-v4" with this command: npx skills add agustif/effect-v4-skill/agustif-effect-v4-skill-effect-v4

Effect v4

Overview

Use this skill to produce Effect code and reviews that match the current v4 APIs in effect-smol, not legacy v3 patterns.

Treat migration docs as intent and packages/effect/src + tests as ground truth.

Workflow

  1. Classify the task.
  • New implementation
  • v3-to-v4 migration
  • Code review / compatibility audit
  1. Load only the needed reference file.
  • Migration mapping: references/migration-map.md
  • Current idioms with evidence: references/idioms-and-evidence.md
  • Deterministic audit procedure: references/review-checklist.md
  1. Apply v4-first rules.
  • Prefer ServiceMap.Service / ServiceMap.Reference over Context.*, Effect.Tag, Effect.Service, FiberRef.
  • Prefer Effect.catch, catchCause, catchFilter, catchReason, catchReasons.
  • Prefer Effect.forkChild / forkDetach and explicit Fiber.join / Fiber.await.
  • Prefer Scope.provide over Scope.extend.
  • Use Yieldable correctly: yield* is fine; non-Effect combinator inputs need .asEffect().
  1. Validate with local evidence.
  • Confirm symbols exist in packages/effect/src/*.ts.
  • Confirm behavior with nearby tests in packages/effect/test.
  • Do not claim semantics not evidenced by code/tests.

Response Contract

When this skill is used, produce:

  1. Exact API replacements (old -> new) used.
  2. Behavior-impact notes (memoization, keep-alive, Cause flattening, equality).
  3. Concrete file references used as evidence.
  4. Known limitations or unresolved migrations.

Guardrails

  • Do not reintroduce v3 APIs in generated code.
  • Do not claim stable semantics for effect/unstable/* modules.
  • Do not infer runtime guarantees without source/test confirmation.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

effect-v4

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated