/testing-quality:effectfrom testing-quality
Opinionated guide for building production TypeScript applications with Effect v4. Covers workflows, services, layers, schemas, configuration, scheduling, caching, streams, HTTP clients, and testing.
Ships in testing-quality. 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.
Use current Effect v4 APIs and the production defaults in this skill. Established project conventions still take precedence unless the task is explicitly changing them.
Check these before guessing:
AGENTS.md and any project-local Effect practices doceffect package source and versionRead only the branch references that match the task.
references/SCHEMA.md.Effect.fn, or test services: read references/SERVICES_LAYERS.md.ConfigProvider, or layerConfig: read references/CONFIG.md.references/SCHEDULING.md.references/CACHING.md.references/STREAMS.md.references/HTTP_CLIENTS.md.references/TESTING.md.If a task spans several branches, read all matching files before editing.
Effect.gen(function* () { ... }).Effect.fn("Domain.operation").Effect.fnUntraced only for internal helpers where stack-frame/span metadata is intentionally unnecessary.Context.Service for application services when the codebase has not standardized on another current service-tag style.Layer.effect(Service, Effect.gen(...)) and return Service.of({ ... }).Schema.Struct(...) plus a same-name interface.Schema.TaggedErrorClass.Config, not direct process.env access in application logic.Schedule for retry, repeat, polling, pacing, and backoff policies.Stream for effectful sources that emit many values over time and need pull, backpressure, interruption, or transformation.schema.makeEffect(...) at untrusted boundaries; reserve throwing schema.make(...) for trusted construction, and never use casts to skip validation.Schema.Struct(...) plus same-name interface.Data.TaggedEnum<...> plus Data.taggedEnum<...>() constructors and exhaustive $match.Schema.TaggedStruct(...) plus same-name interface.Schema.TaggedUnion(...) with .cases, .guards, and .match.type: Schema.Struct({ type: Schema.tag("variant"), ... }) plus Schema.toTaggedUnion("type") when union helpers are needed.Schema.TaggedErrorClass.Schema.decodeUnknownEffect(...).Context.Service<Service, Interface>()(...) plus Layer.effect(...) plus Service.of(...).Effect.fn("Domain.operation").Config recipes read in layers; override with ConfigProvider in tests.Stream consumed with Stream.runForEach(...) and forked with Effect.forkScoped in the owning layer.Queue for the producer boundary, Stream.fromQueue(...) for consumers.PubSub / Stream.fromPubSub(...) or SubscriptionRef for latest-value state.runPass().pipe(Effect.repeat(Schedule.spaced(...))), with typed pass failures handled before repeat.Effect.retry(...) / Effect.retryOrElse(...) with a bounded Schedule.Cache.make(...) / exit-aware Cache.makeWith(...) when their lifecycle and eviction model fit.Effect.cached(...) / Effect.cachedWithTTL(...).Effect.request(...) + RequestResolver.HttpClient plus request/response schema decoding.HttpClient.retryTransient(...).TestClock, not real sleeping.Deferred, Queue, Latch, Ref, or explicit test hooks.as any, non-null assertions, or unchecked casts to silence Effect typing problems.Schema.Class or Schema.TaggedClass as default app data-modeling patterns._tag error classes when Schema.TaggedErrorClass fits.Layer.mergeAll(...) or provideMerge(...) as blind make-it-compile tools.Context.Reference defaults.Effect.sleep(...) to tests when a deterministic synchronization primitive is available.effect/Cache fits.references/CACHING.md (opens in a new tab)references/CONFIG.md (opens in a new tab)references/HTTP_CLIENTS.md (opens in a new tab)references/SCHEDULING.md (opens in a new tab)references/SCHEMA.md (opens in a new tab)references/SERVICES_LAYERS.md (opens in a new tab)references/STREAMS.md (opens in a new tab)references/TESTING.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/actTest GitHub Actions locally using act. Use when debugging workflows locally, testing workflow changes before pushing, or troubleshooting action failures./ads-server-side-trackingAudit server-side paid-media measurement including server-side tag management, platform conversion APIs, event taxonomy, browser/server deduplication, consent, hashing, data quality, observability, and privacy. Use for server-side tracking, sGTM, server-side tagging, CAPI, Events API, event_id, pixel debugging, first-party measurement, or conversion data loss./ads-testDesign and evaluate paid-ad experiments with hypotheses, randomization units, sample-size and duration assumptions, guardrails, platform experiment tools, analysis, and decision rules. Use for A/B test, split test, experiment design, hypothesis, statistical significance, sample size, test duration, or experiment readout./ads-validateValidate Claude Ads contracts, scoring inputs, run bundles, capabilities, source freshness, safety, installation, uninstall, or release readiness. Use for ads validate, ads status, ads next, stale claims with missing tool access, maturity checks, ownership-manifest uninstall, preserving unrelated ads-* skills, checksum verification, preflight, QA, or release audits. Missing access must demote stale evidence for the run and block dependent release-current claims before recovery guidance./agentic-kaggle-skillKaggle-first end-to-end competition workflow for scored submissions. Use when Codex must run Kaggle or competitive ML workflows through scored submission, including code competitions, validation, metrics, policy-safe public notebook/discussion intel, tabular/text/image modeling, tuning, ensembling/stacking, proactive multi-notebook architectures, producer notebooks that train models and export private Kaggle artifact datasets, downstream consumer notebooks, Kaggle GPU offload, kagglehub access, hidden-test debugging, and public score retrieval./b0Delegate tasks to AI agents via Box0. Use when the user asks to
review code, check security, run tests, compare tools, get multiple
perspectives, research a topic, analyze data, write docs, or any
task that could benefit from specialized or parallel execution.
Also use when the user mentions agent names or says "ask", "delegate",
"get opinions from", or "have someone".
npx claudepluginhub skillmds/skillmd --plugin testing-qualityOther plugins' skills for the same job