effect-patterns-project-setup--execution

Set up Effect-TS projects and execute effects with runSync and runPromise.

1|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/tomsiwik/dojocho --skill effect-patterns-project-setup-execution-tomsiwik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-patterns-project-setup--execution
Source: https://github.com/tomsiwik/dojocho/tree/main/dojos/effect-ts/skills/effect-patterns-project-setup--execution
Command: npx skills add https://github.com/tomsiwik/dojocho --skill effect-patterns-project-setup-execution-tomsiwik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of setting up and executing Effect-TS applications by providing best practices and reusable patterns for project initialization and asynchronous operation management.

Core Features & Use Cases

  • Project Setup: Guides users through the essential steps for creating a new Effect-TS project with TypeScript and strict type-checking.
  • Effect Execution: Demonstrates the correct methods for running both synchronous (Effect.runSync) and asynchronous (Effect.runPromise) Effect programs.
  • Runtime Management: Shows how to create reusable Runtimes from Effect Layers for long-running applications, optimizing performance.
  • Use Case: When starting a new Effect-TS microservice, use this Skill to ensure a robust project structure and understand how to properly execute your application's effects.

Quick Start

Set up a new Effect-TS project by initializing npm, installing dependencies, configuring TypeScript with strict mode, and running a basic Effect program.

Frequently Asked Questions about effect-patterns-project-setup--execution

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

FAQPage Schema
How do I set up a new Effect-TS project with TypeScript?

Setting up an Effect-TS project involves initializing npm, installing dependencies, and configuring TypeScript with strict mode to ensure robust type-checking for your asynchronous programs.

What is the best way to run synchronous and asynchronous Effect-TS programs?

Running Effect-TS programs uses Effect.runSync for synchronous execution and Effect.runPromise for asynchronous operations, providing correct lifecycle management for your effects.

How does creating reusable Runtimes from Layers work in Effect-TS?

Creating reusable Runtimes from Layers in Effect-TS optimizes long-running applications by pre-configuring dependencies, allowing efficient application architecture without rebuilding context.

Do I need strict type-checking for Effect-TS project initialization?

Yes, strict type-checking is recommended for Effect-TS project initialization. Configuring TypeScript with strict mode ensures a robust project structure and safer asynchronous operation management.

When should I use Effect.runPromise instead of Effect.runSync?

Use Effect.runPromise instead of Effect.runSync when executing asynchronous Effect-TS programs, particularly for microservices requiring non-blocking operations and efficient effect lifecycle management.