effect-patterns-platform-getting-started

Implement cross-platform system operations with Effect-TS Platform across Node.js and Bun.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/scotttrinh/nook --skill effect-patterns-platform-getting-started-scotttrinh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-patterns-platform-getting-started
Source: https://github.com/scotttrinh/nook/tree/main/.agents/skills/effect-patterns-platform-getting-started
Command: npx skills add https://github.com/scotttrinh/nook --skill effect-patterns-platform-getting-started-scotttrinh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides ready-to-use patterns for common platform operations in Effect-TS, helping developers adopt Platform-based approaches to perform cross-platform system tasks safely and efficiently.

Core Features & Use Cases

  • Cross-platform filesystem operations with Effect Platform across Node.js and Bun environments.
  • Environment configuration and safe access using Config and Effect helpers.
  • Initialization and platform integration patterns for real-world applications.

Quick Start

Use this skill to implement a simple cross-platform file read and environment variable access using the Effect Platform library and NodeContext/NodeRuntime.

Frequently Asked Questions about effect-patterns-platform-getting-started

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

FAQPage Schema
How do I read files safely across Node.js and Bun using Effect-TS?

Effect-TS Platform provides cross-platform filesystem patterns that abstract runtime differences, allowing you to safely read and write files across Node.js and Bun using NodeContext and NodeRuntime integration.

What is the best way to manage environment variables and configuration in Effect?

Use the Effect Platform Config helpers to safely access environment variables and configuration. These patterns provide a typed, safe way to manage environment variables and platform settings during application initialization.

Do I need specific packages to use Effect Platform for cross-platform system operations?

Yes, you need the core Effect library, the @effect/platform packages, and platform runtimes such as NodeContext and NodeRuntime to execute these cross-platform system operation patterns correctly.

How does Effect Platform handle initialization for real-world applications?

Effect Platform provides initialization patterns that safely configure platform-specific contexts and dependencies using NodeRuntime. This ensures real-world applications start correctly and integrate with their target runtime environments.

Can I use Effect Platform patterns for both Node.js and Bun runtimes?

Yes, Effect Platform patterns support cross-platform compatibility for both Node.js and Bun runtimes. You can execute filesystem operations and environment configuration safely across both environments without changing your core logic.