Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计通过

effect-v4效果 v4

Agent Skill

effect-v4 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

470

周安装

20

GitHub Stars

5

下载量

165
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:effect-v4(效果 v4)
来源仓库:https://github.com/teeverc/effect-ts
仓库路径:skills/effect-v4
安装命令:
npx skills add https://github.com/teeverc/effect-ts --skill effect-v4
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/teeverc/effect-ts --skill effect-v4

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装方式:github,安装命令:npx skills add https://github.com/teeverc/effect-ts --skill effect-v4。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • effect-v4 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Effect v4 (Beta) - Development & Migration

Overview

Comprehensive guidance for Effect v4 development and migration from v3. This skill provides:

  1. v4 Core Patterns - Guide to building new v4 code with Context, layers, generators, schema codecs
  2. v3 → v4 Migration - Step-by-step migration guidance with API renames, behavior changes, and before/after examples

Status: Effect v4 is beta software under active development in effect-smol. The core programming model is stable, but effect/unstable/* modules may receive breaking changes in minor releases. For production use, review official v4 beta guidance and stability notes.

All bundled migration guides are sourced from the official effect-smol migration documentation.

Upstream Changes Since February 22, 2026

The upstream beta changed substantially after this skill was last refreshed. Treat older examples that mention ServiceMap or Schema.makeUnsafe as stale. Current guidance should prefer:

  • Context.Service / Context.Reference / Context<R> instead of ServiceMap.*
  • Schema.make(...) instead of Schema.makeUnsafe(...)
  • Schema.makeEffect(...) when constructor-style validation should fail in the error channel instead of throwing

Quick Triage

Building v4 Code

  • Core Effect types and combinators (Result, Option, Chunk, Duration): references/core-usage.md
  • Broader data types (DateTime, BigDecimal, HashSet, Redacted): references/data-types-advanced.md
  • Equality, Order, Hash, Equivalence semantics: references/behavior-traits.md
  • Expected errors vs defects, catch* combinators: references/error-management.md
  • Sandboxing, Cause inspection, catchCause: references/error-tooling.md
  • Exit and Cause structure, result inspection: references/exit-cause.md
  • Services and dependency injection (Context, layers): references/dependency-management.md
  • Layer construction, memoization, {local: true}: references/layer-patterns.md
  • Resource lifecycles, Scope, acquireRelease: references/resource-management.md
  • Running effects, Runtime removal, run boundaries: references/runtime-execution.md
  • Fibers, forkChild, forkDetach, fork options: references/concurrency.md
  • References (replaces FiberRef), Context.Reference: references/concurrency-advanced.md
  • Schedules, repetition, spaced/fixed/exponential: references/scheduling.md
  • Retries, backoff, schedule composition: references/scheduling-retry.md
  • Streams, queues, PubSub, STM: references/streams-queues-stm.md
  • HTTP clients and external APIs: references/http-client.md
  • HTTP servers and API definitions: references/http-server.md
  • Request batching and data loaders: references/request-resolver.md
  • Caching and memoization: references/caching.md
  • Configuration and config providers: references/configuration.md
  • Advanced config, redaction: references/configuration-advanced.md
  • Logs, metrics, tracing: references/observability.md
  • Logger/metrics/tracing setups and exporters: references/observability-examples.md
  • Wiring log/metric/trace layers: references/observability-wiring.md
  • Sequential workflows and yieldable patterns: references/generators.md
  • Schema validation, parsing, encoding (codecs): references/schema.md
  • Stream consumption with reducers (Sink): references/sink.md
  • Deterministic time in tests (TestClock): references/testing.md
  • Broader testing services and test layers: references/testing-stack.md
  • Command, FileSystem, Path, Terminal, KeyValueStore: references/platform-primitives.md
  • LLM workflows, planning, tool use via Effect AI: references/ai.md
  • Bundle-size constrained runtimes (Micro): references/micro.md
  • Migrating from Promise/async: references/migration-async.md
  • Common pitfalls and runtime errors: references/troubleshooting.md
  • Docs-to-guide map from llms.txt: references/docs-index.md

Migrating from v3

  • Full migration overview, quick-reference table, ordered checklist: references/migration.md
  • Runtime and run functions: references/migration/runtime.md
  • Error handling and error channel changes: references/migration/error-handling.md
  • Cause flattening and new structure: references/migration/cause.md
  • Services and environment changes (Context.Tag / Effect.ServiceContext.Service): references/migration/services.md
  • Fiber references and context locals: references/migration/fiberref.md
  • Forking and fiber APIs (fork → forkChild, etc.): references/migration/forking.md
  • Fiber keep-alive behavior changes: references/migration/fiber-keep-alive.md
  • Scope and resource lifecycle patterns: references/migration/scope.md
  • Layer memoization and Layer.fresh: references/migration/layer-memoization.md
  • Generator and Effect.gen changes: references/migration/generators.md
  • Yieldable protocol (non-Effect yieldables): references/migration/yieldable.md
  • Equality and structural comparison: references/migration/equality.md

Workflow

  1. Ask which v3 APIs or files are in scope and which failures or regressions to avoid.
  2. Open only the relevant migration notes from references/migration/.
  3. Produce a mapping of v3 to v4 APIs, including before/after code snippets.
  4. Call out behavior changes, edge cases, and test updates needed.
  5. Provide a short, ordered migration checklist tailored to the code in question.

Source of Truth

  • Start with the bundled references in this skill.
  • If the question depends on newer beta behavior, check the official docs and effect-smol changelogs next.
  • Only inspect effect-smol source internals when the docs/changelogs are ambiguous, the user is asking about internals, or the behavior appears undocumented.
  • Do not clone or read the repo source by default when the bundled references or official docs already answer the question.

Example Requests

  • "Migrate this v3 Runtime usage to v4 and explain the new run functions."
  • "Update our v3 error handling to v4 and show before/after examples."
  • "We use FiberRefs and forking; what needs to change in v4?"
  • "Explain the generator/yieldable changes and update this Effect.gen usage."
  • "Do we need to change any Scope or Layer memoization behavior in v4?"

References - v4 Core

Comprehensive v4-specific guides (all updated for v4 APIs, no deprecated patterns):

  • references/core-usage.md - Core Effect types and combinators (Result, Option, Chunk)
  • references/data-types-advanced.md - DateTime, BigDecimal, HashSet, Redacted
  • references/behavior-traits.md - Structural equality by default, Equal, Order, Hash
  • references/error-management.md - catch* renames, catchReason, catchEager
  • references/error-tooling.md - catchCause, sandboxing, Cause inspection
  • references/exit-cause.md - Flattened Cause structure, Reason iteration
  • references/dependency-management.md - Context, services, layers
  • references/layer-patterns.md - Cross-provide memoization, {local: true}
  • references/resource-management.md - Scope.provide (was Scope.extend)
  • references/runtime-execution.md - Runtime<R> removed, run* at the edge
  • references/concurrency.md - forkChild/forkDetach, fork options, keep-alive
  • references/concurrency-advanced.md - Context.Reference (was FiberRef)
  • references/scheduling.md - Schedules and repetition
  • references/scheduling-retry.md - Retries and backoff
  • references/streams-queues-stm.md - Streams, queues, PubSub, STM
  • references/http-client.md - HTTP clients
  • references/http-server.md - HTTP servers
  • references/request-resolver.md - Request batching
  • references/caching.md - Caching and memoization
  • references/configuration.md - Configuration
  • references/configuration-advanced.md - Advanced config, redaction
  • references/observability.md - Logs, metrics, tracing
  • references/observability-examples.md - Concrete logger/metrics/tracing setups
  • references/observability-wiring.md - Wiring observability layers
  • references/generators.md - Effect.gen and yieldable patterns
  • references/schema.md - Schema codecs plus Schema.make / Schema.makeEffect
  • references/sink.md - Stream consumption with Sink
  • references/testing.md - TestClock and deterministic time
  • references/testing-stack.md - Test layer composition
  • references/platform-primitives.md - Command, FileSystem, Path, Terminal
  • references/ai.md - LLM workflows via Effect AI
  • references/micro.md - Bundle-size constrained runtimes
  • references/migration-async.md - Migrating from Promise/async
  • references/troubleshooting.md - Common pitfalls
  • references/versioning.md - Version guidance
  • references/docs-index.md - Docs-to-guide routing map

References - v3 → v4 Migration

  • references/migration.md - Start here: full overview, quick-reference table, ordered checklist
  • references/migration/cause.md - Cause flattening and structure
  • references/migration/equality.md - Equality and comparison changes
  • references/migration/error-handling.md - Error channel and catch* renames
  • references/migration/fiber-keep-alive.md - Fiber lifecycle changes
  • references/migration/fiberref.md - FiberRef and References changes
  • references/migration/forking.md - Fork, forkChild, forkDetach changes
  • references/migration/generators.md - Effect.gen pattern updates
  • references/migration/layer-memoization.md - Layer.fresh and memoization
  • references/migration/runtime.md - Runtime and run* functions
  • references/migration/scope.md - Scope and resource lifecycle
  • references/migration/services.md - Current Context.Service API and older beta ServiceMap rename fallout
  • references/migration/yieldable.md - Yieldable protocol changes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.17%
按下载量换算61

Claude

25.74%
按下载量换算42

Cursor

18.94%
按下载量换算31

Gemini CLI

9.15%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/teeverc/effect-ts --skill effect-v4 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills