Skip to main content
skill CX Codex

effect-ts · pedronauck — skill for Claude Code: functional programming on TypeScript

Skill for working with Effect-TS, a functional programming library for TypeScript. Guides you through type-safe code with error handling, async operations, and resource management using Effect, Schema, Pattern Matching, and Context.Tag.

no license 264 installs ★ 655 updated 2026-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pedronauck/skills --skill effect-ts -a claude-code
Open on GitHub

What effect-ts does

The skill includes reference guides on Effect fundamentals (Effect.gen, pipe, Effect.fn), data modeling via Schema, error handling with Data.TaggedError, mandatory Pattern Matching for tagged unions, data types (Option, Either, Duration, DateTime, BigDecimal, Chunk, HashSet, Redacted), and the Context.Tag service pattern. Contains testing rules with @effect/vitest and a list of forbidden patterns (try-catch inside Effect.gen, type assertions, switch on _tag instead of Match).

References include concrete code examples for each topic: building Effects, working with streams (Stream, Sink, batching, caching), concurrency and finalizers, logging and tracing via HttpApi, test isolation. The skill assumes you already know TypeScript and async; it applies Effect to your project rather than teaching the library from scratch.

What it helps with

  • Write type-safe async code without try-catch and undefined
  • Model and validate data using Schema
  • Handle errors while preserving type information across operations
  • Branch on tagged unions without losing exhaustiveness checking
  • Manage services and dependencies through Context.Tag and Layer

Example prompts for the agent

  • Write a function to fetch a user with error types via Effect, using the Context.Tag pattern
  • Show how to apply Schema.transform and Schema.filter for JSON validation in a request handler
  • Help refactor existing code from try-catch to Effect.gen with proper error handling

How to install effect-ts

1Skills CLI (Vercel)

npx skills add pedronauck/skills --skill effect-ts -a claude-code

2Manually: put the files in place

~/.claude/skills/effect-ts/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/effect-ts/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about effect-ts

How do I install effect-ts in Claude Code?

Run npx skills add pedronauck/skills --skill effect-ts -a claude-code, then open ~/.claude/skills/effect-ts/SKILL.md for skill reference.

What does the effect-ts skill do?

The skill provides reference guides and patterns for writing Effect-TS code: type-safe Effects instead of promises and try-catch, Schema for data modeling, mandatory Pattern Matching for union types, and Context.Tag for service management.

Do I need to know Effect before using this skill?

The skill assumes familiarity with TypeScript and async patterns; it does not teach Effect from the start but applies it to your code through examples and forbidden patterns to avoid.

Similar skills

All skills for Backend and APIs →

effect-ts by other authors comes first.

effect-ts Effect-TS effect-ts is a Claude Code skill for setting up a repository that uses the Effect TypeScript library. It activates during project setup. CX Codex +1 8,700installs effect-ts PaulRBerg effect-ts — a skill for nontrivial Effect 4 work: services, layers, typed errors, Schema, Config and runtime. Keeps the agent from mixing up v3 and v4 APIs. CX Codex +1 3,100installs effect-ts joelhooks effect-ts gives the agent ground rules for Effect v4 code: services, layers, schemas and errors. Useful once a project already depends on effect. CX Codex +1 1,100installs effect-ts pproenca A skill providing patterns and reference guides for Effect-TS: typed error channels, Effect.gen flows, Layers, and fiber concurrency. CX Codex +1 263installs effect-best-practices Makisuo effect-best-practices — a skill that makes the agent follow Effect-TS conventions for services, errors, layers and atoms. Useful when the codebase already runs on Effect. CX Codex +1 844installs design rainmanjam design — a skill for shaping a new interface together with its failure paths: the accepted range of every parameter, the checks, and what callers get when something breaks. CX Codex +1 ★ 26repo stars ax-add-ingest-stage Necmttn ax-add-ingest-stage guides the addition of SurrealDB tables and pipeline ingest stages in the ax repository. Keeps changes aligned with strict CI verification gates. CX Codex +1 ★ 124repo stars effect kitlangton A guide for building TypeScript applications with Effect v4, covering services, schemas, configuration, HTTP clients, streams, and tests. CX Codex +1 2,900installs functional citypaul This skill guides agents toward immutable data and practical functional patterns. Use it when changing application logic, reshaping collections, or working with Effect in an existing Effect project. CX Codex +1 1installs 0-error-handling ai-driven-dev The 0-error-handling rule gives TypeScript failures one path: a typed exception moves outward and is handled at the command boundary. CX Codex +1 ★ 571repo stars

From the same set52

The whole set →
bubbletea Guides coding agents in building Go terminal interfaces with Bubble Tea and Lip Gloss under the Elm architecture. CX Codex +1 276installs testing-boss testing-boss guides test writing and LLM eval design: helps pick the right test layer, trim fragile mocks, and diagnose flaky CI suites without adding dummy production code. CX Codex +1 274installs alex-hormozi-pitch The alex-hormozi-pitch skill shapes offers and sales pitches with Alex Hormozi’s method. Use it when you need to work through value, pricing, guarantees, or objections. CX Codex +1 268installs deslop deslop cleans generated code noise and accidental complexity from active diffs before final verification. CX Codex +1 267installs centrifugo Skill for working with Centrifugo, a self-hosted real-time messaging server supporting WebSocket, SSE, and GRPC. Sets up channels, JWT authentication, backend publishing, and client subscriptions to live updates. CX Codex +1 263installs agent-exploration agent-exploration — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode that splits a broad research question into independent slices and dispatches each to a separate explorer. CX Codex +1 259installs deep-review deep-review is a Claude Code skill that examines branch changes, working trees, or pull requests. It looks for defects and improvements, and can check code against project rules or a specification. CX Codex +1 258installs promo-video Generates polished product promo videos with Remotion, ElevenLabs voiceovers, and background music directly from repository context. CX Codex +1 257installs

Project sponsors

Companies that keep this analytics open