effect-best-practices

Enforce consistent Effect-TS patterns across TypeScript codebases.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/NeuveAI/perfagent-cli --skill effect-best-practices-neuveai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-best-practices
Source: https://github.com/NeuveAI/perfagent-cli/tree/main/.agents/skills/effect-best-practices
Command: npx skills add https://github.com/NeuveAI/perfagent-cli --skill effect-best-practices-neuveai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a structured, opinionated set of rules and patterns to standardize Effect-TS codebases, improving type safety, testability, and observability across services, errors, layers, and atoms.

Core Features & Use Cases

  • Enforces modern Effect-TS patterns via Effect.Service, Schema.TaggedError, and Layer composition to create consistent architectures.
  • Serves as a living guide for teams implementing robust, maintainable frontend and backend logic with effectful components and React integration.
  • Useful for onboarding new engineers and auditing code for adherence to best practices in complex Effect-TS projects.

Quick Start

Review code and align Service, Error, Layer, and Atom usage to match the guidelines outlined here.

Frequently Asked Questions about effect-best-practices

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

FAQPage Schema
How do I enforce consistent Effect-TS patterns across my codebase?

Effect-TS patterns are enforced by applying structured rules for Effect.Service, Schema.TaggedError, and Layer composition, standardizing architectures to improve type safety, testability, and observability across services and UI components.

What is the best way to structure Effect-TS services and errors?

The best way to structure Effect-TS services and errors is by utilizing Effect.Service for dependency management and Schema.TaggedError for typed errors, ensuring maintainability and robust observability in complex projects.

How does Effect-TS Layer composition work for backend services?

Effect-TS Layer composition works by combining modular layers to build backend service dependencies systematically, creating consistent architectures that allow teams to manage complex effectful components with better testability.

Can I use Effect-TS patterns with React integrations and atoms?

Yes, you can use Effect-TS patterns with React integrations and atoms; the guidelines apply across both backend services and UI components, ensuring consistent type safety and state management throughout the stack.

When do I need standardized Effect-TS patterns for onboarding engineers?

You need standardized Effect-TS patterns for onboarding engineers when working with complex projects utilizing services, errors, and layers, serving as a living reference to audit code and accelerate team alignment.