Skip to content

a5c-ai/babysitter / library/specializations/cli-mcp-development/skills/mutually-exclusive-group-handler

mutually-exclusive-group-handler

Verified

Generate logic for handling mutually exclusive argument groups with clear error messages and validation in CLI applications.

FileKindSize
README.mdmarkdown1.0 KB
SKILL.mdskill md5.1 KB
# Mutually Exclusive Group Handler Skill

Generate logic for handling mutually exclusive argument groups with validation and clear error messages.

## Overview

This skill generates validation logic for mutually exclusive CLI argument groups, handling conflicts and dependencies between options.

## When to Use

- Implementing mutually exclusive options
- Creating dependent argument chains
- Validating argument relationships
- Generating clear conflict messages

## Quick Start

```json
{
  "language": "typescript",
  "groups": [
    {
      "name": "output-format",
      "type": "mutually_exclusive",
      "required": true,
      "options": ["--json", "--yaml", "--table"]
    }
  ]
}
```

## Features

- Mutual exclusivity validation
- Required group support
- Dependent arguments
- Custom error messages

## Integration with Processes

| Process | Integration |
|---------|-------------|
| argument-parser-setup | Group validation |
| error-handling-user-feedback | Conflict messages |
| cli-command-structure-design | Option relationships |
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall