jpskill.com
🛠️ 開発・MCP コミュニティ

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.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o effect-v4.zip https://jpskill.com/download/10599.zip && unzip -o effect-v4.zip && rm effect-v4.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10599.zip -OutFile "$d\effect-v4.zip"; Expand-Archive "$d\effect-v4.zip" -DestinationPath $d -Force; ri "$d\effect-v4.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して effect-v4.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → effect-v4 フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

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.