Build, review, or migrate TypeScript applications using Effect v3 or v4. Use whenever code imports from effect or @effect/*, integrates drizzle-orm/effect-postgres with @effect/sql-pg, or works with Effect.gen, typed errors, Result or Either, Context services, Layer dependency injection, Schema validation, fibers, concurrency, Scope, or acquireRelease. Resolve the installed Effect major before suggesting APIs so v3 and v4 syntax are never mixed.
Ships in typescript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Inspect the owning package and existing implementation first. Reuse established project types, helpers, errors, lifecycle behavior, and test utilities. The patterns below are options, not an implementation checklist. Introduce one only when the current task requires it. Adopting Effect is not a mandate to maximize Effect usage.
Context.Service only for a real injected dependency. Add a Layer only
when constructing that dependency or managing a resource lifetime.Effect v3 and v4 share the same programming model but differ in important API names and shapes. Resolve the project's version before writing or reviewing code.
package.json that owns the target source file.effect dependency and any @effect/* packages. Use the lockfile when a workspace range, alias, prerelease tag, or indirect dependency makes the resolved major unclear.references/v3/ and major version 4 or later to references/v4/.The installed package and its declarations are authoritative. This matters especially for prereleases, whose APIs can change between releases.
After resolving the major, read the matching topic guide:
| Topic | Effect v3 | Effect v4+ |
|---|---|---|
| Core effects, generators, fibers, concurrency | v3 core | v4 core |
| Typed errors, recovery, retry, timeout | v3 errors | v4 errors |
| Services, dependency injection, layers | v3 services | v4 services |
| Schema, decoding, encoding, validation | v3 Schema | v4 Schema |
| Scope and resource safety | v3 resources | v4 resources |
| Drizzle ORM with Effect PostgreSQL | Verify the installed driver supports v3 | v4 Drizzle PostgreSQL |
For an upgrade from v3 to v4, first read the migration guide, then load the affected v4 topic guides.
Effect<A, E, R> lazy and run it only at application boundaries.E; reserve defects for broken invariants and unrecoverable faults.Effect.gen for sequential workflows and pipe for focused transformations.effect/unstable/* as allowed to break in minor releases; verify its API against the installed package.references/v3-to-v4.md (opens in a new tab)references/v3/core.md (opens in a new tab)references/v3/error-handling.md (opens in a new tab)references/v3/resources.md (opens in a new tab)references/v3/schema.md (opens in a new tab)references/v3/services.md (opens in a new tab)references/v4/core.md (opens in a new tab)references/v4/drizzle-effect-postgres.md (opens in a new tab)references/v4/error-handling.md (opens in a new tab)references/v4/resources.md (opens in a new tab)references/v4/schema.md (opens in a new tab)references/v4/services.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
No slash command · from typescript
npx claudepluginhub martinffx/typescript-skills --plugin typescript8 skills in this plugin
/typescript-api-designREST API design patterns. Use when designing endpoints, error responses, pagination, versioning, or API structure. Framework-agnostic principles for building consistent, maintainable APIs./typescript-build-toolsTypeScript project tooling with Bun or pnpm, TypeScript 7, Vitest, Biome or Oxc (Oxlint and Oxfmt), and Turborepo. Use when setting up package.json scripts, running builds, typechecking, configuring tests, linting, formatting, or orchestrating monorepo development./typescript-drizzle-ormType-safe SQL with Drizzle ORM in TypeScript. Use when defining database schemas, writing queries, setting up relations, running migrations, working with PostgreSQL/MySQL/SQLite/Cloudflare D1/Durable Objects data layers, or integrating drizzle-orm/effect-postgres with @effect/sql-pg and Effect Layers./typescript-dynamodb-toolboxDynamoDB single-table design using dynamodb-toolbox v2. Use when creating entities, defining key patterns, designing GSIs, writing queries, implementing pagination, or working with any DynamoDB data layer in TypeScript projects./typescript-fastifyBuilding REST APIs with Fastify in TypeScript. Use when creating routes, handling requests, implementing validation with TypeBox, structuring applications, or working with HTTP handlers and plugins./typescript-functional-patternsSelective use of functional TypeScript patterns and domain-model responsibilities. Use when a task involves a state machine, discriminated union, Option/Result/Either/Effect API, branded or opaque type, typed domain decoding, or deciding which layer should own construction and transformation. Do not use to add a domain model when existing schemas and types already cover the requirement.