Effect CLI

Develop type-safe command-line interfaces with Effect-TS argument parsing and dependency injection.

68|13|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/kriegcloud/beep-effect --skill effect-cli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Effect CLI
Source: https://github.com/kriegcloud/beep-effect/tree/main/.claude/skills/cli
Command: npx skills add https://github.com/kriegcloud/beep-effect --skill effect-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation of robust, type-safe command-line applications by providing tools for argument parsing, validation, and dependency injection.

Core Features & Use Cases

  • Type-Safe Arguments & Flags: Define commands with strongly typed positional arguments and named flags.
  • Automatic Help Generation: Generates --help and --version output automatically.
  • Dependency Injection: Integrate seamlessly with Effect's powerful effect system for managing services and state.
  • Use Case: Develop a CLI tool to manage cloud deployments, where arguments specify the environment and flags control deployment options like dry-run or verbose logging.

Quick Start

Use the effect cli skill to create a command named 'greet' that takes a 'name' argument and a 'times' flag, then prints 'Hello {name}!' repeated {times}.

Frequently Asked Questions about Effect CLI

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

FAQPage Schema
How do I build a type-safe command-line interface in TypeScript?▼

You can build a type-safe command-line interface in TypeScript by leveraging the Effect-TS library's unstable CLI module for argument parsing, flag definition, validation, and dependency injection.

Can I use Effect for dependency injection in CLI apps?▼

Yes, you can use Effect for dependency injection in CLI apps by integrating seamlessly with Effect's effect system to manage services and state via Effect layers.

How do I parse positional arguments and named flags in Effect?▼

To parse positional arguments and named flags in Effect, define commands with strongly typed arguments and flags using the Effect-TS CLI module for validation and processing.

Does the Effect CLI module support subcommands and automatic help generation?▼

Yes, the Effect CLI module supports subcommands and automatic help generation, automatically producing `--help` and `--version` output for your command-line tools.

What's the best way to structure a complex CLI tool with Effect?▼

The best way to structure a complex CLI tool with Effect is by combining strongly typed arguments, named flags, subcommands, and service provision via Effect layers for robust state management.