agentleFS
PaulRBergPaulRBerg/agent-skills/skills/effect-ts/SKILL.md

effect-ts

Skill96 starsChanged 2 months agoMITView on GitHub

Apply Effect 3 semantics from project-local architecture, the narrowest relevant reference, and source matching the target's installed packages. Do not activate this workflow merely because a file imports effect. For nontrivial Effect work: 1. Resolve the target package or workspace and its exact installed effect and relevant @effect/* versions. If effect is not 3.x, stop because this skill does not apply. 2. Inspect neighboring services, layers, errors, schemas, runtime boundaries, and tests. Local conventions decide organization; installed package evidence decides…

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tanstack.

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.
  • barisariburnuSkill

    tanstack

    Expert assistance for TanStack Router, Query (v5), and Table (v8). Use when users need help with file-based routing, type-safe navigation, data loading, search params, queries, mutations, optimistic updates, infinite queries, table state management, or debugging TanStack libraries.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not activate this workflow merely because a file imports effect.

    line 18
  2. Very specific:

    Read references/critical-rules.md, then only the task-specific references below.

    line 24
  3. Distinctive:

    Verify every uncertain import, signature, or behavior against the package installation visible to the target workspace before editing.

    line 25
  4. Distinctive:

    Use the target workspace's manifest and lockfile to identify versions.

    line 32
  5. Distinctive:

    Do not install or update dependencies solely to obtain documentation.

    line 38
  6. Distinctive:

    Keep pure helpers, constants, and path manipulation pure unless an Effect boundary provides a concrete dependency, testability, …

    line 64
  7. Distinctive:

    Prefer typed failures and scoped resources at IO boundaries.

    line 67
  8. Distinctive:

    Do not broaden environment requirements merely to replace a small platform call.

    line 69

“Common” is measured: kept by at least 6 in 10 of the 9 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Effect 3

Apply Effect 3 semantics from project-local architecture, the narrowest relevant reference, and source matching the target's installed packages.

Workflow

Do not activate this workflow merely because a file imports effect. For nontrivial Effect work:

  1. Resolve the target package or workspace and its exact installed effect and relevant @effect/* versions. If effect is not 3.x, stop because this skill does not apply.
  2. Inspect neighboring services, layers, errors, schemas, runtime boundaries, and tests. Local conventions decide organization; installed package evidence decides API facts.
  3. Read references/critical-rules.md, then only the task-specific references below.
  4. Verify every uncertain import, signature, or behavior against the package installation visible to the target workspace before editing.
  5. Implement the smallest pattern consistent with the project and run the narrowest test or typecheck covering the changed semantics.

Evidence Order

Use the target workspace's manifest and lockfile to identify versions. Prefer, in order:

  1. the installed package's src/, README, tests, and changelog;
  2. its emitted declarations when source is not shipped;
  3. the matching official package artifact or source tag.

Do not install or update dependencies solely to obtain documentation. Do not trust an unrelated checkout or a source branch that does not match the target's installed version. If exact behavior cannot be verified, stop rather than guessing.

Reference Router

TaskReference
Services, Layers, tags, Effect.fnreferences/services-layers.md
Config providers and secretsreferences/config.md
Schema, JSON Schema, encoded errors/modelsreferences/schema-jsonschema.md
@effect/vitest, clocks, fibers, retriesreferences/testing.md
resources, scheduling, refs, concurrencyreferences/runtime.md
streams and backpressurereferences/streams.md
pattern matching and tagged unionsreferences/pattern-matching.md
@effect/aireferences/ai.md
@effect/sqlreferences/sql.md
Next.js / @prb/effect-nextreferences/next-js.md
Effect Atomreferences/effect-atom.md
Option at nullable boundariesreferences/option-null.md

For platform/RPC APIs, collection utilities, deprecations, or constructor lookup, inspect the installed package source directly instead of loading a local API inventory.

Boundaries

  • Keep pure helpers, constants, and path manipulation pure unless an Effect boundary provides a concrete dependency, testability, resource-safety, or error-model benefit.
  • Preserve existing domain facades and service/runtime boundaries unless the user requested redesign.
  • Prefer typed failures and scoped resources at IO boundaries; choose Schema-backed errors/models only when encoding or boundary validation is needed.
  • Do not broaden environment requirements merely to replace a small platform call.

For changes, completion requires code consistent with local Effect architecture, selected references and installed source where needed, and the narrowest test/typecheck that exercises the changed semantics. Read-only work requires evidence for the reported conclusion. Finish with ### ⚡ Effect — ✅ change complete after verified edits or ### ⚡ Effect — 🔎 reviewed, no files written for read-only work, one sentence naming the boundary or pattern used, and ### 🧪 Verification with exact scoped commands/results. If required validation is incomplete, use ### ⚡ Effect — ⛔ blocked instead. Add ### ⚠️ Limitation only for non-blocking caveats. Never decorate typed errors, Schema messages, logs, tests, generated JSON/API responses, or command output.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.