All skills
paulrberg avatar

/effect-ts

@5a97bbf
by Paul Bergpaulrberg/agent-skills94 stars
7

Use for nontrivial Effect 3 work including services/layers, typed errors, Schema/JSONSchema, Config, runtime/concurrency, @effect/vitest, @effect/ai, @effect/sql, Effect Atom, or @prb/effect-next.

Use this Skill: https://skilld.dev/gh/paulrberg/agent-skills/effect-ts

This session only. Nothing lands on disk.

referencesai.md

≈341 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Effect AI

Use installed @effect/ai and provider package source for exact model, request, and response configuration. Keep tool contracts Schema-driven so parameters and structured output are validated at runtime.

Tool Parameters

Omit parameters for a no-argument tool or use Tool.EmptyParams when the closed empty-object contract must be explicit. Tool.EmptyParams is a record whose values are Schema.Never; do not replace it with a loose record.

Use Tool.Parameters<T>, Tool.ParametersEncoded<T>, and Tool.ParametersSchema<T> rather than reconstructing a tool's types manually. Use setParameters when deriving a tool with another parameter schema.

OpenAI Structured Output

The OpenAI language-model configuration supports strict?: boolean and enables strict schema handling by default. Set strict: false only when the selected model or a required schema construct cannot satisfy strict structured-output requirements. The provider consumes this option while preparing tools; do not forward it as an unrelated top-level request field.

Prompt-cache retention accepts "in_memory" or "24h"; spell the in-memory value with an underscore. Before adding a provider workaround for request or response behavior, inspect the installed provider source and changelog so application code does not duplicate a fixed package concern.

Source: SKILL.md on GitHub

No alerts7d5 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    The skill provides comprehensive guidelines and best practices for developing with the Effect 3 library ecosystem. It focuses on correct usage of functional programming patterns, error handling, configuration management, and testing, while promoting security-aware practices like secret redaction and runtime schema validation.

  • Socket7d

    No alerts

  • Snyk7d

    Risk: LOW · No issues

  • Runlayer6mo

    7 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5a97bbf. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
Other metadata
compatibility
Requires a project using current stable Effect 3 packages; verify exact APIs against the target's installed package source.

README badge

README badge for paulrberg/agent-skills/effect-ts