effect-config
CommunityLoad validated typed config without process.env.
Software Engineering#testability#environment variables#schema validation#dotenv#effect#typed configuration#config provider
Authormpsuesser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents brittle, unsafe configuration code by decoding and validating environment and file-based settings into strongly typed values.
Core Features & Use Cases
- Typed configuration primitives: Decode strings into numbers, booleans, URLs, dates, durations, log levels, and redacted secrets with validation.
- Schema-driven structured configs: Build nested, composable configuration shapes using Config.schema with Schema.Struct for predictable validation.
- ConfigProvider source flexibility: Load config from environment variables, plain objects, .env contents/files, directory trees, or fully custom sources with provider composition and testing-friendly parsing.
Quick Start
Use the effect-config skill to define a Config.schema for your app settings and parse it from a test provider built from in-memory values instead of reading process.env directly.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: effect-config Download link: https://github.com/mpsuesser/pi-effect-harness/archive/main.zip#effect-config Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.