Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

effect-ts

БесплатноЗапускает вложенные скриптыНе проверен

Use for nontrivial Effect 4 work including services/layers, typed errors, Schema/JsonSchema, Config, runtime/concurrency, @effect/vitest, effect/ai and…

PaulRBergот PaulRBerg★ 109 звёзд на GitHub

Об этом скилле

Effect 4

Apply Effect 4 semantics from project-local architecture, the narrowest relevant reference, and source matching the target's installed packages.

Workflow

Do not activate this workflow merely because a file imports effect. For nontrivial Effect work:

  1. Resolve the target package or workspace and its exact installed effect and relevant @effect/* versions. If effect is not 4.x, stop because this skill does not apply. For 3.x, point the user to the v3 skill: npx skills add PaulRBerg/agent-skills#shelved --skill effect-ts-v3.
  2. Confirm lockstep versions: every @effect/* package must match the installed effect version exactly. Report a mismatch instead of coding around it.
  3. Inspect neighboring services, layers, errors, schemas, runtime boundaries, and tests. Local conventions decide organization. Installed package evidence decides API facts.
  4. Read references/critical-rules.md, then only the task-specific references below.
  5. Verify every uncertain import, signature, or behavior against the package installation visible to the target workspace before editing. Do not port v3 names from memory. Many were renamed or removed.
  6. Implement the smallest pattern consistent with the project and run the narrowest test or typecheck covering the changed semantics.

Evidence Order

Use the target workspace's manifest and lockfile to identify versions. Prefer, in order:

  1. the installed package's src/, README, tests, and changelog.
  2. its emitted declarations when source is not shipped.
  3. the matching official package artifact or source tag.

For monorepo source, tests, or cross-package search, run scripts/effect-source.sh. It keeps a cached clone of Effect-TS/effect checked out at the newest release, fetching at most once per 24 hours and otherwise reusing the cache, and prints path= and release=. When release differs from the installed effect version, read the matching tag without checking it out: git -C <path> grep <pattern> effect@<version> -- packages/ or git -C <path> show effect@<version>:<file>. Never edit the cache.

Do not install or update dependencies solely to obtain documentation. Do not trust v3 examples or source that does not match the target's installed version. If exact behavior cannot be verified, stop rather than guessing.

Former @effect/platform, @effect/rpc, @effect/cli, @effect/cluster, and related modules now ship inside effect under subpaths such as effect/http, effect/http-api, effect/rpc, effect/cli, effect/ai, effect/sql, effect/schema, effect/reactivity, and effect/workflow. Check the installed package.json exports for the exact set. These modules are documented @stability unstable and may break in minor releases. There are no effect/unstable/* compatibility paths. Separate packages remain for platforms, drivers, and providers: @effect/platform-*, @effect/sql-*, @effect/ai-*, @effect/atom-*, @effect/opentelemetry, and @effect/vitest. Their modules are also @stability unstable.

From 4.0.2, every module and directly importable export declares @stability. Check the tag before you depend on an API. stable follows strict semver. experimental modules, such as effect/graphql and parts of effect/net, may break in patch releases. Some root modules are also unstable, such as Arbitrary, FileSystem, and Path.

From 4.1.0, the effect/crypto modules (SecureRandom, Digest, ...) replace root Crypto. Runtime *Services layers no longer include them. Provide a platform layer such as NodeCrypto.layer. From 4.1.5, store passwords with the effect/crypto/Password service instead of a hand-written hash. Choose its algorithm explicitly, such as Kdf.argon2id() with a Kdf layer that provides it. After a successful verify, check needsRehash.

Reference Router

Task Reference
Services, Layers, Context.Service, fn references/services-layers.md
Config providers and secrets references/config.md
Schema, JSON Schema, encoded errors/models references/schema-jsonschema.md
@effect/vitest, clocks, fibers, retries references/testing.md
resources, scheduling, refs, concurrency references/runtime.md
streams and backpressure references/streams.md
pattern matching and tagged unions references/pattern-matching.md
effect/ai and @effect/ai-* references/ai.md
effect/sql and @effect/sql-* references/sql.md
Next.js / @prb/effect-next references/next-js.md
Effect A
Полный SKILL.md на GitHub

Установить effect-ts в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/ai.mdreferences/config.mdreferences/critical-rules.mdreferences/effect-atom.mdreferences/next-js.mdreferences/option-null.mdreferences/pattern-matching.mdreferences/runtime.mdreferences/schema-jsonschema.mdreferences/services-layers.mdreferences/sql.mdreferences/streams.mdreferences/testing.mdscripts/effect-source.sh

FAQ

Что делает скилл effect-ts?

Use for nontrivial Effect 4 work including services/layers, typed errors, Schema/JsonSchema, Config, runtime/concurrency, @effect/vitest, effect/ai and @effect/ai-*, effect/sql and @effect/sql-*, Effect Atom (@effect/atom-*), or @prb/effect-next.

Как установить скилл effect-ts?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл effect-ts запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить effect-ts с