effect-best-practices

Enforce Effect-TS best practices for services, layers, and atoms.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/cill-i-am/task-tracker --skill effect-best-practices-cill-i-am
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-best-practices
Source: https://github.com/cill-i-am/task-tracker/tree/main/.agents/skills/effect-best-practices
Command: npx skills add https://github.com/cill-i-am/task-tracker --skill effect-best-practices-cill-i-am

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill codifies and enforces a cohesive set of best practices for Effect-TS-based codebases, reducing boilerplate, improving maintainability, and enabling consistent patterns across services, layers, and atoms.

Core Features & Use Cases

  • Standardized patterns for Service, Layer, and Atom definitions to ensure predictable wiring and testing.
  • Error patterns using Schema.TaggedError for serializable, discriminated errors with clear UI semantics.
  • Observability & tracing guidance via Effect.fn, Effect.log, and structured span annotations.
  • Real-world scenarios include building reliable services with dependencies, layered infrastructure, and reactive React states using Effect Atom.

Quick Start

Install a project scaffold that adopts Effect-TS best practices and apply the patterns described here to your services, layers, and error handling.

Frequently Asked Questions about effect-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure Effect-TS services and layers for scalable code?

To structure Effect-TS services for scalable code, apply standardized patterns for service, layer, and atom definitions. This approach ensures predictable wiring, reduces boilerplate, and improves maintainability across your project.

How does Effect-TS handle observability and tracing?

Effect-TS handles observability and tracing via Effect.fn, Effect.log, and structured span annotations. These tools provide real-time workflow insights and consistent logging patterns across your layered infrastructure.

What's the best way to manage dependencies in Effect-TS?

The best way to manage dependencies in Effect-TS is through layer composition patterns. By standardizing layer definitions, you ensure predictable wiring and testing for reliable services with dependencies.

Can I use Effect-TS patterns for reactive React states?

Yes, you can use Effect-TS patterns for reactive React states using Effect Atom. This integration allows you to build reliable services with layered infrastructure while managing reactive state predictably.

Do I need TypeScript to use Effect-TS best practices?

Yes, you need TypeScript to apply Effect-TS best practices. These patterns are designed for TypeScript projects using Effect-TS, guiding service definitions, error types, and layer composition in real-world workflows.