What problem does it solve?
This Skill helps you avoid fragile, loosely-typed command-line parsing by giving you a structured way to define arguments, flags, subcommands, and handlers with strong types and dependency injection.
Core Features & Use Cases
- Typed argument and flag definitions: Build positional arguments and named options with constraints, defaults, transforms, validation, and file/path support.
- Composable command structure: Create commands, nest subcommands, group them, and share parent flags across subcommands.
- Effect-based handlers with DI: Implement handlers as Effect programs and provide required runtime/platform services (like NodeServices) for execution.
Example use case: create a CLI tool that parses a typed environment, validates a config file against a Schema, supports a dry-run flag, and runs on the Node runtime with the correct platform services.
Quick Start
Tell the agent to “Create an Effect-TS CLI command named deploy that accepts --env (dev|staging|prod), a --dry-run boolean, and deploys by printing what it would do when dry-run is enabled, using Effect CLI Argument/Flag and Command.run with NodeServices and NodeRuntime.”