cli-effect-testing

Community

Test Bun CLI apps with Effect layers

Authormeteoricprovider
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers write and review tests for Bun CLI projects that use Effect for dependency injection, preventing brittle mocks and enabling test reliability through layered DI.

Core Features & Use Cases

  • Enables testing of Bun CLI components by composing Effect layers instead of mocking modules.
  • Guides use of shared test helpers (createTestCliUI, createTestFileSystem, createTestHttpClient) to simulate UI, FS, and HTTP interactions.
  • Supports reviewing and maintaining tests for projects using bun:test as the runner, with clear patterns for test structure and DI.

Quick Start

Run bun test to execute the test suite for the Bun CLI project using Effect layers.

Dependency Matrix

Required Modules

None required

Components

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: cli-effect-testing
Download link: https://github.com/meteoricprovider/cursor-installer/archive/main.zip#cli-effect-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.