effect-ts
Skill64 starsChanged 4 months agoMITView on GitHub
Effect-TS expert — write, debug, refactor, and explain code using the Effect ecosystem (effect, @effect/platform, @effect/rpc, @effect/cli, @effect/schema, @effect/cluster). Use this skill whenever the user works with Effect-TS code, mentions Effect services/layers/fibers/streams/schedules, asks about Effect error handling or dependency injection, wants to migrate code to Effect, or asks questions like 'how do I do X in Effect'. Also trigger when you see Effect imports in code being discussed, or when the user mentions Effect patterns like generators, pipe, Context.Tag, Layer.provide, or Schema.Class. This skill has a semantic search index over the full Effect documentation — use it to ground answers in official docs rather than guessing.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- Scrapybara/agent-skillstheir own version, first seen Nov 8, 2026
- PaulRBerg/dot-agentstheir own version, first seen Nov 6, 2026
- vibevalleyhq/vibevalleytheir own version, first seen Oct 25, 2026
- PaulRBerg/agent-skillstheir own version, first seen Oct 24, 2026
- LodyAI/Lodytheir own version, first seen Oct 17, 2026
- c15t/c15ttheir own version, first seen Oct 17, 2026
Used with
Projects with it also use shadcn, web-design-guidelines and 1 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.
DatabricksSkillshadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
Also in 3 projects that use this
VercelSkillweb-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
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
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- c15t/c15t★ 2ksame name
- LodyAI/Lody★ 1.7ksame name
- pedronauck/skills★ 649same name
- arcboxlabs/linkcode★ 147same name
- Effect-TS/skills★ 110same name
- PaulRBerg/agent-skills★ 104same name
- joelhooks/effectts-skills★ 43same name
- vibevalleyhq/vibevalley★ 12same name
- Kastalien-Research/thoughtbox-dot-claude★ 9same name
- PaulRBerg/dot-agents★ 6same 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 repository102 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- assumptionsSkill
- capture-learningSkill
- Codex-opus-4-6-promptingSkill
- Codex-promptSkill
- mcp-code-modeSkill
- deploy-team-hubSkill
- diagramSkill
- distillSkill
- escalateSkill
- evalSkill
- experimentSkill
- hddSkill
- hub-auditSkill
- hub-collabSkill
- implementSkill
- knowledgeSkill
- peer-notebook-delivery-guardSkill
- research-taskSkill
- session-reviewSkill
- source-command-hdd-decideSkill
- source-command-hdd-hddSkill
- source-command-hdd-researchSkill
- source-command-hdd-stage-adrSkill
- source-command-hdd-validateSkill
- statusSkill
- supabaseSkill
- synthesizeSkill
- tasteSkill
- teamSkill
- test-suiteSkill
- theseus-protocolSkill
- thoughtbox:debugSkill
- thoughtbox:decisionSkill
- thoughtbox:evolutionSkill
- thoughtbox:knowledge-querySkill
- thoughtbox:onboardSkill
- thoughtbox:refactorSkill
- thoughtbox:researchSkill
- thoughtbox:session-reviewSkill
- thoughtbox-teamSkill
- ulc-loopSkill
- ulysses-protocolSkill
- workflow-brainstormingSkill
- workflow-ideationSkill
- workflow-reflectionSkill
- workflow-revisionSkill
- workflows-compoundSkill
- workflowSkill
- workflows-planSkill
- workflows-reviewSkill
- workflows-workSkill
- workflow-tournamentSkill
- assumptionsSkill
- capture-learningSkill
- claude-opus-4-6-promptingSkill
- claude-promptSkill
- mcp-code-modeSkill
- deploy-team-hubSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When the user asks about Effect-TS, search the documentation index to ground your answer:
- Distinctive: line 18
Run multiple searches if the question spans several topics.
- Distinctive: line 35
When in doubt, search. The index is fast and the results are high quality.
“Common” is measured: kept by at least 6 in 10 of the 18 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-TS Expert
You are an Effect-TS expert. Use the semantic search index to find relevant documentation before answering questions about Effect.
How to Use the Search Index
When the user asks about Effect-TS, search the documentation index to ground your answer:
node .Codex/skills/effect-ts/scripts/search.mjs "<query>" --top-k 5Run multiple searches if the question spans several topics. For example, if someone asks "how do I use layers with streams", search for "Layer" and "Stream" separately.
The search returns the most relevant sections of the official Effect documentation, ranked by semantic similarity. Use these results as your primary source of truth.
When to Search vs. When to Answer Directly
Search first when:
- The user asks how to use a specific Effect module or API
- You're unsure about the exact API signature or behavior
- The question involves less common features (Batching, Runtime, Platform, RPC, Cluster)
- You need code examples from the official docs
Answer directly (without searching) when:
- The question is about basic Effect concepts you're confident about (Effect.gen, pipe, basic error types)
- You're reviewing/debugging code that's already in front of you
- The user asks a conceptual question ("what's the difference between Effect and Promise")
When in doubt, search. The index is fast and the results are high quality.
Core Effect Concepts Quick Reference
These are the foundational patterns. For anything beyond this, search the index.
The Effect Type
Effect<Success, Error, Requirements>Success— what the effect produces on successError— typed error channel (useneverfor infallible effects)Requirements— services this effect needs (useneverfor no requirements)
Creating Effects
// From sync values
Effect.succeed(42)
Effect.fail(new MyError())
// From async
Effect.tryPromise({ try: () => fetch(url), catch: () => new FetchError() })
// Generators (preferred for sequential composition)
Effect.gen(function* () {
const a = yield* getA()
const b = yield* getB(a)
return a + b
})Services and Layers
// Define a service
class MyService extends Context.Tag("MyService")<
MyService,
{ readonly doThing: (x: string) => Effect.Effect<number, MyError> }
>() {}
// Implement via Layer
const MyServiceLive = Layer.effect(
MyService,
Effect.gen(function* () {
const dep = yield* SomeDependency
return { doThing: (x) => Effect.succeed(x.length) }
})
)
// Use in a program
const program = Effect.gen(function* () {
const svc = yield* MyService
return yield* svc.doThing("hello")
})
// Provide layers and run
program.pipe(Effect.provide(MyServiceLive), Effect.runPromise)Error Handling
// Typed errors with Data.TaggedError
class NotFound extends Data.TaggedError("NotFound")<{ id: string }> {}
// Catch specific errors
effect.pipe(
Effect.catchTag("NotFound", (e) => Effect.succeed(fallback))
)
// Catch all errors
effect.pipe(
Effect.catchAll((e) => Effect.succeed(fallback))
)Schema
import { Schema } from "effect"
class User extends Schema.Class<User>("User")({
id: Schema.Number,
name: Schema.String,
email: Schema.String,
}) {}
const decode = Schema.decodeUnknown(User)
const encode = Schema.encode(User)Important Guidelines
- Prefer
Effect.genover pipe chains for sequential logic — it's more readable and the Effect team recommends it. - Services over global state — Effect's dependency injection via
Context.TagandLayeris the idiomatic way to manage dependencies. Don't use module-level singletons. - Typed errors are a feature — Effect's error channel isn't just for catching errors, it's for making error handling part of the type system. Use
Data.TaggedErrorfor domain errors. - Layer composition happens at the edge — individual services declare their dependencies in their Layer type signature. The composition (which service gets which dependency) happens at the program entry point.
- Effect vs Promise — don't mix them carelessly. Use
Effect.tryPromiseto wrap promise-based APIs at system boundaries, then stay in Effect-land. - The ecosystem is modular —
effectis the core.@effect/platformadds HTTP, filesystem, etc.@effect/schemahandles data validation.@effect/rpcdoes RPC. Search the index for specific package docs.
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.

