effect
Skill1 starsChanged 3 months agoMITView on GitHub
Build, review, debug, migrate, or plan Effect v4 beta TypeScript code with current docs. Use for effect@beta, Effect, Effect.gen, Context.Service, Context.Reference, Layer, ManagedRuntime, Config, ConfigProvider, Scope, Fiber, Stream, Queue, Result, Cause, Schema v4, Schema.Class, Schema.TaggedErrorClass, Schema.decodeUnknown, Schema.encode, unstable modules, effect/unstable/http, platform packages, @effect/vitest, and Effect v3 to v4 migrations.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- oberemokis/skillstheir own version, first seen Nov 29, 2026
- Mark-Life/telegram-claude-codextheir own version, first seen Nov 29, 2026
- fedeya/wisp-aitheir own version, first seen Nov 29, 2026
- timmo001/notestheir own version, first seen Nov 26, 2026
- timmo001/contexttheir own version, first seen Nov 24, 2026
- supabase/clitheir own version, first seen Nov 17, 2026
Used with
Projects with it also use vercel-composition-patterns, vercel-react-best-practices and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillvercel-composition-patterns
Also in 3 projects that use this
VercelSkillvercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Also in 4 projects that use this
Microsoft AzureSkillhumanizer
Tone enforcement patterns for external-facing community responses
Also in 4 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
GoogleSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 projects that use this
- +1 more from google
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- XiaomiMiMo/MiMo-Code★ 14ksame name
- supabase/cli★ 2.5ksame name
- rjdellecese/confect★ 391same name
- kitlangton/skills★ 326same name
- akitaonrails/my-skills★ 324same name
- mezotv/notra★ 256same name
- usenotra/notra★ 256same name
- jpoehnelt/skills★ 23same name
- getsentry/skillet★ 13same name
- Mark-Life/telegram-claude-codex★ 12same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- tanstack-chartsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when work touches Effect v4 beta usage, service/layer architecture, runtime entrypoints, Schema v4, platform modules, …
- Distinctive: line 26
Prefer explicit service and layer composition over hidden globals.
- Distinctive: line 27
Keep framework/process edges thin.
- Very specific: line 28
Treat effect/unstable/* APIs as beta-plus-unstable.
- Very specific: line 33
Use Context.Service for v4 services.
- Very specific: line 34
Prefer yield* Service inside Effect.gen for service access.
- Very specific: line 37
Use ManagedRuntime.make(layer) for repeated JS entrypoint runs against shared services, and dispose it when done.
- Very specific: line 38
Use Effect.runPromise, runPromiseExit, runFork, or their With variants only at application edges.
- Distinctive: line 40
Prefer typed failures and tagged error classes over throwing.
- Very specific: line 41
Keep Schema v4 encode/decode direction visible at boundaries.
- Distinctive: line 46
Prefer the repo's existing checks.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Effect
Use this skill when work touches Effect v4 beta usage, service/layer architecture, runtime entrypoints, Schema v4, platform modules, testing, or migrations from Effect v3.
Workflow
- Inspect the local Effect surface before changing code:
- Package versions for
effect,@effect/*, TypeScript, runtime platform packages, test libraries, and adapters. - Imports: root
effect, direct modules likeeffect/Effect,effect/Schema,effect/unstable/*, platform packages, or old v3 packages. - Runtime boundary: CLI, HTTP handler, worker, server, browser, test, library, or framework-managed entrypoint.
- Dependency shape: services, layers, config providers, platform layers, managed runtimes, and scope ownership.
- Package versions for
- Clone
Effect-TS/effect-smolinto.temp/effect-smol(if missing) and always browse that checkout when referencing Effect v4 code — APIs, migration guides, package READMEs, and tests. Do not rely on memory or stale docs alone. Details: source-map.md. - Refresh current docs whenever the task asks for latest behavior or the local beta version is different. Start from source-map.md.
- For install/version, core Effect usage, generator style, typed errors, async interop, config, and runtime boundaries, use setup-core.md.
- For services,
Context.Service, references, layers, memoization, scopes, andManagedRuntime, use services-layers-runtime.md. - For Schema v4 shapes, validation, classes, tagged errors, transformations, codecs, serialization, and JSON Schema generation, use schema-v4.md.
- For
@effect/vitest(runners, TestClock, layers, flaky/live, good/bad patterns), use vitest-testing.md. - For v3 to v4 migration, unstable modules, and HTTP/platform packages, use migration-platform-testing.md.
- Implement in the existing project style:
- Match the installed beta version and local import style.
- Prefer explicit service and layer composition over hidden globals.
- Keep framework/process edges thin; push business logic into Effects, services, and layers.
- Treat
effect/unstable/*APIs as beta-plus-unstable. Check installed declarations before using or recommending them.
Effect Judgment
- Effect v4 is beta. Be honest about API drift and verify local declarations before making broad changes.
- Use
Context.Servicefor v4 services. Do not introduce v3Context.Tag,Context.GenericTag,Effect.Tag, orEffect.Servicepatterns in v4 code. - Prefer
yield* ServiceinsideEffect.genfor service access. UseService.useanduseSynconly for small, local one-liners. - Define layers explicitly with
Layer.succeed,Layer.effect, orLayer.effectDiscard; wire dependencies withLayer.provideandLayer.provideMerge. - Compose and provide layers once when possible. Use
Layer.freshorEffect.provide(..., { local: true })only for intentional isolation. - Use
ManagedRuntime.make(layer)for repeated JS entrypoint runs against shared services, and dispose it when done. - Use
Effect.runPromise,runPromiseExit,runFork, or theirWithvariants only at application edges. - Inside
Effect.gen,yield*works with Yieldable values. Outside generators, convert non-Effect Yieldables explicitly or use module functions such asRef.get,Deferred.await, andFiber.join. - Prefer typed failures and tagged error classes over throwing. Use defects only for unrecoverable programmer errors.
- Keep Schema v4 encode/decode direction visible at boundaries; do not assume decoded
Typeand encoded input are the same. - For tests: install v4
@effect/vitest@beta(→4.0.0-beta.x; never bare/latest→0.30.xv3). Preferit.effect(already scoped + TestClock/TestConsole). ImportTestClockfromeffect/testing. Do not useit.scoped/it.scopedLivefor Effect Scope. Treatlayer()as shared across tests unless youEffect.provideper test.
Verification
Prefer the repo's existing checks. For meaningful Effect v4 work, include the relevant subset:
- Typecheck for
Effect<A, E, R>requirements, service availability, layer composition, Schema encoded/type sides, and beta API names. - Focused tests with
@effect/vitest@beta(it.effect, TestClock, scoped resources, typed Exit/Result failures). Use per-testEffect.providewhen isolation matters; treat sharedlayer()as suite-scoped. - Runtime smoke at JS/framework edges where Effects are run or managed runtimes are disposed.
- Schema decode/encode tests for valid input, invalid input, defaults, excess properties, transformations, classes, tagged errors, and generated JSON Schema.
- Migration scans for v3-only APIs, old package imports, old catch/fork names, old runtime patterns,
FiberRef,Either, and removed Schema APIs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

