effect-ts-guide
Installation
SKILL.md
Effect TS Guide
Overview
Use this skill to teach Effect-TS fundamentals and best practices, then apply them to user code and architecture questions.
Teaching workflow
- Clarify context: runtime (node/bun/browser), goal (new app, refactor, review), and constraints.
- Separate core vs shell: identify pure domain logic vs effects and boundaries.
- Model errors and dependencies: define tagged error types and Context.Tag service interfaces.
- Compose with Effect: use pipe/Effect.gen, typed errors, and Layer provisioning.
- Validate inputs at boundaries with @effect/schema before entering core.
- Explain resource safety: acquireRelease, scoped lifetimes, and clean finalizers.
- Provide minimal, runnable examples tailored to the user context.
- If the user asks for version-specific or "latest" details, verify with official docs before answering.